]> granicus.if.org Git - linux-pam/commit
Relevant BUGIDs:
authorTomas Mraz <tm@t8m.info>
Fri, 4 Jan 2008 14:41:06 +0000 (14:41 +0000)
committerTomas Mraz <tm@t8m.info>
Fri, 4 Jan 2008 14:41:06 +0000 (14:41 +0000)
commitc6912ac61ece224b03cf81499cf6d76add564c8a
tree1a740dc1b8e403221872bd27b76f7636b1888ef7
parentbc86f86c3d25baf901ab1e4ded71a2e6f9c2a39a
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().
modules/pam_unix/pam_unix_acct.c
modules/pam_unix/pam_unix_passwd.c
modules/pam_unix/support.c
modules/pam_unix/support.h
modules/pam_unix/unix_chkpwd.c