57 Commits (25d575edc494e5a519468889e62beea4dde186ea)

Author SHA1 Message Date
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
Rich Felker 3df3d4f512 fix misspelled PTHREAD_CANCELED constant 15 years ago
Rich Felker bf619d82c8 major improvements to cancellation handling 15 years ago
Rich Felker ea343364a7 match glibc/lsb cancellation abi on i386 15 years ago
Rich Felker b470030f83 overhaul cancellation to fix resource leaks and dangerous behavior with signals 15 years ago
Rich Felker aa398f56fa global cleanup to use the new syscall interface 15 years ago
Rich Felker 685e40bb09 syscall overhaul part two - unify public and internal syscall interface 15 years ago
Rich Felker d00ff2950e overhaul syscall interface 15 years ago
Rich Felker 29fae65780 cut out a syscall on thread creation in the case where guard size is 0 15 years ago
Rich Felker 5eb0d33ec0 implement flockfile api, rework stdio locking 15 years ago
Rich Felker 5fcebcde6a optimize pthread termination in the non-detached case 15 years ago
Rich Felker 52213f7341 security fix: check that cancel/rsyscall signal was sent by the process itself 15 years ago
Rich Felker 98e02144da use rt_sigprocmask, not legacy sigprocmask, syscall in pthread exit code 15 years ago