mirror-linux/tools/testing/selftests/clone3
Mathieu Desnoyers a9588d80b7 selftests: clone3: Fix incorrect kernel headers search path
commit 612cf4d283 upstream.

Use $(KHDR_INCLUDES) as lookup path for kernel headers. This prevents
building against kernel headers from the build environment in scenarios
where kernel headers are installed into a specific output directory
(O=...).

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: Shuah Khan <shuah@kernel.org>
Cc: linux-kselftest@vger.kernel.org
Cc: Ingo Molnar <mingo@redhat.com>
Cc: <stable@vger.kernel.org>  # 5.18+
Acked-by: Shuah Khan <skhan@linuxfoundation.org>
Acked-by: Christian Brauner <brauner@kernel.org>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2023-03-10 09:34:16 +01:00
..
.gitignore
Makefile selftests: clone3: Fix incorrect kernel headers search path 2023-03-10 09:34:16 +01:00
clone3.c
clone3_cap_checkpoint_restore.c
clone3_clear_sighand.c
clone3_selftests.h
clone3_set_tid.c