summaryrefslogtreecommitdiffstats
path: root/include/linux/fcntl.h
diff options
context:
space:
mode:
authorRoss Zwisler <zwisler@chromium.org>2020-08-27 11:09:47 -0600
committerAl Viro <viro@zeniv.linux.org.uk>2020-08-27 16:06:47 -0400
commit8ec90bfd1aeb39f44c3e704aaa9ca88c52e6866a (patch)
tree5c7b809b83e92e3843ff7f3cb042a6f0a06637f3 /include/linux/fcntl.h
parentdab741e0e02bd3c4f5e2e97be74b39df2523fc6e (diff)
downloadlinux-8ec90bfd1aeb39f44c3e704aaa9ca88c52e6866a.tar.gz
linux-8ec90bfd1aeb39f44c3e704aaa9ca88c52e6866a.tar.bz2
linux-8ec90bfd1aeb39f44c3e704aaa9ca88c52e6866a.zip
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 'include/linux/fcntl.h')
0 files changed, 0 insertions, 0 deletions