Fix SS_ONSTACK support
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Sun, 16 Dec 2018 17:25:59 +0000 (17:25 +0000)
committerAurelien Jarno <aurel32@debian.org>
Sun, 16 Dec 2018 17:25:59 +0000 (17:25 +0000)
commit58c18c82b262cfbf77280aed7212d3341e340b0c
tree6bd1c56e91b9a30f7e2ba2757f1a46ad74d40bc9
parent9ca23af5cfaccb7a5c5683f57589be6412b56dcd
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