]> git.baikalelectronics.ru Git - kernel.git/commit
selftests/landlock: Add tests for O_PATH
authorMickaël Salaün <mic@digikod.net>
Fri, 6 May 2022 16:08:17 +0000 (18:08 +0200)
committerMickaël Salaün <mic@digikod.net>
Mon, 23 May 2022 11:27:50 +0000 (13:27 +0200)
commit72a0cae042a94309d95f484e3847a6495b2a8cc0
treefdd3881188215c6a97123969e9ec42f68f64f2ea
parent96bf1c1af86f3eb79a77f92f73993e1d5cb1fc82
selftests/landlock: Add tests for O_PATH

The O_PATH flag is currently not handled by Landlock.  Let's make sure
this behavior will remain consistent with the same ruleset over time.

Cc: Shuah Khan <shuah@kernel.org>
Link: https://lore.kernel.org/r/20220506160820.524344-8-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