diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-08 04:57:34 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-08 04:57:34 +0000 |
commit | a25d5bd4971bb460bd87c684d066fd58359faf32 (patch) | |
tree | b3a4b5ef6799bd0c3924fc9ba00d65023577f101 /libpthread/nptl/init.c | |
parent | 2efb2ef4f916151b8abe51fc87ed7b5411d1d91e (diff) | |
download | uClibc-alpine-a25d5bd4971bb460bd87c684d066fd58359faf32.tar.bz2 uClibc-alpine-a25d5bd4971bb460bd87c684d066fd58359faf32.tar.xz |
Fix 'sigaction' for NPTL and other thread models.
Diffstat (limited to 'libpthread/nptl/init.c')
-rw-r--r-- | libpthread/nptl/init.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libpthread/nptl/init.c b/libpthread/nptl/init.c index 6d1ead43b..f380a5c5a 100644 --- a/libpthread/nptl/init.c +++ b/libpthread/nptl/init.c @@ -264,13 +264,13 @@ __pthread_initialize_minimal_internal (void) sa.sa_flags = SA_SIGINFO; __sigemptyset (&sa.sa_mask); - (void) __libc_sigaction (SIGCANCEL, &sa, NULL); + (void) __sigaction_internal (SIGCANCEL, &sa, NULL); /* Install the handle to change the threads' uid/gid. */ sa.sa_sigaction = sighandler_setxid; sa.sa_flags = SA_SIGINFO | SA_RESTART; - (void) __libc_sigaction (SIGSETXID, &sa, NULL); + (void) __sigaction_internal (SIGSETXID, &sa, NULL); /* The parent process might have left the signals blocked. Just in case, unblock it. We reuse the signal mask in the sigaction |