Unverified Commit e6146223 authored by Matthieu Buffet's avatar Matthieu Buffet Committed by Mickaël Salaün
Browse files

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: 6a500b22 ("selftests/landlock: Add tests for audit flags and domain IDs")
Fixes: fefcf0f7 ("selftests/landlock: Test abstract UNIX socket scoping")
Fixes: 5147779d ("selftests/landlock: Add wrappers.h")
Signed-off-by: default avatarMatthieu Buffet <matthieu@buffet.re>
Link: https://lore.kernel.org/r/20251027011440.1838514-1-matthieu@buffet.re


Signed-off-by: default avatarMickaël Salaün <mic@digikod.net>
parent 335ef80e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@

CFLAGS += -Wall -O2 $(KHDR_INCLUDES)

LOCAL_HDRS += common.h
LOCAL_HDRS += $(wildcard *.h)

src_test := $(wildcard *_test.c)