1
0
Fork 0
alistair23-linux/tools/testing/selftests/pidfd
Tommi Rantala 9b7e6b670d selftests: pidfd: fix compilation errors due to wait.h
[ Upstream commit 1948172fdb ]

Drop unneeded <linux/wait.h> header inclusion to fix pidfd compilation
errors seen in Fedora 32:

In file included from pidfd_open_test.c:9:
../../../../usr/include/linux/wait.h:17:16: error: expected identifier before numeric constant
   17 | #define P_ALL  0
      |                ^

Signed-off-by: Tommi Rantala <tommi.t.rantala@nokia.com>
Reviewed-by: Kees Cook <keescook@chromium.org>
Acked-by: Christian Brauner <christian.brauner@ubuntu.com>
Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-11-18 19:20:22 +01:00
..
.gitignore tests: add pidfd poll tests 2019-08-06 19:52:41 +02:00
Makefile selftests: pidfd: Fix undefined reference to pthread_create() 2019-09-30 22:32:55 +02:00
pidfd.h tests: move common definitions and functions into pidfd.h 2019-08-06 19:39:45 +02:00
pidfd_open_test.c selftests: pidfd: fix compilation errors due to wait.h 2020-11-18 19:20:22 +01:00
pidfd_poll_test.c selftests: pidfd: fix compilation errors due to wait.h 2020-11-18 19:20:22 +01:00
pidfd_test.c core-process-v5.4 2019-09-16 09:28:19 -07:00
pidfd_wait.c pidfd: add pidfd_wait tests 2019-08-06 19:39:30 +02:00