summaryrefslogtreecommitdiff
path: root/fs/fat
diff options
context:
space:
mode:
authorRoss Zwisler <zwisler@chromium.org>2020-08-27 20:09:47 +0300
committerAl Viro <viro@zeniv.linux.org.uk>2020-08-27 23:06:47 +0300
commit8ec90bfd1aeb39f44c3e704aaa9ca88c52e6866a (patch)
tree5c7b809b83e92e3843ff7f3cb042a6f0a06637f3 /fs/fat
parentdab741e0e02bd3c4f5e2e97be74b39df2523fc6e (diff)
downloadlinux-8ec90bfd1aeb39f44c3e704aaa9ca88c52e6866a.tar.xz
selftests: mount: add nosymfollow tests
Add tests for the new 'nosymfollow' mount option. We test to make sure that symlink traversal fails with ELOOP when 'nosymfollow' is set, but that readlink(2) and realpath(3) still work as expected. We also verify that statfs(2) correctly returns ST_NOSYMFOLLOW when we are mounted with the 'nosymfollow' option. Signed-off-by: Ross Zwisler <zwisler@google.com> Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'fs/fat')
0 files changed, 0 insertions, 0 deletions