summaryrefslogtreecommitdiff
path: root/fs/nfsd/nfs2acl.c
diff options
context:
space:
mode:
authorJ. Bruce Fields <bfields@citi.umich.edu>2009-10-25 21:18:19 -0400
committerJ. Bruce Fields <bfields@citi.umich.edu>2009-12-04 16:38:11 -0500
commite2e852d44c70b5a2dc43891df42ee1fbe2811348 (patch)
tree51b61ec99ec88990c9c78d9e2df53df4930624b9 /fs/nfsd/nfs2acl.c
parent6736391d20d95e6ccb79cd1e26d1e2d459611113 (diff)
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>
Diffstat (limited to 'fs/nfsd/nfs2acl.c')
0 files changed, 0 insertions, 0 deletions