On Tue, Aug 25, 2009 at 07:37:22PM -0400, Michael Spang wrote:
> It seems you'd need to call setregid(getgid(), getgid()) to fully
> drop privileges. When using setgid() the set-group-id is not set.

The current use of setuid() has the same limitation.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

Attachment: signature.asc
Description: Digital signature

Reply via email to