[PATCH] Fix SS_ONSTACK support
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 4 Feb 2020 19:37:26 +0000 (19:37 +0000)
committerAurelien Jarno <aurel32@debian.org>
Tue, 4 Feb 2020 19:37:26 +0000 (19:37 +0000)
commit49fb291c041f131a9d9674b8899f607d51c81468
treef11d727f6ca4fe5a1380bfc769d31a3589bd1614
parent5460a0dd76a6a94dbf83cc483f76bf351f16e53b
[PATCH] 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