Fix SS_ONSTACK support
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 30 Dec 2019 18:12:42 +0000 (18:12 +0000)
committerAurelien Jarno <aurel32@debian.org>
Mon, 30 Dec 2019 18:12:42 +0000 (18:12 +0000)
commit97a94642f998483c56783b84bb76826b55c8e7f9
treed2409d77c7569846d89a22df640a688aef4f2c19
parent5ec223ee555ef6963545a661103b02177d09c657
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