summaryrefslogtreecommitdiff
path: root/libexec/ld.so/loader.c
AgeCommit message (Expand)Author
2024-01-22ugly whitespacesTheo de Raadt
2024-01-19Stop initializing pinsyscall(SYS_execve in dynamic binaries that containTheo de Raadt
2024-01-17very ugly whitespacesTheo de Raadt
2024-01-16Read PT_OPENBSD_SYSCALLS in libc.so, and convert it to a table forTheo de Raadt
2024-01-14Whenever we have a libc major bump, we run the risk that dependent sharedMark Kettenis
2023-12-19whitespacesTheo de Raadt
2023-12-19correct alignment placementTheo de Raadt
2023-12-18correct section the SYS_kbind syscall pin record goes intoTheo de Raadt
2023-12-12To avoid kbind(2) becoming a powerful gadget, it is called inline to aTheo de Raadt
2023-08-15Improve handling of dlopen(RTLD_TRACE) aka ldd, of a library thatPhilip Guenther
2023-07-08turn an ifdef'd _dl_printf call into DL_DEB and various whitespace fixesJasper Lievisse Adriaanse
2023-02-20Adjust inline !libc check to match the intent in ld.soGreg Steuck
2023-02-18Lookup the start,len of the "execve" stub in libc.so, and tell the kernelTheo de Raadt
2023-01-29Accumulate intermediate imutables locally before applyingGreg Steuck
2022-12-25Re-enable DT_MIPS_RLD_MAP_REL tag in ld.soVisa Hankala
2022-12-18cannot try the boot.data unmap until all the ld.script are commited, andTheo de Raadt
2022-12-16delete // debug comment chunks. If anyone wants to debug ld.so and runsTheo de Raadt
2022-12-04ld.so: Disable DT_MIPS_RLD_MAP_RELVisa Hankala
2022-12-04The next step for mimmutable(). ld.so figures out what regions of memoryTheo de Raadt
2022-11-09Now that dlopen() sets object->nodelete for RTLD_NODELETE, _dl_load_dep_libs()Theo de Raadt
2022-11-08In the new scheme, the main executable object needs to be markedTheo de Raadt
2022-11-08Instead of unmapping boot.text, and then a future allocation could land inTheo de Raadt
2022-11-07dtors were broken by trying to reuse DF_1_NODELETE to hint that thisTheo de Raadt
2022-11-06TEXTREL binaries are loaded without immutable on un-writeable sections.Theo de Raadt
2022-11-06ld.so wants to make it's own RELRO immutable, which is obviously doneTheo de Raadt
2022-11-06Library RELRO sections are excluded from the immutable list, because ld.soTheo de Raadt
2022-11-06When loading startup libraries, pass DF_1_NODELETE to indicate these areTheo de Raadt
2022-10-28Implement support for DT_MIPS_RLD_MAP_REL.Mark Kettenis
2022-01-08Prep .c files for removing the #includes from */archdep.hPhilip Guenther
2021-12-23Roll the syscalls that have an off_t argument to remove the explicit padding.Philip Guenther
2021-11-12Add support for RELR relocations in the executable and share objects.Philip Guenther
2021-05-25program headers: do not rely on DYNAMIC coming before GNU_RELROkn
2021-03-16On i386 don't attempt to map shared libraries in low memory whenKurt Miller
2019-12-17Don't look up env variables until we know we'll trust them. Otherwise,Philip Guenther
2019-12-11ld.so may fail to remove the LD_LIBRARY_PATH environment variable forTodd C. Miller
2019-12-07Disable ltrace for objects linked with -znow, as at least on amd64, linkingPhilip Guenther
2019-10-04Convert the child_list member from a linked list to a vector.Philip Guenther
2019-10-03Use a better algorithm for calculating the grpsym library order.Philip Guenther
2019-08-06Factor out TEXTREL mprotecting from the per-arch files into _dl_rtld(),Philip Guenther
2019-08-04Simplify _dl_find_symbol(). Currently, it returns three values:Philip Guenther
2019-07-21In 2004, we upgraded to binutils 2.14 with did -zcombreloc by default.Philip Guenther
2019-06-07make gc workaround compile on non-clangTheo de Raadt
2019-06-04Disable the unmapping of ld.so's boot data for now, as boehm-gc apparentlyPhilip Guenther
2019-05-12Indentation fixPhilip Guenther
2019-05-11Prune visited leaves when walking dependencies to call init functions inPhilip Guenther
2019-05-10ld.so boot cleanup support:Philip Guenther
2018-12-03DT_MIPS_RLD_MAP is an offset, so relocate it when present.Philip Guenther
2018-11-20On mips64, DT_DEBUG doesn't need mprotecting if it's in the GNU_RELRO segmentPhilip Guenther
2018-11-16Finish ld.so's transition to GNU_RELRO: eliminate support for usingPhilip Guenther
2018-10-23Delay processing of ld.so's own PT_GNU_RELRO section until after environmentPhilip Guenther