[sudo-commits] sudo changeset 7683:782d6909108b

Todd C. Miller Todd.Miller at courtesan.com
Thu Jan 19 11:07:37 EST 2012


changeset:	7683:782d6909108b in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/782d6909108b
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Thu Jan 19 11:03:22 2012 -0500

Log Message:
	For "sudo -g" prepend the specified group ID to the beginning of
	the groups list.  This matches BSD convention where the effective
	gid is the first entry in the group list.  This is required on newer
	FreeBSD where the effective gid is not tracked separately and thus
	setgroups() changes the egid if this convention is not followed.
	Fixes bug #532

diffstat:

 plugins/sudoers/sudoers.c |  24 +++++++++++++++++++-----
 1 files changed, 19 insertions(+), 5 deletions(-)



More information about the sudo-commits mailing list