diff options
author | jhb <jhb@FreeBSD.org> | 2003-03-20 21:17:40 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2003-03-20 21:17:40 +0000 |
commit | b8b062b09b687ba751b96ac20ce9fb9a79a43301 (patch) | |
tree | 608cb551a154df99f6a9548cb3d9702bd3b8428c /sys/compat/linux/linux_file.c | |
parent | 15ebade0f49b1e1e6e150dec2ce588fd540bf300 (diff) | |
download | FreeBSD-src-b8b062b09b687ba751b96ac20ce9fb9a79a43301.zip FreeBSD-src-b8b062b09b687ba751b96ac20ce9fb9a79a43301.tar.gz |
Use td->td_ucred instead of td->td_proc->p_ucred.
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 1831361..2eea67b 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, |