[sudo-commits] sudo changeset 8025:ece552ba002e

Todd C. Miller Todd.Miller at courtesan.com
Mon Apr 23 16:54:07 EDT 2012


changeset:	8025:ece552ba002e in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/ece552ba002e
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Mon Apr 23 16:38:16 2012 -0400

Log Message:
	Call the policy's init_session() function before we fork the child.
	That way, the session is created and destroyed in the same process,
	which is needed by some modules, such as  pam_mount.

diffstat:

 doc/sudo_plugin.cat        |  13 +++++++------
 doc/sudo_plugin.man.in     |  13 +++++++------
 doc/sudo_plugin.pod        |  11 ++++++-----
 plugins/sudoers/auth/pam.c |   1 +
 src/exec.c                 |   7 +++++++
 src/exec_pty.c             |   7 +++++++
 src/sudo.c                 |  22 +++++++---------------
 src/sudo.h                 |   1 +
 8 files changed, 43 insertions(+), 32 deletions(-)



More information about the sudo-commits mailing list