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>
This commit is contained in:
Emanuele Rocca 2026-03-23 14:03:15 +01:00 • committed by Christian Brauner
commit 7aaa4915cb
No known key found for this signature in database
GPG key ID: 91C61BC06578DCA2
5 changed files with 66 additions and 2 deletions