diff options
author | Ross Zwisler <zwisler@chromium.org> | 2020-08-27 11:09:47 -0600 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2020-08-27 16:06:47 -0400 |
commit | 8ec90bfd1aeb39f44c3e704aaa9ca88c52e6866a (patch) | |
tree | 5c7b809b83e92e3843ff7f3cb042a6f0a06637f3 /fs/adfs | |
parent | dab741e0e02bd3c4f5e2e97be74b39df2523fc6e (diff) |
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/adfs')
0 files changed, 0 insertions, 0 deletions