linux/tools/testing/selftests/landlock
Mickaël Salaün 6533d0c3a8
selftests/landlock: Test landlock_create_ruleset(2) argument check ordering
Add inval_create_ruleset_arguments, extension of
inval_create_ruleset_flags, to also check error ordering for
landlock_create_ruleset(2).

This is similar to the previous commit checking landlock_add_rule(2).

Test coverage for security/landlock is 94.4% of 504 lines accorging to
gcc/gcov-11.

Link: https://lore.kernel.org/r/20220506160820.524344-11-mic@digikod.net
Cc: stable@vger.kernel.org
Signed-off-by: Mickaël Salaün <mic@digikod.net>
2022-05-23 13:27:55 +02:00
..
.gitignore
base_test.c selftests/landlock: Test landlock_create_ruleset(2) argument check ordering 2022-05-23 13:27:55 +02:00
common.h selftests/landlock: Format with clang-format 2022-05-23 13:27:39 +02:00
config
fs_test.c selftests/landlock: Add tests for O_PATH 2022-05-23 13:27:50 +02:00
Makefile selftests: landlock: Add the uapi headers include variable 2022-02-23 17:20:47 -07:00
ptrace_test.c selftests/landlock: Format with clang-format 2022-05-23 13:27:39 +02:00
true.c