Fix SS_ONSTACK support
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sat, 2 Dec 2017 10:07:17 +0000 (10:07 +0000)
commit52b1c3a781d8ebe279081f70becc47b4b4e1ad6c
tree13ba796ee7a663d6aec933c761374dd35ec0bac6
parentd051f76a14f87567308d12002f1bded6f5e2ead4
Fix SS_ONSTACK support

* 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.

Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-ONSTACK.diff
sysdeps/mach/hurd/i386/sigreturn.c