[PATCH] Fix SS_ONSTACK support
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 25 Mar 2020 12:56:56 +0000 (12:56 +0000)
committerAurelien Jarno <aurel32@debian.org>
Wed, 25 Mar 2020 12:56:56 +0000 (12:56 +0000)
commita24e69831f59a9e3605ec1222de5e5af97550dba
tree931c653be5a1de4750880468bc094d6a96fe99b1
parent2d4fe89a3925c50e2786da28041aba2e2d606cdc
[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 git-ONSTACK.diff
sysdeps/mach/hurd/i386/sigreturn.c