Fix SS_ONSTACK support
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 29 Nov 2017 03:00:21 +0000 (03:00 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Wed, 29 Nov 2017 03:00:21 +0000 (03:00 +0000)
commitf6fce8c92f806056368d6680c7ae7b64d224612c
tree3b7d395164f9c81f8681db5299b59f275e7226e1
parent5f5247b0aa0339e440285f4bd7572b0414896ee7
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