[sudo-commits] sudo changeset 7103:bacb4170a510

Todd C. Miller Todd.Miller at courtesan.com
Thu Jul 21 09:56:23 EDT 2011


changeset:	7103:bacb4170a510 in /home/hg/sudo
details:	http://www.sudo.ws/repos/sudo/rev/bacb4170a510
user:		Todd C. Miller <Todd.Miller at courtesan.com>
date:		Thu Jul 21 09:56:00 2011 -0400

Log Message:
	Add a wrapper for setgroups() that trims off extra groups and retries
	if setgroups() fails.  Also add some missing addrefs for PERM_USER
	and PERM_FULL_USER.

diffstat:

 MANIFEST                    |    1 +
 common/Makefile.in          |    4 +-
 common/setgroups.c          |   59 +++++++++++++++++++++
 plugins/sudoers/set_perms.c |  123 ++++++++++++++++++++++---------------------
 plugins/sudoers/sudoers.h   |    3 +
 src/sudo.c                  |    2 +-
 src/sudo.h                  |    3 +
 src/sudo_edit.c             |    6 +-
 8 files changed, 137 insertions(+), 64 deletions(-)



More information about the sudo-commits mailing list