]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit94b1b0a783ecc2403eafa2e523c172a471dcf4da
tree5124c23c7fee07fd03de2412220b26223869609a
parent336b7ec59c236475bfcbc02eaa9187b6cebf64a3
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