svn commit: r211393 - head/lib/libutil

Dag-Erling Smørgrav des at
Fri Aug 20 09:14:29 UTC 2010

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?

Dag-Erling Smørgrav - des at

More information about the svn-src-all mailing list