[sudo-commits] sudo changeset 7097:224dfd8aae5c
Todd C. Miller
Todd.Miller at courtesan.com
Wed Jul 20 16:56:12 EDT 2011
changeset: 7097:224dfd8aae5c in /home/hg/sudo
details: http://www.sudo.ws/repos/sudo/rev/224dfd8aae5c
user: Todd C. Miller <Todd.Miller at courtesan.com>
date: Wed Jul 20 16:54:12 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