summaryrefslogtreecommitdiff
path: root/hurd
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2012-11-27 22:53:18 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2012-11-27 22:53:18 +0100
commit8a18aa8e13a3bfd8db9f6a6edf6ca8bd6a90a0a4 (patch)
tree93a64cef02820af25fe1139c74657b290a14575e /hurd
parent220aeecdde94c6c56c8ebe3a2c96fe527a29f5d9 (diff)
parent1ae3533fc2c364e3b99696a45076ceaee17cc79f (diff)
Merge branch 't/hurdsig-boot-fix' into refs/top-bases/tschwinge/Roger_Whittaker
Diffstat (limited to 'hurd')
-rw-r--r--hurd/hurdsig.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c
index 736ce3d9e5..87c685bf90 100644
--- a/hurd/hurdsig.c
+++ b/hurd/hurdsig.c
@@ -159,7 +159,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