From: GNU Libc Maintainers Date: Tue, 18 Oct 2016 21:10:46 +0000 (+0000) Subject: tg-hurdsig-boot-fix X-Git-Tag: archive/raspbian/2.25-3+rpi1~1^2^2^2^2^2^2^2^2^2^2^2~106 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=807ac16eaffa447fa5752e1a9965836c438b186e;p=glibc.git tg-hurdsig-boot-fix 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 tg-hurdsig-boot-fix.diff --- diff --git a/hurd/hurdsig.c b/hurd/hurdsig.c index 62eb25602..4ffa69053 100644 --- a/hurd/hurdsig.c +++ b/hurd/hurdsig.c @@ -178,7 +178,8 @@ compat_symbol (libc, __hurd_sigstate_set_global_rcv_2_13, _hurd_sigstate_set_glo 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