Message91837
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.. |
|
Date |
User |
Action |
Args |
2009-08-21 19:42:08 | solinym | set | recipients:
+ solinym |
2009-08-21 19:42:08 | solinym | set | messageid: <1250883728.23.0.466697473047.issue6758@psf.upfronthosting.co.za> |
2009-08-21 19:42:07 | solinym | link | issue6758 messages |
2009-08-21 19:42:07 | solinym | create | |
|