Closed
Description
On Linux, add the NT_SIGINFO note for each thread. This NOTE contains the siginfo_t struct which can be obtained with ptrace's PTRACE_GETSIGINFO or PTRACE_PEEKSIGINFO (doesn't remove signals).
See https://man7.org/linux/man-pages/man2/ptrace.2.html on ptrace.