aboutsummaryrefslogtreecommitdiff
path: root/nptl/init.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2004-12-09 23:53:39 +0000
committerUlrich Drepper <drepper@redhat.com>2004-12-09 23:53:39 +0000
commit708bfb9a90fca1ecf14668e7455d747d7e8b152c (patch)
tree2f629920870db5666d75d01d4fd16004b86892dc /nptl/init.c
parentf57a3c946af8a254679a9718c54e50c2c0057694 (diff)
downloadglibc-708bfb9a90fca1ecf14668e7455d747d7e8b152c.tar
glibc-708bfb9a90fca1ecf14668e7455d747d7e8b152c.tar.gz
glibc-708bfb9a90fca1ecf14668e7455d747d7e8b152c.tar.bz2
glibc-708bfb9a90fca1ecf14668e7455d747d7e8b152c.zip
(__pthread_initialize_minimal_internal): Also unblock SIGSETXID.
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);