Fix missing parens in MAC readdir() check. This fix was in the MAC
branch, but apparently didn't get moved over when it was made. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
This commit is contained in:
parent
97ad1768f7
commit
d6f287a5ac
@ -331,7 +331,7 @@ again:
|
||||
/*
|
||||
* Do directory search MAC check using non-cached credentials.
|
||||
*/
|
||||
if ((error = mac_check_vnode_readdir(td->td_proc->p_ucred, vp))
|
||||
if ((error = mac_check_vnode_readdir(td->td_proc->p_ucred, vp)))
|
||||
goto out;
|
||||
#endif /* MAC */
|
||||
if ((error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag, &ncookies,
|
||||
|
Loading…
x
Reference in New Issue
Block a user