69 Commits (d5304147b983f309ed0c9050e3b8b6f2c9f87f43)

Author SHA1 Message Date
Rich Felker 42c36f957d fix overlap of thread stacks with thread tls segments 14 years ago
Rich Felker 0a96a37f06 clean up and refactor program initialization 14 years ago
Rich Felker dcd6037150 support for TLS in dynamic-loaded (dlopen) modules 14 years ago
Rich Felker 8431d7972f TLS (GNU/C11 thread-local storage) support for static-linked programs 14 years ago
Rich Felker 0c05bd3a9c further use of _Noreturn, for non-plain-C functions 14 years ago
Rich Felker 400c5e5c83 use restrict everywhere it's required by c99 and/or posix 2008 14 years ago
Rich Felker 2f437040e7 fix (hopefully) all hard-coded 8's for kernel sigset_t size 14 years ago
Rich Felker bbbe87e35c fix several locks that weren't updated right for new futex-based __lock 14 years ago
Rich Felker 92f8396b0c fix potential race condition in detached threads 14 years ago
Rich Felker 819006a88b add pthread_attr_setstack interface (and get) 14 years ago
Rich Felker 1e597a3e9b remove no-longer-needed unblocking of signals in pthread_create 14 years ago
Rich Felker cfd892fde9 simplify cancellation push/pop slightly 14 years ago
Rich Felker 7e4d79464a make pthread stacks non-executable 14 years ago
Rich Felker 58aa5f45ed overhaul SSP support to use a real canary 14 years ago
Rich Felker e3234d0109 fix pthread_cleanup_pop(1) crash in non-thread-capable, static-linked programs 14 years ago
Rich Felker 2230218c28 small fix for new pthread cleanup stuff 14 years ago
Rich Felker afc35d5efd replace bad cancellation cleanup abi with a sane one 14 years ago
Rich Felker 3f39c9b313 fix incorrect allocation failure check in pthread_create 15 years ago
Rich Felker 3f72cdac73 overhaul clone syscall wrapping 15 years ago
Rich Felker 407d933052 pthread and synccall cleanup, new __synccall_wait op 15 years ago
Rich Felker 5f37fc132a further debloat cancellation handlers 15 years ago
Rich Felker 56385dd5fe missed detail in cancellation bloat fix 15 years ago
Rich Felker 730bee725a fix static linking dependency bloat with cancellation 15 years ago
Rich Felker dba68bf98f add proper fuxed-based locking for stdio 15 years ago
Rich Felker acb0480662 new attempt at making set*id() safe and robust 15 years ago
Rich Felker 7779dbd266 fix race condition in pthread_kill 15 years ago
Rich Felker f58c8a0f39 run dtors before taking the exit-lock in pthread exit 15 years ago
Rich Felker 6232b96f51 minor locking optimizations 15 years ago
Rich Felker 11e4b92556 optimize out useless default-attribute object in pthread_create 15 years ago
Rich Felker 4c4e22d781 optimize compound-literal sigset_t's not to contain useless hurd bits 15 years ago
Rich Felker 99b8a25e94 overhaul implementation-internal signal protections 15 years ago
Rich Felker a6054e3c94 move some more code out of pthread_create.c 15 years ago
Rich Felker 2afed79f15 pthread_exit is not supposed to affect cancellability 15 years ago
Rich Felker 1ebde9c3a2 fix pthread_exit from cancellation handler 15 years ago
Rich Felker 9080cc153c clean up handling of thread/nothread mode, locking 15 years ago
Rich Felker feee98903c overhaul pthread cancellation 15 years ago
Rich Felker 016a5dc192 use a separate signal from SIGCANCEL for SIGEV_THREAD timers 15 years ago
Rich Felker 9beb6330c0 simplify cancellation point handling 15 years ago
Rich Felker c2cd25bff8 consistency: change all remaining syscalls to use SYS_ rather than __NR_ prefix 15 years ago
Rich Felker b2486a8922 move rsyscall out of pthread_create module 15 years ago
Rich Felker 74950b336d pthread exit stuff: don't bother setting errno when we won't check it. 15 years ago
Rich Felker 622804ece7 fix rsyscall handler: must not clobber errno from signal context 15 years ago
Rich Felker 729cb49f52 new framework to inhibit thread cancellation when needed 15 years ago
Rich Felker 7fd3995282 pthread_create need not set errno 15 years ago
Rich Felker 66def4e776 block all signals during rsyscall 15 years ago
Rich Felker 1ad049b7b6 fix race condition in rsyscall handler 15 years ago
Rich Felker c9b2d8016f don't trust siginfo in rsyscall handler 15 years ago
Rich Felker f01d351842 simplify calling of timer signal handler 15 years ago
Rich Felker fd80cfa00b omit pthread tsd dtor code if tsd is not used 15 years ago
Rich Felker 4ae5e811f8 simplify setting result on thread cancellation 15 years ago