]> www.infradead.org Git - users/dwmw2/linux.git/commit
selftests/landlock: Add wrappers.h
authorMickaël Salaün <mic@digikod.net>
Wed, 8 Jan 2025 15:43:29 +0000 (16:43 +0100)
committerMickaël Salaün <mic@digikod.net>
Fri, 17 Jan 2025 18:05:38 +0000 (19:05 +0100)
commit5147779d5e1b6425f30eb57071717be2bb65fa3b
treeae63c74ae1b14d71e5f17d7b78cfc90e9aae5efc
parent2107c35128ad751b201eb92fe91443450d9e5c37
selftests/landlock: Add wrappers.h

Extract syscall wrappers to make them usable by standalone binaries (see
next commit).

Cc: Günther Noack <gnoack@google.com>
Link: https://lore.kernel.org/r/20250108154338.1129069-22-mic@digikod.net
[mic: Fix comments]
Signed-off-by: Mickaël Salaün <mic@digikod.net>
tools/testing/selftests/landlock/common.h
tools/testing/selftests/landlock/wrappers.h [new file with mode: 0644]