diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-11-16 03:36:39 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-11-16 03:36:39 +0000 |
commit | b823b17fa7dc5a15d822a4f31fe8ee846a65cfae (patch) | |
tree | cbf84b1c8fc0682e74165cc48b9baf0d7b382533 /libpthread/nptl/init.c | |
parent | 708121712921e39f6d81179c376e53d26ee817b4 (diff) | |
download | uClibc-alpine-b823b17fa7dc5a15d822a4f31fe8ee846a65cfae.tar.bz2 uClibc-alpine-b823b17fa7dc5a15d822a4f31fe8ee846a65cfae.tar.xz |
Sync with glibc reference tree and changes for uClibc thus far.
Diffstat (limited to 'libpthread/nptl/init.c')
-rw-r--r-- | libpthread/nptl/init.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/libpthread/nptl/init.c b/libpthread/nptl/init.c index e48f8ae35..ab48fa7b8 100644 --- a/libpthread/nptl/init.c +++ b/libpthread/nptl/init.c @@ -264,21 +264,13 @@ __pthread_initialize_minimal_internal (void) sa.sa_flags = SA_SIGINFO; __sigemptyset (&sa.sa_mask); -#ifdef __UCLIBC__ - (void) sigaction (SIGCANCEL, &sa, NULL); -#else (void) __libc_sigaction (SIGCANCEL, &sa, NULL); -#endif /* Install the handle to change the threads' uid/gid. */ sa.sa_sigaction = sighandler_setxid; sa.sa_flags = SA_SIGINFO | SA_RESTART; -#ifdef __UCLIBC__ - (void) sigaction (SIGSETXID, &sa, NULL); -#else (void) __libc_sigaction (SIGSETXID, &sa, NULL); -#endif /* The parent process might have left the signals blocked. Just in case, unblock it. We reuse the signal mask in the sigaction @@ -304,11 +296,7 @@ __pthread_initialize_minimal_internal (void) else { /* Round the resource limit up to page size. */ -#ifdef __UCLIBC__ - const uintptr_t pagesz = sysconf (_SC_PAGESIZE); -#else const uintptr_t pagesz = __sysconf (_SC_PAGESIZE); -#endif __default_stacksize = (limit.rlim_cur + pagesz - 1) & -pagesz; } |