]> granicus.if.org Git - sudo/commitdiff
For "sudo -g" prepend the specified group ID to the beginning of
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 19 Jan 2012 16:08:45 +0000 (11:08 -0500)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 19 Jan 2012 16:08:45 +0000 (11:08 -0500)
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

--HG--
branch : 1.8


Trivial merge