Todd C. Miller
|
78429a90d5
|
Quiet a warning on systems where the gids array in setgroups() is
not prototyped as being const, even though it really is.
|
2012-03-28 11:14:22 -04:00 |
|
Todd C. Miller
|
839919566e
|
Add debug_decl/debug_return (almost) everywhere.
Remove old sudo_debug() and convert users to sudo_debug_printf().
|
2011-10-22 14:40:21 -04:00 |
|
Todd C. Miller
|
da95b0ea58
|
setgroups() proto lives in grp.h on RHEL4, perhaps others.
|
2011-08-23 10:14:52 -04:00 |
|
Todd C. Miller
|
cb63967bfd
|
Fix setgroups() fallback code on EINVAL.
|
2011-07-22 15:33:33 -04:00 |
|
Todd C. Miller
|
022591f4bf
|
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.
|
2011-07-20 16:54:12 -04:00 |
|