1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-09-01 05:02:03 +03:00

(__pthread_initialize_minimal_internal): Also unblock SIGSETXID.

This commit is contained in:
Ulrich Drepper
2004-12-09 23:53:39 +00:00
parent f57a3c946a
commit 708bfb9a90

View File

@@ -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);