From: GNU Libc Maintainers Date: Wed, 25 Mar 2020 12:56:56 +0000 (+0000) Subject: git-hurdsig-boot-fix X-Git-Tag: archive/raspbian/2.30-4+rpi1^2~84 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=6d840b2df4606fbc329fa2461994b623041cd33c;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