aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/namei.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>1999-09-25 14:14:21 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>1999-09-25 14:14:21 +0000
commit2fe5bd8bb8393100f5e0a994aed45a9a16616070 (patch)
tree9b2f46b73d513aa2711de1fff6d64baccef22777 /sys/sys/namei.h
parent46783fb897761a099b5d9629afd30bb97cdeed5e (diff)
downloadsrc-2fe5bd8bb8393100f5e0a994aed45a9a16616070.tar.gz
src-2fe5bd8bb8393100f5e0a994aed45a9a16616070.zip
Fix a hole in jail(2).
Noticed by: Alexander Bezroutchko <abb@zenon.net>
Notes
Notes: svn path=/head/; revision=51649
Diffstat (limited to 'sys/sys/namei.h')
-rw-r--r--sys/sys/namei.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/namei.h b/sys/sys/namei.h
index c4611d9c3fc4..364b0012b370 100644
--- a/sys/sys/namei.h
+++ b/sys/sys/namei.h
@@ -58,6 +58,7 @@ struct nameidata {
/* struct ucred *ni_cred; credentials */
struct vnode *ni_startdir; /* starting directory */
struct vnode *ni_rootdir; /* logical root directory */
+ struct vnode *ni_topdir; /* logical top directory */
/*
* Results: returned from/manipulated by lookup
*/