linux/fs/nfsd
Steve Dickson 03a816b46d nfsd: restrict filehandles accepted in V4ROOT case
On V4ROOT exports, only accept filehandles that are the *root* of some
export.  This allows mountd to allow or deny access to individual
directories and symlinks on the pseudofilesystem.

Note that the checks in readdir and lookup are not enough, since a
malicious host with access to the network could guess filehandles that
they weren't able to obtain through lookup or readdir.

Signed-off-by: Steve Dickson <steved@redhat.com>
Signed-off-by: J. Bruce Fields <bfields@citi.umich.edu>
2009-12-15 14:07:24 -05: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: allow exports of symlinks 2009-12-15 14:07:24 -05:00
Kconfig nfsd : Define NFSD only when FILE_LOCKING is enabled 2009-03-18 17:30:48 -04:00
lockd.c nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00
Makefile knfsd: trivial makefile cleanup 2007-05-09 12:30:54 -07: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: filter readdir results in V4ROOT case 2009-12-15 14:07:24 -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: restrict filehandles accepted in V4ROOT case 2009-12-15 14:07:24 -05:00
nfsfh.c nfsd: restrict filehandles accepted in V4ROOT case 2009-12-15 14:07:24 -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 nfsd: restrict filehandles accepted in V4ROOT case 2009-12-15 14:07:24 -05:00
vfs.h nfsd: filter readdir results in V4ROOT case 2009-12-15 14:07:24 -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
xdr.h nfsd: Move private headers to source directory 2009-12-14 18:12:12 -05:00