Skip to content

Commit

Permalink
(__pthread_initialize_minimal_internal): Also unblock SIGSETXID.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ulrich Drepper committed Dec 9, 2004
1 parent f57a3c9 commit 708bfb9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion nptl/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 708bfb9

Please sign in to comment.