]> git.apps.os.sepia.ceph.com Git - xfstests-dev.git/commit
fstests: test restricted symlinks & hardlinks sysctls
authorEric Sandeen <sandeen@redhat.com>
Mon, 18 May 2020 16:14:43 +0000 (11:14 -0500)
committerEryu Guan <guaneryu@gmail.com>
Sun, 24 May 2020 15:09:42 +0000 (23:09 +0800)
commitfad7fc57f7d26c9f4c6280d243922930a07a007b
tree0d979d419655e814d53168f52690055e84d1311d
parentd4c5b1cabd53b3ae5fc6f3606843e7e81c26879e
fstests: test restricted symlinks & hardlinks sysctls

This tests the fs.protected_symlinks and fs.protected_hardlinks
sysctls which restrict links behavior in sticky world-writable
directories as documented in the kernel at
Documentation/admin-guide/sysctl/fs.rst

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Reviewed-by: Zorro Lang <zlang@redhat.com>
Signed-off-by: Eryu Guan <guaneryu@gmail.com>
tests/generic/597 [new file with mode: 0755]
tests/generic/597.out [new file with mode: 0644]
tests/generic/group