linux/tools/testing/selftests/pidfd
Emanuele Rocca 7aaa4915cb
selftests: check pidfd_info->coredump_code correctness
Extend the coredump_socket and coredump_socket_protocol selftests to verify
that the field coredump_code is set as expected in struct pidfd_info.

Signed-off-by: Emanuele Rocca <emanuele.rocca@arm.com>
Link: https://patch.msgid.link/acE6Eyuv2MM75pmk@NH27D9T0LF
Signed-off-by: Christian Brauner <brauner@kernel.org>
2026-03-23 16:29:15 +01: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: complete kselftest include centralization 2025-11-27 14:24:31 -08: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