OpenCloudOS-Kernel/tools/testing/selftests/pidfd
Christian Brauner 67fc700016
test: verify fdinfo for pidfd of reaped process
Test that the fdinfo field of a pidfd referring to a dead process
correctly shows Pid: -1 and NSpid: -1.

Cc: Christian Kellner <christian@kellner.me>
Cc: linux-kselftest@vger.kernel.org
Reviewed-by: Christian Kellner <christian@kellner.me>
Signed-off-by: Christian Brauner <christian.brauner@ubuntu.com>
Link: https://lore.kernel.org/r/20191017101832.5985-2-christian.brauner@ubuntu.com
2019-10-17 15:36:54 +02:00
..
.gitignore tests: add pidfd poll tests 2019-08-06 19:52:41 +02:00
Makefile pidfd: add tests for NSpid info in fdinfo 2019-10-15 12:17:11 +02:00
pidfd.h tests: move common definitions and functions into pidfd.h 2019-08-06 19:39:45 +02:00
pidfd_fdinfo_test.c test: verify fdinfo for pidfd of reaped process 2019-10-17 15:36:54 +02:00
pidfd_open_test.c tests: move common definitions and functions into pidfd.h 2019-08-06 19:39:45 +02:00
pidfd_poll_test.c tests: add pidfd poll tests 2019-08-06 19:52:41 +02: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