summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2019-02-21 22:02:00 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2019-02-21 22:02:00 +0100
commit3611e70524a330d1d177259812e5f9f5c609158a (patch)
tree6e6318886152b7ca3ccadbc0febebba3a8a2db71
parent09ac56ee3bd5e4b9684e09c0653062a71125345d (diff)
parent52629237a522c7c146d788ddaaf69946fd2729f9 (diff)
Merge branch 't/hurdsig-boot-fix' into refs/top-bases/t/libpthread_sigs
-rw-r--r--hurd/hurdsig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
index 3ea61ccf0f..3ada31483e 100644
--- a/hurd/hurdsig.c
+++ b/hurd/hurdsig.c
@@ -162,7 +162,8 @@ _hurd_sigstate_set_global_rcv (struct hurd_sigstate *ss)
static int
sigstate_is_global_rcv (const struct hurd_sigstate *ss)
{
- return ss->actions[0].sa_handler == SIG_IGN;
+ return (_hurd_global_sigstate != NULL)
+ && (ss->actions[0].sa_handler == SIG_IGN);
}
/* Lock/unlock a hurd_sigstate structure. If the accessors below require