[sudo-commits] sudo changeset 7891:3f5277b359d8

Todd C. Miller Todd.Miller at courtesan.com
Thu Mar 15 09:20:41 EDT 2012


changeset:	7891:3f5277b359d8 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/3f5277b359d8
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Thu Mar 15 09:18:36 2012 -0400

Log Message:
	Pass a pointer to user_env in to the init_session policy plugin
	function so session setup can modify the user environment as needed.
	For PAM authentication, merge the PAM environment with the user
	environment at init_session time.  We no longer need to swap in the
	user_env for environ during session init, nor do we need to disable
	the env hooks at init_session time.

diffstat:

 doc/sudo_plugin.pod              |  29 +++++++++++++++++------------
 include/sudo_plugin.h            |   2 +-
 plugins/sudoers/auth/pam.c       |  22 +++++++++++++++++++++-
 plugins/sudoers/auth/sudo_auth.c |   4 ++--
 plugins/sudoers/auth/sudo_auth.h |   4 ++--
 plugins/sudoers/env.c            |  24 +++++++++++++++++++++++-
 plugins/sudoers/sudoers.c        |  18 ++++++++++++------
 plugins/sudoers/sudoers.h        |   7 ++++---
 src/hooks.c                      |  26 --------------------------
 src/sudo.c                       |  39 +++++++++++++++++++--------------------
 src/sudo.h                       |   1 -
 11 files changed, 101 insertions(+), 75 deletions(-)



More information about the sudo-commits mailing list