Blame SOURCES/libcap-PAM_REINITIALIZE_CRED.patch

2f7d51
diff -urN libcap-2.25/pam_cap/pam_cap.c libcap-2.25_patched/pam_cap/pam_cap.c
2f7d51
--- libcap-2.25/pam_cap/pam_cap.c	2013-12-16 05:46:28.000000000 +0100
2f7d51
+++ libcap-2.25_patched/pam_cap/pam_cap.c	2019-03-04 16:18:23.440525062 +0100
2f7d51
@@ -286,7 +286,7 @@
2f7d51
     int retval;
2f7d51
     struct pam_cap_s pcs;
2f7d51
 
2f7d51
-    if (!(flags & PAM_ESTABLISH_CRED)) {
2f7d51
+    if (!(flags & (PAM_ESTABLISH_CRED | PAM_REINITIALIZE_CRED))) {
2f7d51
 	D(("we don't handle much in the way of credentials"));
2f7d51
 	return PAM_IGNORE;
2f7d51
     }