Fix SS_ONSTACK support
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sat, 12 Jan 2019 17:50:25 +0000 (17:50 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sat, 12 Jan 2019 17:50:25 +0000 (17:50 +0000)
commit6687c3deae2a834c936ea83a764f824d76728f83
treec92bd92f4a2379dd604472c813d1e1ad3b2753b6
parentadf185b5c38691f33110d322a2551a6963ee9aea
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