selftests/landlock: fix broken include of linux/landlock.h
authorGuillaume Tucker <guillaume.tucker@collabora.com>
Wed, 3 Aug 2022 20:13:54 +0000 (22:13 +0200)
committerShuah Khan <skhan@linuxfoundation.org>
Mon, 15 Aug 2022 17:26:12 +0000 (11:26 -0600)
commitf1227dc7d0411ee9a9faaa1e80cfd9d6e5d6d63e
tree3a0ec24c04ad7e7c65e4e0f85d933a83a2c7b40f
parent568035b01cfb107af8d2e4bd2fb9aea22cf5b868
selftests/landlock: fix broken include of linux/landlock.h

Revert part of the earlier changes to fix the kselftest build when
using a sub-directory from the top of the tree as this broke the
landlock test build as a side-effect when building with "make -C
tools/testing/selftests/landlock".

Reported-by: Mickaël Salaün <mic@digikod.net>
Fixes: a917dd94b832 ("selftests/landlock: drop deprecated headers dependency")
Fixes: f2745dc0ba3d ("selftests: stop using KSFT_KHDR_INSTALL")
Signed-off-by: Guillaume Tucker <guillaume.tucker@collabora.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
tools/testing/selftests/landlock/Makefile