linux/tools/testing/selftests/pidfd
Tycho Andersen f0ece18e99
selftests: add ESRCH tests for pidfd_getfd()
Ensure that pidfd_getfd() reports -ESRCH if the task is already exiting.

Signed-off-by: Tycho Andersen <tandersen@netflix.com>
Link: https://lore.kernel.org/r/20240206192357.81942-1-tycho@tycho.pizza
Signed-off-by: Christian Brauner <brauner@kernel.org>
2024-02-07 15:48:31 +01:00
..
.gitignore selftests/pidfd: add pidfd setns tests 2020-05-13 11:41:22 +02:00
config selftests: pidfd: add CONFIG_CHECKPOINT_RESTORE=y to config 2020-10-27 17:02:03 -06:00
Makefile selftests: pidfd: Fix incorrect kernel headers search path 2023-02-13 09:09:45 -07:00
pidfd_fdinfo_test.c selftests/pidfd: Fix ksft print formats 2023-10-13 14:08:21 -06:00
pidfd_getfd_test.c selftests: add ESRCH tests for pidfd_getfd() 2024-02-07 15:48:31 +01:00
pidfd_open_test.c selftests: pidfd: fix compilation errors due to wait.h 2020-10-27 16:51:36 -06:00
pidfd_poll_test.c selftests: pidfd: fix compilation errors due to wait.h 2020-10-27 16:51:36 -06:00
pidfd_setns_test.c selftests: pidfd: drop needless linux/kcmp.h inclusion in pidfd_setns_test.c 2020-10-27 17:04:01 -06:00
pidfd_test.c selftests/pidfd: Fix ksft print formats 2023-10-13 14:08:21 -06:00
pidfd_wait.c selftests: pidfd: Fix compling warnings 2022-10-30 02:23:58 -06:00
pidfd.h selftest: pidfd: Omit long and repeating outputs 2023-06-12 16:39:11 -06:00