linux/tools/testing/selftests/pidfd
Christian Brauner 58af123ec7 selftests/pidfd: check PIDFD_THREAD survives open_by_handle_at()
Verify that a thread pidfd reopened via open_by_handle_at() still
reports PIDFD_THREAD in F_GETFL.

Signed-off-by: Li Chen <me@linux.beauty>
Reviewed-by: Jan Kara <jack@suse.cz>
Link: https://patch.msgid.link/20260716052726.1032092-1-me@linux.beauty
Signed-off-by: Christian Brauner (Amutable) <brauner@kernel.org>
2026-07-22 13:55:20 +02:00
..
.gitignore selftests/pidfd: add CLONE_AUTOREAP tests 2026-03-11 23:23:16 +01:00
config vdso: Drop Kconfig GENERIC_VDSO_TIME_NS 2025-09-04 11:23:50 +02:00
Makefile selftests/pidfd: add CLONE_AUTOREAP tests 2026-03-11 23:23:16 +01:00
pidfd_autoreap_test.c selftests/pidfd: add CLONE_PIDFD_AUTOKILL tests 2026-03-11 23:23:46 +01:00
pidfd_bind_mount.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
pidfd_exec_helper.c selftests/pidfd: add seventh PIDFD_INFO_EXIT selftest 2025-03-05 13:26:21 +01:00
pidfd_fdinfo_test.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
pidfd_file_handle_test.c selftests/pidfd: check PIDFD_THREAD survives open_by_handle_at() 2026-07-22 13:55:20 +02:00
pidfd_getfd_test.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
pidfd_info_test.c selftests: check pidfd_info->coredump_code correctness 2026-03-23 16:29:15 +01:00
pidfd_open_test.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
pidfd_poll_test.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
pidfd_setattr_test.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
pidfd_setns_test.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
pidfd_test.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
pidfd_wait.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
pidfd_xattr_test.c selftests: complete kselftest include centralization 2025-11-27 14:24:31 -08:00
pidfd.h selftests: check pidfd_info->coredump_code correctness 2026-03-23 16:29:15 +01:00