linux/tools/testing/selftests/landlock
Günther Noack 97b30f9e35
selftests/landlock: Locally define __maybe_unused
The checkpatch tool started to flag __attribute__(__unused__), which
we previously used. The header where this is normally defined is not
currently compatible with selftests.

This is the same approach as used in selftests/net/psock_lib.h.

Signed-off-by: Günther Noack <gnoack3000@gmail.com>
Link: https://lore.kernel.org/r/20221018182216.301684-8-gnoack3000@gmail.com
Signed-off-by: Mickaël Salaün <mic@digikod.net>
2022-10-19 09:01:46 +02:00
..
.gitignore
base_test.c landlock: Support file truncation 2022-10-19 09:01:44 +02:00
common.h selftests/landlock: Locally define __maybe_unused 2022-10-19 09:01:46 +02:00
config
fs_test.c selftests/landlock: Test open() and ftruncate() in multiple scenarios 2022-10-19 09:01:44 +02:00
Makefile selftests/landlock: Fix out-of-tree builds 2022-09-14 16:37:38 +02:00
ptrace_test.c selftests/landlock: Format with clang-format 2022-05-23 13:27:39 +02:00
true.c