summaryrefslogtreecommitdiff
path: root/nptl/init.c
diff options
context:
space:
mode:
authorJakub Jelinek <jakub@redhat.com>2004-12-10 06:50:32 +0000
committerJakub Jelinek <jakub@redhat.com>2004-12-10 06:50:32 +0000
commitf2b016bfc98c9ced9f9572d23580d31442a3519c (patch)
treed9f2e28f30b6d4aca132126bb24de7039805fca8 /nptl/init.c
parent0e7f328d0849e8e663eb14ade5074b4e451fe276 (diff)
Updated to fedora-glibc-20041210T0634
Diffstat (limited to 'nptl/init.c')
-rw-r--r--nptl/init.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/nptl/init.c b/nptl/init.c
index a18078edb8..3751e6be77 100644
--- a/nptl/init.c
+++ b/nptl/init.c
@@ -272,10 +272,11 @@ __pthread_initialize_minimal_internal (void)
(void) __libc_sigaction (SIGSETXID, &sa, NULL);
- /* The parent process might have left the signal blocked. Just in
+ /* The parent process might have left the signals blocked. Just in
case, unblock it. We reuse the signal mask in the sigaction
structure. It is already cleared. */
__sigaddset (&sa.sa_mask, SIGCANCEL);
+ __sigaddset (&sa.sa_mask, SIGSETXID);
(void) INTERNAL_SYSCALL (rt_sigprocmask, err, 4, SIG_UNBLOCK, &sa.sa_mask,
NULL, _NSIG / 8);