[PATCH] Fix SS_ONSTACK support
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 5 May 2020 18:12:38 +0000 (19:12 +0100)
committerAurelien Jarno <aurel32@debian.org>
Tue, 5 May 2020 18:12:38 +0000 (19:12 +0100)
commit8b72cbb71543e96ad9593669fcfd8d38f783a672
treec09bd8b4c369055e6c9e8daf07ad0ee6bd9176cd
parent9e1224aa4be615e63188c6f050d2595edee19405
[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