aboutsummaryrefslogtreecommitdiff
path: root/nptl/nptl-init.c
AgeCommit message (Collapse)AuthorFilesLines
2014-10-17NPTL: Clean up THREAD_SYSINFO macros.Roland McGrath1-0/+2
2014-10-17NPTL: Conditionalize direct futex syscall uses.Roland McGrath1-3/+5
2014-10-17NPTL: Conditionalize more uses of SIGCANCEL and SIGSETXID.Roland McGrath1-4/+17
2014-10-17Fix NPTL build error when missing __NR_set_robust_list.Roland McGrath1-0/+2
2014-07-11nptl: Fix abort in case of set*id failure [BZ #17135]Florian Weimer1-3/+3
If a call to the set*id functions fails in a multi-threaded program, the abort introduced in commit 13f7fe35ae2b0ea55dc4b9628763aafdc8bdc30c was triggered. We address by checking that all calls to set*id on all threads give the same result, and only abort if we see success followed by failure (or vice versa).
2014-04-01Check for syscall error in the SETXID implementation in NPTL (bug 13347).Florian Weimer1-2/+7
At this point, we can only abort the process because we have already switched credentials on other threads. Returning an error would still leave the process in an inconsistent state. The new xtest needs root privileges to run.
2014-02-10Use glibc_likely instead __builtin_expect.Ondřej Bílka1-2/+2
2014-01-01Update copyright notices with scripts/update-copyrightsAllan McRae1-1/+1
2013-06-15New API to set default thread attributesSiddhesh Poyarekar1-0/+2
This patch introduces two new convenience functions to set the default thread attributes used for creating threads. This allows a programmer to set the default thread attributes just once in a process and then run pthread_create without additional attributes.
2013-03-19Move __default_stacksize into __default_pthread_attrSiddhesh Poyarekar1-1/+2
Make __default_pthread_attr object to store default attribute values for threads.
2013-03-01Revert GLIBC_PTHREAD_DEFAULT_STACKSIZE changes.Carlos O'Donell1-52/+22
This reverts the change that allows the POSIX Thread default stack size to be changed by the environment variable GLIBC_PTHREAD_DEFAULT_STACKSIZE. It has been requested that more discussion happen before this change goes into 2.18.
2013-03-01Set default stack size from program environmentSiddhesh Poyarekar1-22/+52
New environment variable GLIBC_PTHREAD_DEFAULT_STACKSIZE to do this.
2013-01-02Update copyright notices with scripts/update-copyrights.Joseph Myers1-1/+1
2012-08-03Remove some pre-2.6.0 Linux kernel conditionals.Joseph Myers1-12/+0
2012-07-19Fix comment that describes sighandler_setxidSiddhesh Poyarekar1-1/+3
2012-05-30Remove use of INTDEF/INTUSE in nptlAndreas Schwab1-15/+15
2012-02-09Replace FSF snail mail address with URLs.Paul Eggert1-3/+2
2011-12-22Create internal threads with sufficient stack sizeUlrich Drepper1-1/+11
2011-09-15Avoid race between {,__de}allocate_stack and __reclaim_stacks during forkAndreas Schwab1-0/+1
2011-06-30Fix robust mutex handling after forkUlrich Drepper1-2/+20
2009-10-30Fix races in setXid implementation.Daniel Jacobowitz1-5/+11
2009-05-16Rename nptl/init.c to nptl/nptl-init.c.Ulrich Drepper1-0/+446
Needed to allow overwriting architectures init.c in csu and nptl individually. Fixes BZ #9924.