2012-09-05 Richard Braun <rbraun@sceen.net>
* hurd/hurdsig.c (sigstate_is_global_rcv): Do not return true
if _HURD_GLOBAL_SIGSTATE is null.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name tg-hurdsig-boot-fix.diff
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