PERFORCE change 15347 for review
Brian F. Feldman
green at freebsd.org
Fri Aug 2 13:06:58 GMT 2002
John Baldwin <jhb at FreeBSD.org> wrote:
> On 31-Jul-2002 Brian Feldman wrote:
> > http://people.freebsd.org/~peter/p4db/chv.cgi?CH=15347
> > Change 15347 by green at green_laptop_2 on 2002/07/31 14:31:24
> > mac_cred_canexec() no longer exists; use mac_check_vnode_exec().
> Dropping the proc lock invalidates the credential changes and any
> earlier credential changes you just made unless you ensure that the
> process is single threaded before you do any of the credential
> checks and before you get here.
This is something that needs to be fixed by people that understand teh KSE
stuff by, like you said, ensuring that the process is single-threaded here.
That should be the very first thing exec does... I personally had no idea
whether it should return an error, destroy all the other threads, fork off a
new process surreptititiously (eek!), or whatever else could possibly be the
answer for it.
Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\
<> green at FreeBSD.org <> bfeldman at tislabs.com \ The Power to Serve! \
Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\
To Unsubscribe: send mail to majordomo at trustedbsd.org
with "unsubscribe trustedbsd-cvs" in the body of the message
More information about the trustedbsd-cvs