[LTP] [PATCH 0/5] landlock network coverage support
Andrea Cervesato
andrea.cervesato@suse.de
Thu Sep 19 12:23:06 CEST 2024
This testing suite is meant to test the landlock network support.
The landlock fallback had to be modified in order to support ABI v4
which changed the landlock rules structures. Also, a new test has been
added in landlock08, testing bind() and connect() syscalls support.
A few error checks have been added in the landlock02 test.
Signed-off-by: Andrea Cervesato <andrea.cervesato@suse.com>
---
Andrea Cervesato (5):
Fallback landlock network support
Network helpers in landlock suite common functions
Fix landlock06 creating multiple ruleset
Add landlock08 test
Add error coverage for landlock network support
configure.ac | 1 -
include/lapi/capability.h | 4 +
include/lapi/landlock.h | 39 ++--
runtest/syscalls | 1 +
testcases/kernel/syscalls/landlock/.gitignore | 1 +
testcases/kernel/syscalls/landlock/landlock01.c | 18 +-
testcases/kernel/syscalls/landlock/landlock02.c | 81 ++++++---
testcases/kernel/syscalls/landlock/landlock03.c | 8 +-
testcases/kernel/syscalls/landlock/landlock04.c | 8 +-
testcases/kernel/syscalls/landlock/landlock05.c | 12 +-
testcases/kernel/syscalls/landlock/landlock06.c | 15 +-
testcases/kernel/syscalls/landlock/landlock07.c | 8 +-
testcases/kernel/syscalls/landlock/landlock08.c | 199 +++++++++++++++++++++
.../kernel/syscalls/landlock/landlock_common.h | 134 +++++++++++++-
14 files changed, 452 insertions(+), 77 deletions(-)
---
base-commit: 968e6245d93bc91723e72086a71e6bc50f495d0b
change-id: 20240916-landlock_network-b4bb45fde72b
Best regards,
--
Andrea Cervesato <andrea.cervesato@suse.com>
More information about the ltp
mailing list