]> 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)
commit3b99e75de57625200762085da604d9c3f977b413
treefdd3881188215c6a97123969e9ec42f68f64f2ea
parent5df08923e715832dd179e2e5b7a478af5eda4e8b
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