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@xxxxxxxxxxxxxx GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."