[issue6758] implement new setuid-related calls and a standard way to drop all privileges

Travis H. report at bugs.python.org
Fri Aug 21 20:59:33 CEST 2009


Travis H. <travis+w-python.org at subspacefield.org> added the comment:

The posixmodule.c seems to have a lot of really complex CPP logic about
what chunks to compile.  If the target is to put the code there, I would
have to be guessing - next to the HAVE_GETEUID looks promising.

But wouldn't it be better to have the configure script check for the
presence of e.g. getresuid and compile it iff it finds it?  So that
sounds like some work with the autoconf script...

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6758>
_______________________________________


More information about the Python-bugs-list mailing list