On Fri, Mar 20, 2026 at 08:46:43PM +0100, Emanuele Rocca wrote:

> behavior of __builtin_trap is architecture-dependent. On x86 it yields SIGILL,
> on aarch64 SIGTRAP. Given that neither of those signals are SIGSEGV, both
> coredump_socket_test and coredump_socket_protocol_test are currently failing:

>  get_pidfd_info: mask=0xd7, coredump_mask=0x5, coredump_signal=5
>  socket_coredump_signal_sigsegv: coredump_signal=5, expected SIGSEGV=11

> Qualify the pointer with volatile instead of calling __builtin_trap to fix the
> tests.

Reviewed-by: Mark Brown <[email protected]>

Attachment: signature.asc
Description: PGP signature

Reply via email to