In message: <861v9ty7bg....@ds4.des.no>
            Dag-Erling Smørgrav <d...@des.no> writes:
: Attilio Rao <atti...@freebsd.org> writes:
: > Dag-Erling Smørgrav <d...@des.no> 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() :)

Warner
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to