summaryrefslogtreecommitdiff
path: root/ldso/dynlink.c
AgeCommit message (Expand)AuthorFilesLines
2019-06-25remove unnecessary and problematic _Noreturn from crt/ldso startupRich Felker1-2/+2
2019-05-16fix tls offsets when p_vaddr%p_align != 0 on TLS_ABOVE_TP targetsSzabolcs Nagy1-3/+4
2019-05-16fix static tls offsets of shared libs on TLS_ABOVE_TP targetsSzabolcs Nagy1-4/+2
2019-05-12remove unused struct dso members from dynlink.cFangrui Song1-1/+0
2019-04-10overhaul i386 syscall mechanism not to depend on external asm sourceRich Felker1-0/+3
2019-04-06fix the use of syscall result in dl_mmapIlya Matveychikov1-1/+1
2019-04-02delete a redundant if in dynamic linker ctor execution loopRay1-1/+0
2019-03-10fix invalid-/double-/use-after-free in new dlopen ctor executionRich Felker1-1/+2
2019-03-03avoid malloc of ctor queue for programs with no external depsRich Felker1-2/+9
2019-03-03avoid malloc of deps arrays for ldso and vdsoRich Felker1-0/+3
2019-03-03avoid malloc of deps array for programs with no external depsRich Felker1-3/+10
2019-03-03fix malloc misuse for startup ctor queue, breakage on fdpic archsRich Felker1-5/+9
2019-03-03synchronize shared library dtor exec against concurrent loads/ctorsRich Felker1-1/+17
2019-03-03overhaul shared library ctor execution for dependency order, concurrencyRich Felker1-17/+101
2019-03-02record preloaded libraries as direct pseudo-dependencies of main appRich Felker1-4/+11
2019-03-02fix unsafety of new ldso dep tracking in presence of malloc replacementRich Felker1-1/+13
2019-02-27fix and overhaul dlsym depedency order, always record direct depsRich Felker1-34/+79
2019-02-27fix crash/misbehavior from oob read in new dynamic tls installationRich Felker1-1/+1
2019-02-25fix crash in new dynamic tls installation when last dep lacks tlsRich Felker1-1/+4
2019-02-22add membarrier syscall wrapper, refactor dynamic tls install to use itRich Felker1-32/+6
2019-02-22fix loop logic cruft in dynamic tls installationRich Felker1-1/+1
2019-02-18install dynamic tls synchronously at dlopen, streamline accessRich Felker1-42/+79
2018-10-16add new stage 2b to dynamic linker bootstrap for thread pointerRich Felker1-10/+23
2018-10-15fix misleading placement of statement on same line as for loop in ldsoRich Felker1-1/+2
2018-10-12fix dlsym of thread-local symbols on archs with DTP_OFFSET!=0Rich Felker1-3/+3
2018-10-12combine arch ABI's DTP_OFFSET into DTV pointersRich Felker1-14/+11
2018-10-01add TLSDESC support for 32-bit armRich Felker1-0/+7
2018-09-18support setting of default thread stack size via PT_GNU_STACK headerRich Felker1-0/+12
2018-09-12overhaul internally-public declarations using wrapper headersRich Felker1-2/+0
2018-09-12move tlsdesc and internal dl function declarations to dynlink.hRich Felker1-4/+0
2018-09-12move declarations of tls setup/access functions to pthread_impl.hRich Felker1-4/+0
2018-09-12move declarations for malloc internals to malloc_impl.hRich Felker1-1/+1
2018-09-12improve machinery for ldso to report libc versionRich Felker1-3/+1
2018-09-05define and use internal macros for hidden visibility, weak refsRich Felker1-20/+10
2018-07-16block dlopen of libraries with initial-exec refs to dynamic TLSRich Felker1-0/+8
2018-07-16fix inefficient choice of tlsdesc function due to off-by-oneRich Felker1-1/+1
2018-06-28avoid spurious dso matches by dladdr outside bounds of load segmentsRich Felker1-1/+10
2018-06-28make dladdr consistently produce the first symbol in presence of aliasesRich Felker1-1/+1
2018-06-28fix symtab-order-dependent spurious matches in dladdrRich Felker1-5/+8
2018-06-27correctly handle non-matching symbols in dladdrRich Felker1-4/+13
2018-06-27avoid using undefined pointer arithmetic in dladdrRich Felker1-8/+9
2018-06-26fix dynamic linker mapping/clearing bss in first/only LOAD segmentRich Felker1-6/+5
2018-06-02fix TLS layout of TLS variant I when there is a gap above TPSzabolcs Nagy1-2/+3
2018-04-19reintroduce hardening against partially-replaced allocatorRich Felker1-0/+9
2018-04-17enable reclaim_gaps for fdpicRich Felker1-2/+18
2018-04-17ldso, malloc: implement reclaim_gaps via __malloc_donateAlexander Monakov1-12/+4
2018-02-07disallow non-absolute rpath $ORIGIN for suid/sgid/AT_SECURE processesRich Felker1-0/+3
2018-02-07honor rpath $ORIGIN for ldd/ldso command with program in working dirRich Felker1-1/+10
2018-02-02adjust dladdr dli_fbase definition to match other implementationsRich Felker1-1/+1
2017-11-13fix malloc state corruption when ldso rejects loading a second libcRich Felker1-3/+4