OpenCloudOS-Kernel/fs/nfsd
J. Bruce Fields 3b6cee7bc4 nfsd4: don't continue "under" mounts in V4ROOT case
If /A/mount/point/ has filesystem "B" mounted on top of it, and if "A"
is exported, but not "B", then the nfs server has always returned to the
client a filehandle for the mountpoint, instead of for the root of "B",
allowing the client to see the subtree of "A" that would otherwise be
hidden by B.

Disable this behavior in the case of V4ROOT exports; we implement the
path restrictions of V4ROOT exports by treating *every* directory as if
it were a mountpoint, and allowing traversal *only* if the new directory
is exported.

Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2009-12-15 14:07:23 -05:00
..
Kconfig nfsd : Define NFSD only when FILE_LOCKING is enabled 2009-03-18 17:30:48 -04:00
Makefile knfsd: trivial makefile cleanup 2007-05-09 12:30:54 -07:00
auth.c nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
auth.h nfsd: minor fs/nfsd/auth.h cleanup 2008-02-01 16:42:05 -05:00
cache.h nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
export.c nfsd: introduce export flag for v4 pseudoroot 2009-12-15 14:00:40 -05:00
lockd.c nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
nfs2acl.c nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
nfs3acl.c nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
nfs3proc.c nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
nfs3xdr.c nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
nfs4acl.c nfsd: Source files #include cleanups 2009-12-14 18:12:09 -05:00
nfs4callback.c nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
nfs4idmap.c nfsd: Source files #include cleanups 2009-12-14 18:12:09 -05:00
nfs4proc.c nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
nfs4recover.c nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
nfs4state.c nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
nfs4xdr.c nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
nfscache.c nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
nfsctl.c nfsd: new interface to advertise export features 2009-12-14 18:51:29 -05:00
nfsd.h nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
nfsfh.c nfsd: let "insecure" flag vary by pseudoflavor 2009-12-14 19:08:58 -05:00
nfsproc.c nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
nfssvc.c nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
nfsxdr.c nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
state.h nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
stats.c nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
vfs.c nfsd4: don't continue "under" mounts in V4ROOT case 2009-12-15 14:07:23 -05:00
vfs.h nfsd: make fs/nfsd/vfs.h for common includes 2009-11-13 13:23:02 -05:00
xdr.h nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
xdr3.h nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
xdr4.h nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00