]> granicus.if.org Git - sudo/commit
In sudo_pam_begin_session() and sudo_pam_end_session() return
authorTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 11 Aug 2015 02:17:02 +0000 (20:17 -0600)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Tue, 11 Aug 2015 02:17:02 +0000 (20:17 -0600)
commit2b6085760cab794cbfd480ca9d81c04865d46a4d
tree7b8e93d36c0b5c323dbec4c7910e7b04363f72f2
parent13869d349caa670d600883cb440832abd237b993
In sudo_pam_begin_session() and sudo_pam_end_session() return
AUTH_FATAL on error, not AUTH_FAILURE.  In sudo_auth_begin_session()
treat anything other than AUTH_SUCCESS as a fatal error.
plugins/sudoers/auth/pam.c
plugins/sudoers/auth/sudo_auth.c