summaryrefslogtreecommitdiff
path: root/libexec/ld.so
AgeCommit message (Expand)Author
2023-01-20amd64 now has xonly support via the PKU feature. Marking ld.so exec-onlyTheo de Raadt
2023-01-12Use proper sparc64 illtrap instruction as text sections filler, rather thanMiod Vallat
2023-01-11be very paranoid like other architectures and force no-jump-tablesTheo de Raadt
2023-01-11put LD_SCRIPT in the canonical locationTheo de Raadt
2023-01-11Add ld.so linker scripts on the remaining platforms.Miod Vallat
2023-01-11force-disable jump tables in ld.so building on sparc64, to ease theTheo de Raadt
2023-01-11the kernel on mips64 (octeon, loongson) is in good enough shape to runTheo de Raadt
2023-01-11Add retguard to amd64 syscalls.Todd Mortimer
2023-01-10hppa ld.so works with executable-only text (non-readable)Theo de Raadt
2023-01-09riscv64 ld.so is ready to be xonlyTheo de Raadt
2023-01-09Rewrite the hppa assembly code to avoid reads from .text, by using theMark Kettenis
2023-01-09In preparation for upcoming execute-only support, change the magic branchMark Kettenis
2022-12-25Re-enable DT_MIPS_RLD_MAP_REL tag in ld.soVisa Hankala
2022-12-24Make .text (and .btext) execute-only on arm64.Mark Kettenis
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-05Add linker script for hppa. The crucial bit is that hppa needs an extraMark Kettenis
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-25Add ld.so linker script for mips64Visa Hankala
2022-11-14Since the introduction of automatic immutable from the kernel, the munmap()Theo de Raadt
2022-11-14Since the introduction of automatic immutable from the kernel, the munmap()Theo de Raadt
2022-11-14Since the introduction of automatic immutable from the kernel, the munmap()Theo de Raadt
2022-11-14Since the introduction of automatic immutable from the kernel, the munmap()Theo de Raadt
2022-11-10Since the introduction of automatic immutable from the kernel, the munmap()Mark Kettenis
2022-11-09Now that dlopen() sets object->nodelete for RTLD_NODELETE, _dl_load_dep_libs()Theo de Raadt
2022-11-09dlopen() with RTLD_NODELETE should also set the object nodelete flag,Theo de Raadt
2022-11-09Since the introduction of automatic immutable from the kernel, the munmap()Theo de Raadt
2022-11-08In the new scheme, the main executable object needs to be markedTheo de Raadt
2022-11-08Since the introduction of automatic immutable from the kernel, the munmap()Theo de Raadt
2022-11-08Instead of unmapping boot.text, and then a future allocation could land inTheo de Raadt
2022-11-07Missed an ALIGN (which I will admit I do not understand, this is voodoo)Theo de Raadt
2022-11-07Since the introduction of automatic immutable from the kernel, the munmap()Theo 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-11-05The /var/run/ld.so.hints file is mapped into memory. It is never replaced,Theo de Raadt
2022-11-05teach ld.so how to call the mimmutable() system callTheo de Raadt
2022-10-28Implement support for DT_MIPS_RLD_MAP_REL.Mark Kettenis
2022-09-05Do not perform out-of-bounds arrray accesses for bogus relocation type values.Miod Vallat
2022-09-02Use a shorter system call invocation template for system calls in the rangeMiod Vallat
2022-08-29use ansi volatile keyword, not __volatile__Jonathan Gray
2022-08-20Support RTLD_NOLOAD in ld.so. From guenther@. OK jca@ guenther@Stuart Henderson
2022-06-14Document search orderKlemens Nanni
2022-05-24Address the clang 13 "changed binding to STB_WEAK" warning on arm (32bit):Philip Guenther
2022-05-10Prevent out-of-bounds array access with binaries that use unsupportedMark Kettenis
2022-05-01Prevent out-of-bounds array access with binaries that use unsupportedMark Kettenis
2022-01-31Nothing depends on archdep.h pulling in other #includes anymore,Philip Guenther