hurd: Fix SS_ONSTACK support

System Internals / glibc - Samuel Thibault [ens-lyon.org] - 29 August 2019 23:48 EDT

- sysdeps/mach/hurd/i386/sigreturn.c (__sigreturn2): New function, unlocks SS and returns to the saved PC. (__sigreturn): Do not unlock SS, and "return" into __sigreturn2 on the thread stack instead of the saved PC.

a644a4b213 hurd: Fix SS_ONSTACK support
ChangeLog | 5 +++
sysdeps/mach/hurd/i386/sigreturn.c | 68 +++++++++++++++++++++++---------------
2 files changed, 47 insertions(+), 26 deletions(-)

Upstream: sourceware.org


  • Share