diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2003-03-20 21:17:40 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2003-03-20 21:17:40 +0000 |
| commit | 31566c96f482a23dd7d6f7bde290092c6d33809b (patch) | |
| tree | 608cb551a154df99f6a9548cb3d9702bd3b8428c /sys/compat/linux/linux_file.c | |
| parent | 2a53bfbe628abe5bf0bdf4a51c988cfed3c0f265 (diff) | |
Notes
Diffstat (limited to 'sys/compat/linux/linux_file.c')
| -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 1831361f3f12..2eea67b69b1f 100644 --- a/sys/compat/linux/linux_file.c +++ b/sys/compat/linux/linux_file.c @@ -320,7 +320,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_ucred, vp))) goto out; #endif /* MAC */ if ((error = VOP_READDIR(vp, &auio, fp->f_cred, &eofflag, &ncookies, |
