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>
This commit is contained in:
Mickaël Salaün 2025-01-08 16:43:29 +01:00
commit 5147779d5e
No known key found for this signature in database
GPG key ID: E5E3D0E88C82F6D2
2 changed files with 48 additions and 36 deletions