selftests/landlock: Extend access right tests to directories
authorMickaël Salaün <mic@digikod.net>
Fri, 6 May 2022 16:08:15 +0000 (18:08 +0200)
committerMickaël Salaün <mic@digikod.net>
Mon, 23 May 2022 11:27:49 +0000 (13:27 +0200)
commitd18955d094d09a220cf8f533f5e896a2fe31575a
tree5124c23c7fee07fd03de2412220b26223869609a
parentc56b3bf566da5a0dd3b58ad97a614b0928b06ebf
selftests/landlock: Extend access right tests to directories

Make sure that all filesystem access rights can be tied to directories.

Rename layout1.file_access_rights to layout1.file_and_dir_access_rights
to reflect this change.

Cc: Shuah Khan <shuah@kernel.org>
Link: https://lore.kernel.org/r/20220506160820.524344-6-mic@digikod.net
Cc: stable@vger.kernel.org
Signed-off-by: Mickaël Salaün <mic@digikod.net>
tools/testing/selftests/landlock/fs_test.c