Rich Felker
|
50cd02386b
fix invalid-/double-/use-after-free in new dlopen ctor execution
|
5 years ago |
Rich Felker
|
4918b7fb0d
don't reject unknown/future flags in sigaltstack, allow SS_AUTODISARM
|
5 years ago |
Rich Felker
|
43e7efb465
avoid malloc of ctor queue for programs with no external deps
|
5 years ago |
Rich Felker
|
f034f145bd
avoid malloc of deps arrays for ldso and vdso
|
5 years ago |
Rich Felker
|
e612d094b1
avoid malloc of deps array for programs with no external deps
|
5 years ago |
Rich Felker
|
2f1f51ae7b
fix malloc misuse for startup ctor queue, breakage on fdpic archs
|
5 years ago |
Rich Felker
|
8e43b5613e
synchronize shared library dtor exec against concurrent loads/ctors
|
5 years ago |
Rich Felker
|
188759bbee
overhaul shared library ctor execution for dependency order, concurrency
|
5 years ago |
Rich Felker
|
88207361ea
record preloaded libraries as direct pseudo-dependencies of main app
|
5 years ago |
Rich Felker
|
0c5c8f5da6
fix unsafety of new ldso dep tracking in presence of malloc replacement
|
5 years ago |
Rich Felker
|
4035556907
fix and overhaul dlsym depedency order, always record direct deps
|
5 years ago |
Rich Felker
|
71db5dfaa9
fix crash/misbehavior from oob read in new dynamic tls installation
|
5 years ago |
Rich Felker
|
6516282d2a
fix crash in new dynamic tls installation when last dep lacks tls
|
5 years ago |
Rich Felker
|
ba18c1ecc6
add membarrier syscall wrapper, refactor dynamic tls install to use it
|
5 years ago |
Rich Felker
|
7865d569de
make thread list lock a recursive lock
|
5 years ago |
Rich Felker
|
609dd57c4e
fix loop logic cruft in dynamic tls installation
|
5 years ago |
Rich Felker
|
ad795d56ba
fix spurious undefined behavior in getaddrinfo
|
5 years ago |
Rich Felker
|
224d938c5e
fix invalid free of partial addrinfo list with multiple services
|
5 years ago |
Rich Felker
|
9d44b6460a
install dynamic tls synchronously at dlopen, streamline access
|
5 years ago |
Rich Felker
|
805288929f
fix data race between new pthread_key_delete and dtor execution
|
5 years ago |
Rich Felker
|
639bcf251e
introduce namespace-safe rwlock aliases; use in pthread_key_create
|
5 years ago |
Rich Felker
|
ba74a42cee
rewrite pthread_key_delete to use global thread list
|
5 years ago |
Rich Felker
|
e4235d7067
rewrite __synccall in terms of global thread list
|
5 years ago |
Rich Felker
|
8f11e6127f
track all live threads in an AS-safe, fully-consistent linked list
|
5 years ago |
Rich Felker
|
04335d9260
always block signals for starting new threads, refactor start args
|
5 years ago |
Rich Felker
|
5b74eed3b3
for SIGEV_THREAD timer threads, replace signal handler with sigwaitinfo
|
5 years ago |
Rich Felker
|
aa5a9d15e0
defer free of thread-local dlerror buffers from inconsistent context
|
5 years ago |
Rich Felker
|
b2020571f0
fix behavior of gets when input line contains a null byte
|
5 years ago |
Rich Felker
|
099b89d384
redesign robust mutex states to eliminate data races on type field
|
5 years ago |
Rich Felker
|
042b3ee452
fail fdopendir for O_PATH file descriptors
|
5 years ago |