]>
granicus.if.org Git - linux-pam/commit
Relevant BUGIDs:
Purpose of commit: refactorization
Commit summary:
---------------
* modules/pam_unix/pam_unix_acct.c (_unix_run_verify_binary): Return
status and daysleft instead of fake shadow entry.
(pam_sm_acct_mgmt): Call _unix_run_verify_binary() appropriately.
* modules/pam_unix/pam_unix_passwd.c (_unix_verify_shadow): Call
get_account_info() and check_shadow_expiry().
* modules/pam_unix/support.h: Adjust _unix_run_verify_binary()
prototype.
* modules/pam_unix/support.c (_unix_run_helper_binary): Remove check
on selinux enabled/disabled.
* modules/pam_unix/unix_chkpwd.c (_verify_account): Rename to
_check_expiry(), now checks shadow expiry info.
(main): Remove check on selinux enabled/disabled. Check shadow
expiry through _check_expiry().