summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Buffet <matthieu@buffet.re>2025-10-27 02:14:40 +0100
committerMickaël Salaün <mic@digikod.net>2025-11-26 20:20:23 +0100
commite61462232a58bddd818fa6a913a9a2e76fd3634f (patch)
tree0f6a2041ebb0858c7e7322c530ec2843f971bd6e
parent335ef80e4a9eeed6cf52b3de6d0bad6787991e20 (diff)
selftests/landlock: Fix makefile header list
Make all headers part of make's dependencies computations. Otherwise, updating audit.h, common.h, scoped_base_variants.h, scoped_common.h, scoped_multiple_domain_variants.h, or wrappers.h, re-running make and running selftests could lead to testing stale headers. Fixes: 6a500b22971c ("selftests/landlock: Add tests for audit flags and domain IDs") Fixes: fefcf0f7cf47 ("selftests/landlock: Test abstract UNIX socket scoping") Fixes: 5147779d5e1b ("selftests/landlock: Add wrappers.h") Signed-off-by: Matthieu Buffet <matthieu@buffet.re> Link: https://lore.kernel.org/r/20251027011440.1838514-1-matthieu@buffet.re Signed-off-by: Mickaël Salaün <mic@digikod.net>
-rw-r--r--tools/testing/selftests/landlock/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/landlock/Makefile b/tools/testing/selftests/landlock/Makefile
index a3f449914bf9..044b83bde16e 100644
--- a/tools/testing/selftests/landlock/Makefile
+++ b/tools/testing/selftests/landlock/Makefile
@@ -4,7 +4,7 @@
CFLAGS += -Wall -O2 $(KHDR_INCLUDES)
-LOCAL_HDRS += common.h
+LOCAL_HDRS += $(wildcard *.h)
src_test := $(wildcard *_test.c)