Author solinym
Recipients solinym
Date 2009-08-21.19:42:07
SpamBayes Score 0.00224505
Marked as misclassified No
Message-id <1250883728.23.0.466697473047.issue6758@psf.upfronthosting.co.za>
In-reply-to
Content
The routines necessary for implementing Wagner's API for dropping
privileges are:

sysconf function: available in os module
_SC_NGROUPS_MAX constant: unsure
abort function: available in os module
getresuid function: needs implementing[1]
getresgid function: needs implementing[1]

[1] Not POSIX but available on Linux, HP/UX, FreeBSD, OpenBSD,
DragonFlyBSD.  Not available on Solaris, AIX, NetBSD, OSX, cygwin.

Since Wagner points out that the non-standard function calls actually
have clearer/better semantics, perhaps the way to do all this is in its
own module, instead of trying to shove it into an existing module..
History
Date User Action Args
2009-08-21 19:42:08solinymsetrecipients: + solinym
2009-08-21 19:42:08solinymsetmessageid: <1250883728.23.0.466697473047.issue6758@psf.upfronthosting.co.za>
2009-08-21 19:42:07solinymlinkissue6758 messages
2009-08-21 19:42:07solinymcreate