summaryrefslogtreecommitdiff
path: root/ldso/dynlink.c
AgeCommit message (Expand)AuthorFilesLines
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
2017-07-04allow specifying argv[0] when invoking a program via ldso commandRich Felker1-0/+7
2017-07-04fix regression in dlopen promotion from RTLD_LOCAL to RTLD_GLOBALRich Felker1-1/+6
2017-07-04ldso: avoid spurious & possible erroneous work for libs with no depsRich Felker1-4/+7
2017-03-21fix dlopen/dlsym regression opening libs already loaded at startupRich Felker1-2/+2
2017-03-15precalculate gnu hash rather than doing it lazily in find_sym inner loopRich Felker1-8/+2
2017-03-14remove unused refcnt field for shared librariesRich Felker1-4/+0
2017-03-14avoid loading of multiple libc versions via explicit pathnameRich Felker1-1/+11
2017-03-14emulate lazy relocation as deferrable relocationRich Felker1-3/+66
2017-03-13reorder addend handling before symbol lookup in relocation codeRich Felker1-16/+17
2017-03-12rework ldso handling of global symbol table for consistencyRich Felker1-44/+53
2017-03-11treat STB_WEAK and STB_GNU_UNIQUE like STB_GLOBAL in find_symSzabolcs Nagy1-3/+1
2017-01-13fix crashes in x32 __tls_get_addrrofl0r1-5/+5
2017-01-04fix crash from corrupted tls module list after failed dlopenRich Felker1-0/+1
2016-11-11treat null vdso base same as missingBobby Bingham1-1/+1