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