[sudo-commits] sudo changeset 5395:d71723320ee8
Todd C. Miller
Todd.Miller at courtesan.com
Thu May 27 14:46:46 EDT 2010
changeset: 5395:d71723320ee8 in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/d71723320ee8
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Thu May 27 14:46:39 2010 -0400
Log Message:
Add init_session function to struct policy_plugin that gets called
before the uid/gid/etc changes. A struct passwd pointer is passed in,which may be NULL if the user does not exist in the passwd database.The sudoers module uses init_session to open the pam session as needed.
diffstat:
include/sudo_plugin.h | 2 ++
plugins/sudoers/auth/pam.c | 37 +++++++++++++++++++++++++------------
plugins/sudoers/auth/sudo_auth.c | 4 ++--
plugins/sudoers/sudoers.c | 27 ++++++++++++++++-----------
plugins/sudoers/sudoers.h | 4 ++--
src/script.c | 2 +-
src/sudo.c | 31 +++++++++++++++++++++----------
7 files changed, 69 insertions(+), 38 deletions(-)
More information about the sudo-commits
mailing list