* [PATCH] selftests/landlock: drop deprecated headers dependency
@ 2022-07-13 6:35 Guillaume Tucker
2022-07-14 20:46 ` Shuah Khan
0 siblings, 1 reply; 2+ messages in thread
From: Guillaume Tucker @ 2022-07-13 6:35 UTC (permalink / raw)
To: Masahiro Yamada, Michal Marek, Nick Desaulniers, Shuah Khan, Kees Cook
Cc: Anders Roxell, Tim.Bird, kernel, linux-kbuild, linux-kernel,
linux-kselftest
The khdr make target has been removed, so drop it from the landlock
Makefile dependencies as well as related include paths that are
standard for headers in the kernel tree.
Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Reported-by: Anders Roxell <anders.roxell@linaro.org>
---
tools/testing/selftests/landlock/Makefile | 9 ++-------
1 file changed, 2 insertions(+), 7 deletions(-)
diff --git a/tools/testing/selftests/landlock/Makefile b/tools/testing/selftests/landlock/Makefile
index 1313e44e8fb9..a6959df28eb0 100644
--- a/tools/testing/selftests/landlock/Makefile
+++ b/tools/testing/selftests/landlock/Makefile
@@ -11,13 +11,8 @@ TEST_GEN_PROGS_EXTENDED := true
OVERRIDE_TARGETS := 1
include ../lib.mk
-khdr_dir = $(top_srcdir)/usr/include
-
-$(khdr_dir)/linux/landlock.h: khdr
- @:
-
$(OUTPUT)/true: true.c
$(LINK.c) $< $(LDLIBS) -o $@ -static
-$(OUTPUT)/%_test: %_test.c $(khdr_dir)/linux/landlock.h ../kselftest_harness.h common.h
- $(LINK.c) $< $(LDLIBS) -o $@ -lcap -I$(khdr_dir)
+$(OUTPUT)/%_test: %_test.c ../kselftest_harness.h common.h
+ $(LINK.c) $< $(LDLIBS) -o $@ -lcap
--
2.30.2
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [PATCH] selftests/landlock: drop deprecated headers dependency
2022-07-13 6:35 [PATCH] selftests/landlock: drop deprecated headers dependency Guillaume Tucker
@ 2022-07-14 20:46 ` Shuah Khan
0 siblings, 0 replies; 2+ messages in thread
From: Shuah Khan @ 2022-07-14 20:46 UTC (permalink / raw)
To: Guillaume Tucker, Masahiro Yamada, Michal Marek,
Nick Desaulniers, Shuah Khan, Kees Cook
Cc: Anders Roxell, Tim.Bird, kernel, linux-kbuild, linux-kernel,
linux-kselftest, Shuah Khan
On 7/13/22 12:35 AM, Guillaume Tucker wrote:
> The khdr make target has been removed, so drop it from the landlock
> Makefile dependencies as well as related include paths that are
> standard for headers in the kernel tree.
>
> Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
> Reported-by: Anders Roxell <anders.roxell@linaro.org>
> ---
> tools/testing/selftests/landlock/Makefile | 9 ++-------
> 1 file changed, 2 insertions(+), 7 deletions(-)
>
Applied to linux-kselftest next for 5.20-rc1
thanks,
-- Shuah
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2022-07-14 20:46 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-13 6:35 [PATCH] selftests/landlock: drop deprecated headers dependency Guillaume Tucker
2022-07-14 20:46 ` Shuah Khan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®