[PATCH] Fix SS_ONSTACK support
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Mon, 11 May 2020 00:04:03 +0000 (01:04 +0100)
committerSamuel Thibault <sthibault@debian.org>
Mon, 11 May 2020 00:04:03 +0000 (01:04 +0100)
commit95df110f8e185f062d293dfa306bcdbb1c157663
treecd2985584c43380a2a6671ae6a0edbc525aa6aea
parent89c0a02434ed25609a602428e4fed153f231be03
[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