[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: reliable reproducer, was Re: core dump analysis



On Apr 23 2023, Michael Schmitz wrote:

> Now I wonder who adds sigmask ... and whether that's also ending up on the
> user stack.

The kernel only writes the first 64 bits of the signal mask, as it does
for all signal mask related syscalls.  The kernel version of the context
ends after that; since the user-space version is larger it actually
extends into the next stack frame.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510  2552 DF73 E780 A9DA AEC1
"And now for something completely different."


Reply to: