[sudo-commits] sudo changeset 7744:be1222842fc1

Todd C. Miller Todd.Miller at courtesan.com
Mon Feb 6 13:37:36 EST 2012


changeset:	7744:be1222842fc1 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/be1222842fc1
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Mon Feb 06 13:37:11 2012 -0500

Log Message:
	For PERM_ROOT when using setreuid(), only set the euid to 0 prior
	to the call to setuid(0) if the current euid is non-zero.  This
	effectively restores the state of things prior to rev 7bfeb629fccb.
	Fixes a problem on AIX where LDR_PRELOAD was not being honored for
	the command being executed.

diffstat:

 plugins/sudoers/set_perms.c |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)



More information about the sudo-commits mailing list