commit c656e1894918d774fa841214f2e00af8a4a66b44
Author: David Moreau Simard <email address hidden>
Date: Mon Jan 20 13:30:58 2014 -0500
Add secondary groups to user during privilege escalation
setgid provides the primary group, setgroups sets the secondary
groups. Prior to this patch, we would do a setgroups with an empty
list, effectively wiping secondary groups. We now verify which
secondary groups the user is member of and escalate the privileges
accordingly.
Reviewed: https:/ /review. openstack. org/67905 /git.openstack. org/cgit/ openstack/ swift/commit/ ?id=c656e189491 8d774fa841214f2 e00af8a4a66b44
Committed: https:/
Submitter: Jenkins
Branch: master
commit c656e1894918d77 4fa841214f2e00a f8a4a66b44
Author: David Moreau Simard <email address hidden>
Date: Mon Jan 20 13:30:58 2014 -0500
Add secondary groups to user during privilege escalation
setgid provides the primary group, setgroups sets the secondary
groups. Prior to this patch, we would do a setgroups with an empty
list, effectively wiping secondary groups. We now verify which
secondary groups the user is member of and escalate the privileges
accordingly.
Change-Id: I33a10edd448b3a c5aa758a8d1d70e 582cf421c7d
Closes-Bug: 1269473