summaryrefslogtreecommitdiffstats
path: root/libexec/ld.so/loader.c
AgeCommit message (Expand)AuthorFilesLines
2019-12-17Don't look up env variables until we know we'll trust them. Otherwise,guenther1-32/+21
2019-12-11ld.so may fail to remove the LD_LIBRARY_PATH environment variable formillert1-5/+7
2019-12-07Disable ltrace for objects linked with -znow, as at least on amd64, linkingguenther1-3/+13
2019-10-04Convert the child_list member from a linked list to a vector.guenther1-11/+24
2019-10-03Use a better algorithm for calculating the grpsym library order.guenther1-4/+2
2019-08-06Factor out TEXTREL mprotecting from the per-arch files into _dl_rtld(),guenther1-1/+32
2019-08-04Simplify _dl_find_symbol(). Currently, it returns three values:guenther1-26/+20
2019-07-21In 2004, we upgraded to binutils 2.14 with did -zcombreloc by default.guenther1-30/+1
2019-06-07make gc workaround compile on non-clangderaadt1-1/+3
2019-06-04Disable the unmapping of ld.so's boot data for now, as boehm-gc apparentlyguenther1-1/+3
2019-05-12Indentation fixguenther1-2/+2
2019-05-11Prune visited leaves when walking dependencies to call init functions inguenther1-5/+4
2019-05-10ld.so boot cleanup support:guenther1-26/+83
2018-12-03DT_MIPS_RLD_MAP is an offset, so relocate it when present.guenther1-3/+4
2018-11-20On mips64, DT_DEBUG doesn't need mprotecting if it's in the GNU_RELRO segmentguenther1-6/+8
2018-11-16Finish ld.so's transition to GNU_RELRO: eliminate support for usingguenther1-1/+12
2018-10-23Delay processing of ld.so's own PT_GNU_RELRO section until after environmentguenther1-15/+50
2018-10-22Use int, not char*, for booleansguenther1-11/+11
2017-12-08Everyone knows this as ld.so, nor by the ancient name rtld.deraadt1-2/+2
2017-10-26If LD_BIND_NOW is in force then all relocations are performed eagerly,guenther1-1/+5
2017-02-08Provide size-generic ELF_NO_ADDR in <sys/exec_elf.h> and use that insteadguenther1-2/+2
2017-01-24On fatal errors, kill ourselves with thrkill(0,9,NULL) instead ofguenther1-30/+20
2017-01-09Remove dependency on __got_{start,end} symbols and look at PT_GNU_RELROkettenis1-20/+1
2016-08-28fix a commentguenther1-2/+2
2016-08-23Implement support for DT_INIT_ARRAY, DT_FINI_ARRAY and DT_PREINIT_ARRAY.kettenis1-22/+56
2016-08-14Mark the relro/got section as read-only before setting up the environmentguenther1-3/+3
2016-08-12the slimmed down random functions inside ld.so are strict clones of thederaadt1-2/+2
2016-08-08Look for a PT_GNU_RELRO section per object and, if present, mprotect thatguenther1-32/+40
2016-07-04Remove prebind support: binding to symbol table indices is too fragileguenther1-17/+1
2016-06-08Some ELF ABIs still require a PLT that is both writable and executable. Tokettenis1-1/+12
2016-06-05Avoid W^X violation when setting DT_DEBUG on mips64.kettenis1-2/+2
2016-05-07Use a Thread Information Block in both single and multi-threaded programs.guenther1-4/+18
2016-03-24Unbreak arm and m88k: COPY relocations for weak symbols that are overloadedguenther1-3/+15
2016-03-20Export environ and __progname, making the latter a copy of just the filenameguenther1-17/+35
2015-11-15ldd(1) sets environment variable LD_TRACE_LOADED_OBJECTS to tell ld.soderaadt1-2/+5
2015-08-18_dl_malloc() proto exists, do not cast resultderaadt1-2/+2
2015-05-06Fix a memory leak in _dl_load_dep_libs()jsg1-1/+3
2015-01-22delete annoying white space that annoyderaadt1-3/+3
2015-01-16<sys/param.h> to <limits.h> conversion. Verified binariesderaadt1-2/+1
2014-11-03Eliminate RTLD_PROTECT_PLT: ld.so is built with -Bsymbolic so theguenther1-17/+8
2014-07-10check all memory allocations; ok miod@ guenther@otto1-2/+5
2014-07-06allocate two things, test two pointers; ok miod@ guenther@otto1-2/+2
2014-06-21Move to a non-zeroing _dl_malloc, a _dl_calloc and _dl_reallocarry andotto1-4/+7
2014-02-16Unbreak ld.so with ssp-strong/all on sparc64 and powerpc. With themartynas1-188/+1
2014-01-23Remove LD_NORANDOM feature. It serves no usable purpose. Determinismderaadt1-17/+10
2014-01-18Make ld.so pass its cleanup handler in $2 as required by the MIPS System Vkettenis1-24/+1
2013-12-25Pass _dl_dtors as the csu cleanup routine on shmiod1-2/+2
2013-12-25Pass _dl_dtors as the csu cleanup routine on arm.miod1-2/+2
2013-12-25Pass _dl_dtors as the csu cleanup routine on m68k and m88k; change themiod1-4/+2
2013-12-25Make ld.so pass its cleanup handler in %g1 as required by the SPARC System Vkettenis1-2/+3