.
OBS-URL: https://build.opensuse.org/package/show/Linux-PAM/pam_dbus?expand=0&rev=13
This commit is contained in:
parent
debaee35a6
commit
0de8192794
@ -40,8 +40,8 @@
|
||||
return login_ok ? PAM_SUCCESS : PAM_AUTH_ERR;
|
||||
}
|
||||
+
|
||||
+PAM_EXTERN int pam_sm_setcred(pam_handle_t *pamh, int flags, int argc __unused, const
|
||||
+ char **argv __unused) {
|
||||
+PAM_EXTERN int pam_sm_setcred(pam_handle_t *pamh, int flags, int argc __attribute__((unused)), const
|
||||
+ char **argv __attribute__((unused))) {
|
||||
+ int rc = ((flags & PAM_ESTABLISH_CRED) ? PAM_SUCCESS :
|
||||
+ (flags & PAM_REINITIALIZE_CRED) ? PAM_SUCCESS :
|
||||
+ (flags & PAM_REFRESH_CRED) ? PAM_SUCCESS :
|
||||
|
Loading…
Reference in New Issue
Block a user