From: GNU Libc Maintainers Date: Tue, 5 May 2020 18:12:38 +0000 (+0100) Subject: git-hurdsig-boot-fix X-Git-Tag: archive/raspbian/2.30-7+rpi1^2~83 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=ba9550f5c0cb11e486f0567a6d9aeb48086dd880;p=glibc.git git-hurdsig-boot-fix Committed for glibc 2.31 2012-09-05 Richard Braun * 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 git-hurdsig-boot-fix.diff --- diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index 5decf842a..3efceb6fd 100644 --- a/hurd/hurdsig.c +++ b/hurd/hurdsig.c @@ -163,7 +163,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