From: Ulrich Drepper Date: Thu, 9 Dec 2004 23:53:39 +0000 (+0000) Subject: (__pthread_initialize_minimal_internal): Also unblock SIGSETXID. X-Git-Tag: cvs/fedora-glibc-20041210T0634~4 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=708bfb9a90fca1ecf14668e7455d747d7e8b152c;p=thirdparty%2Fglibc.git (__pthread_initialize_minimal_internal): Also unblock SIGSETXID. --- diff --git a/nptl/init.c b/nptl/init.c index a18078edb8c..3751e6be776 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);