1
0
Fork 0
alistair23-linux/tools/testing/selftests/mount
Ross Zwisler 8ec90bfd1a 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>
2020-08-27 16:06:47 -04:00
..
.gitignore selftests: mount: add nosymfollow tests 2020-08-27 16:06:47 -04:00
Makefile selftests: mount: add nosymfollow tests 2020-08-27 16:06:47 -04:00
config selftests: mount: remove no longer needed config option 2018-08-09 11:26:07 -06:00
nosymfollow-test.c selftests: mount: add nosymfollow tests 2020-08-27 16:06:47 -04:00
run_nosymfollow.sh selftests: mount: add nosymfollow tests 2020-08-27 16:06:47 -04:00
run_unprivileged_remount.sh selftests: mount: add nosymfollow tests 2020-08-27 16:06:47 -04:00
unprivileged-remount-test.c License cleanup: add SPDX GPL-2.0 license identifier to files with no license 2017-11-02 11:10:55 +01:00