]> git.ipfire.org Git - thirdparty/glibc.git/commit
hurd: Fix SS_ONSTACK support
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 29 Aug 2019 23:48:38 +0000 (01:48 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Thu, 29 Aug 2019 23:48:38 +0000 (01:48 +0200)
commita644a4b2139c7f2a79392431fc8e3413f0e1da04
tree8c0f2f2682f10a9e1c05a4de809cdbfe7f899262
parentc9536b7b9ddb111bded10e7252da28a6826771d1
hurd: 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.
ChangeLog
sysdeps/mach/hurd/i386/sigreturn.c