summaryrefslogtreecommitdiff
path: root/sysdeps/mach
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-28 21:05:06 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2018-12-28 21:05:06 +0100
commitab9a3c905ae0ce0b72165106bccb827974bc4092 (patch)
treeafd65fd00be140e80507e6b7162ad5901b432f6a /sysdeps/mach
parent10d0c2a3ad1ab37fee9458d9f9ba36f023179ece (diff)
Diffstat (limited to 'sysdeps/mach')
-rw-r--r--sysdeps/mach/hurd/i386/sigreturn.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sysdeps/mach/hurd/i386/sigreturn.c b/sysdeps/mach/hurd/i386/sigreturn.c
index 126d2f9fc4..9a61854c9a 100644
--- a/sysdeps/mach/hurd/i386/sigreturn.c
+++ b/sysdeps/mach/hurd/i386/sigreturn.c
@@ -97,13 +97,7 @@ __sigreturn (struct sigcontext *scp)
}
if (scp->sc_onstack)
- {
- ss->sigaltstack.ss_flags &= ~SS_ONSTACK;
- /* XXX cannot unlock until off sigstack */
- abort ();
- }
- else
- __spin_unlock (&ss->lock);
+ ss->sigaltstack.ss_flags &= ~SS_ONSTACK;
/* Destroy the MiG reply port used by the signal handler, and restore the
reply port in use by the thread when interrupted. */