fstests: test restricted file access sysctls
authorEric Sandeen <sandeen@redhat.com>
Mon, 18 May 2020 16:15:34 +0000 (11:15 -0500)
committerEryu Guan <guaneryu@gmail.com>
Sun, 24 May 2020 15:09:42 +0000 (23:09 +0800)
commit6c5ab759017498d6b69fd21041f5b2fe826a822e
tree4eb17a505512c6f5720b6b9faa7c6f72f84f3aad
parentfad7fc57f7d26c9f4c6280d243922930a07a007b
fstests: test restricted file access sysctls

This tests the fs.protected_regular and fs.protected_fifos
sysctls which restrict access 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/598 [new file with mode: 0755]
tests/generic/598.out [new file with mode: 0644]
tests/generic/group