Messages in this thread |  | | From | Roland McGrath <> | Subject | Re: [PATCH 2/2] coredump: add a new elf note with siginfo fields of the signal | Date | Thu, 13 Sep 2012 10:25:11 -0700 (PDT) |
| |
I agree with Oleg. If there is an NT_SIGINFO note, it should contain exactly the siginfo_t layout and data that we otherwise expose to userland already. That is, it must match what PTRACE_GETSIGINFO reports, which (I think) also matches exactly what appears on the stack for a signal delivery. Note also that compat_binfmt_elf must deliver the 32-bit version of siginfo_t, i.e. as copy_siginfo_to_user32 does.
Thanks, Roland
|  |