Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
musl
/
c6a61df183104616ed3d4c68922752623545af16
/
ldso
50cd023
fix invalid-/double-/use-after-free in new dlopen ctor execution
by Rich Felker
· 6 years ago
43e7efb
avoid malloc of ctor queue for programs with no external deps
by Rich Felker
· 6 years ago
f034f14
avoid malloc of deps arrays for ldso and vdso
by Rich Felker
· 6 years ago
e612d09
avoid malloc of deps array for programs with no external deps
by Rich Felker
· 6 years ago
2f1f51a
fix malloc misuse for startup ctor queue, breakage on fdpic archs
by Rich Felker
· 6 years ago
8e43b56
synchronize shared library dtor exec against concurrent loads/ctors
by Rich Felker
· 6 years ago
188759b
overhaul shared library ctor execution for dependency order, concurrency
by Rich Felker
· 6 years ago
8820736
record preloaded libraries as direct pseudo-dependencies of main app
by Rich Felker
· 6 years ago
0c5c8f5
fix unsafety of new ldso dep tracking in presence of malloc replacement
by Rich Felker
· 6 years ago
4035556
fix and overhaul dlsym depedency order, always record direct deps
by Rich Felker
· 6 years ago
71db5df
fix crash/misbehavior from oob read in new dynamic tls installation
by Rich Felker
· 6 years ago
6516282
fix crash in new dynamic tls installation when last dep lacks tls
by Rich Felker
· 6 years ago
ba18c1e
add membarrier syscall wrapper, refactor dynamic tls install to use it
by Rich Felker
· 6 years ago
609dd57
fix loop logic cruft in dynamic tls installation
by Rich Felker
· 6 years ago
9d44b64
install dynamic tls synchronously at dlopen, streamline access
by Rich Felker
· 6 years ago
1c84c99
add new stage 2b to dynamic linker bootstrap for thread pointer
by Rich Felker
· 6 years ago
b36c37f
fix misleading placement of statement on same line as for loop in ldso
by Rich Felker
· 6 years ago
37cd167
fix dlsym of thread-local symbols on archs with DTP_OFFSET!=0
by Rich Felker
· 6 years ago
b6d701a
combine arch ABI's DTP_OFFSET into DTV pointers
by Rich Felker
· 6 years ago
0beb9df
add TLSDESC support for 32-bit arm
by Rich Felker
· 6 years ago
7b3348a
support setting of default thread stack size via PT_GNU_STACK header
by Rich Felker
· 6 years ago
13d1afa
overhaul internally-public declarations using wrapper headers
by Rich Felker
· 6 years ago
1bbe166
move tlsdesc and internal dl function declarations to dynlink.h
by Rich Felker
· 6 years ago
91c6a18
move declarations of tls setup/access functions to pthread_impl.h
by Rich Felker
· 6 years ago
55a1c9c
move declarations for malloc internals to malloc_impl.h
by Rich Felker
· 6 years ago
18bf082
improve machinery for ldso to report libc version
by Rich Felker
· 6 years ago
9b95fd0
define and use internal macros for hidden visibility, weak refs
by Rich Felker
· 6 years ago
5c2f46a
block dlopen of libraries with initial-exec refs to dynamic TLS
by Rich Felker
· 6 years ago
5fdccbc
fix inefficient choice of tlsdesc function due to off-by-one
by Rich Felker
· 6 years ago
193338e
avoid spurious dso matches by dladdr outside bounds of load segments
by Rich Felker
· 6 years ago
f6870d6
make dladdr consistently produce the first symbol in presence of aliases
by Rich Felker
· 6 years ago
c8b49b2
fix symtab-order-dependent spurious matches in dladdr
by Rich Felker
· 6 years ago
8b8fb7f
correctly handle non-matching symbols in dladdr
by Rich Felker
· 6 years ago
e829695
avoid using undefined pointer arithmetic in dladdr
by Rich Felker
· 6 years ago
68a5a23
fix dynamic linker mapping/clearing bss in first/only LOAD segment
by Rich Felker
· 6 years ago
610c5a8
fix TLS layout of TLS variant I when there is a gap above TP
by Szabolcs Nagy
· 6 years ago
b4b1e10
reintroduce hardening against partially-replaced allocator
by Rich Felker
· 7 years ago
d610c14
enable reclaim_gaps for fdpic
by Rich Felker
· 7 years ago
ce7ae11
ldso, malloc: implement reclaim_gaps via __malloc_donate
by Alexander Monakov
· 7 years ago
376b3c5
disallow non-absolute rpath $ORIGIN for suid/sgid/AT_SECURE processes
by Rich Felker
· 7 years ago
f0b235c
honor rpath $ORIGIN for ldd/ldso command with program in working dir
by Rich Felker
· 7 years ago
b3ae7be
adjust dladdr dli_fbase definition to match other implementations
by Rich Felker
· 7 years ago
a71b46c
fix malloc state corruption when ldso rejects loading a second libc
by Rich Felker
· 7 years ago
f3055e0
allow specifying argv[0] when invoking a program via ldso command
by Rich Felker
· 7 years ago
43c423a
fix regression in dlopen promotion from RTLD_LOCAL to RTLD_GLOBAL
by Rich Felker
· 7 years ago
66b53cf
ldso: avoid spurious & possible erroneous work for libs with no deps
by Rich Felker
· 7 years ago
0c53178
fix dlopen/dlsym regression opening libs already loaded at startup
by Rich Felker
· 8 years ago
a393d5c
precalculate gnu hash rather than doing it lazily in find_sym inner loop
by Rich Felker
· 8 years ago
cb52539
remove unused refcnt field for shared libraries
by Rich Felker
· 8 years ago
c49d3c8
avoid loading of multiple libc versions via explicit pathname
by Rich Felker
· 8 years ago
6476b81
emulate lazy relocation as deferrable relocation
by Rich Felker
· 8 years ago
4823b13
reorder addend handling before symbol lookup in relocation code
by Rich Felker
· 8 years ago
4ff234f
rework ldso handling of global symbol table for consistency
by Rich Felker
· 8 years ago
c9783e4
treat STB_WEAK and STB_GNU_UNIQUE like STB_GLOBAL in find_sym
by Szabolcs Nagy
· 8 years ago
1f53e7d
fix crashes in x32 __tls_get_addr
by rofl0r
· 8 years ago
27b3fd6
fix crash from corrupted tls module list after failed dlopen
by Rich Felker
· 8 years ago
5448289
treat null vdso base same as missing
by Bobby Bingham
· 8 years ago
b418ea1
generalize ELF hash table types not to assume 32-bit entries
by Rich Felker
· 8 years ago
5ffe515
fix ldso reserved library name handling
by Szabolcs Nagy
· 8 years ago
86e8cc0
fix accidental global static pointer in ldso
by Szabolcs Nagy
· 8 years ago
71392a9
generalize mips-specific reloc code not to hard-code sym/type encoding
by Rich Felker
· 9 years ago
2d0290d
fix regression in SH/FDPIC dynamic linker
by Rich Felker
· 9 years ago
c18d05f
ldso: fix GDB dynamic linker info on MIPS
by Felix Fietkau
· 9 years ago
140ad50
fix regression in dynamic-linked tls when both main app & libs have tls
by Rich Felker
· 9 years ago
5552ce5
move dynamic linker to its own top-level directory, ldso
by Rich Felker
· 9 years ago