svn commit: r211393 - head/lib/libutil

M. Warner Losh imp at
Fri Aug 20 18:41:09 UTC 2010

In message: <861v9ty7bg.fsf at>
            Dag-Erling Smørgrav <des at> writes:
: Attilio Rao <attilio at> writes:
: > Dag-Erling Smørgrav <des at> writes:
: > > Perhaps the test in setusercontext() should be changed to use
: > > geteuid() instead of getuid().
: > Yes, I think that it probabilly makes more sense (geteuid() testing in
: > setusercontext()).
: What if the user's ~/.login_conf sets a custom PATH, and the application
: switches back to root privs and fork()-exec()s some other program?

And we're back to the reason for why issetugid() :)


More information about the svn-src-all mailing list