o Add a comment to exec_check_permissions() to indicate that the

passed vnode must be locked; this is the case because of calls
  to VOP_GETATTR(), VOP_ACCESS(), and VOP_OPEN().  This becomes
  more of an issue when VOP_ACCESS() gets a bit more complicated,
  which it does when you introduce ACL, Capability, and MAC
  support.

Obtained from:	TrustedBSD Project
This commit is contained in:
Robert Watson 2000-11-30 21:06:05 +00:00
parent 5b91eb6c78
commit cf64863a1e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=69411

View File

@ -708,6 +708,7 @@ exec_copyout_strings(imgp)
/*
* Check permissions of file to execute.
* Called with imgp->vp locked.
* Return 0 for success or error code on failure.
*/
int