Blame SOURCES/libcap-PAM_REINITIALIZE_CRED.patch

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