mirror_ubuntu-kernels/tools/testing/selftests/landlock
Günther Noack bce605e0cf
selftests/landlock: Exhaustive test for the IOCTL allow-list
This test checks all IOCTL commands implemented in do_vfs_ioctl().

Test coverage for security/landlock is 90.9% of 722 lines according to
gcc/gcov-13.

Suggested-by: Mickaël Salaün <mic@digikod.net>
Signed-off-by: Günther Noack <gnoack@google.com>
Link: https://lore.kernel.org/r/20240419161122.2023765-8-gnoack@google.com
[mic: Add test coverage]
Signed-off-by: Mickaël Salaün <mic@digikod.net>
2024-05-13 06:58:33 +02:00
..
.gitignore
base_test.c landlock: Add IOCTL access right for character and block devices 2024-05-13 06:58:29 +02:00
common.h Landlock updates for v6.9-rc1 2024-03-14 16:00:27 -07:00
config selftests/landlock: Add network tests 2023-10-26 21:07:16 +02:00
config.um selftests/landlock: Add hostfs tests 2023-06-12 21:26:23 +02:00
fs_test.c selftests/landlock: Exhaustive test for the IOCTL allow-list 2024-05-13 06:58:33 +02:00
Makefile selftests/landlock: Build without static libraries 2022-10-19 22:10:56 +02:00
net_test.c selftests: kselftest_harness: save full exit code in metadata 2024-03-01 10:30:28 +00:00
ptrace_test.c selftests: kselftest_harness: save full exit code in metadata 2024-03-01 10:30:28 +00:00
true.c