Fix SS_ONSTACK support
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 31 Oct 2019 22:31:12 +0000 (22:31 +0000)
committerSamuel Thibault <sthibault@debian.org>
Thu, 31 Oct 2019 22:31:12 +0000 (22:31 +0000)
commit59c3fda9ff7fbbe9c92b00c045c8850c4403ce23
tree9b109e1d521f52c6397bf986d652dd36574f5ee2
parent7388616d746c1b47534fb330c967be2d19a0f9c4
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