diff options
author | rwatson <rwatson@FreeBSD.org> | 2002-08-12 01:18:33 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2002-08-12 01:18:33 +0000 |
commit | d6f287a5ac20705b577c71c0fa35d61660e3de7c (patch) | |
tree | d65b2771eeb94ead495d915d826617f53abd31fa | |
parent | 97ad1768f7183226cbe25a8f99219ef3cc582de9 (diff) | |
download | FreeBSD-src-d6f287a5ac20705b577c71c0fa35d61660e3de7c.zip FreeBSD-src-d6f287a5ac20705b577c71c0fa35d61660e3de7c.tar.gz |
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
-rw-r--r-- | sys/compat/linux/linux_file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/compat/linux/linux_file.c b/sys/compat/linux/linux_file.c index 3c459dd..847e23e 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -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, |