diff options
Diffstat (limited to 'libpthread/nptl/init.c')
-rw-r--r-- | libpthread/nptl/init.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libpthread/nptl/init.c b/libpthread/nptl/init.c index c1e94e7ac..a5383625f 100644 --- a/libpthread/nptl/init.c +++ b/libpthread/nptl/init.c @@ -263,13 +263,13 @@ __pthread_initialize_minimal_internal (void) sa.sa_flags = SA_SIGINFO; __sigemptyset (&sa.sa_mask); - (void) __libc_sigaction (SIGCANCEL, &sa, NULL); + (void) sigaction (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 (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 @@ -295,7 +295,7 @@ __pthread_initialize_minimal_internal (void) else { /* Round the resource limit up to page size. */ - const uintptr_t pagesz = __sysconf (_SC_PAGESIZE); + const uintptr_t pagesz = sysconf (_SC_PAGESIZE); __default_stacksize = (limit.rlim_cur + pagesz - 1) & -pagesz; } |