summaryrefslogtreecommitdiff
path: root/libexec/ld.so
AgeCommit message (Expand)Author
2023-05-18If you disable retpolineplt then _dl_bind_start is called with anPhilip Guenther
2023-04-27revert cache lookup for full pathnamesRobert Nagy
2023-04-25endbr64 is potentially neccessary in the syscall stubs.Theo de Raadt
2023-04-24Since ENTRY() already inserts a BTI instructions so don't add another one.Mark Kettenis
2023-04-24do a cache lookup as well in case a full pathname is passed to dlopenRobert Nagy
2023-04-13Avoid an overflow in the ELF SYSV ABI hash function.Todd C. Miller
2023-04-09Treat symlinks better in $ORIGIN determination in ld.soGreg Steuck
2023-03-31Call entry point of the executable through register x17. This allows itMark Kettenis
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-02-10Explicitly mark the text LOAD as FLAGS(5), meaning RX, with a comment.Theo de Raadt
2023-02-02unify spacing for LOAD FLAGS linesTheo de Raadt
2023-02-02i386 and alpha ld.so also work with X-only text LOAD. There is noTheo de Raadt
2023-01-31powerpc xonly for G5 is coming. ld.so can have xonly text.Theo de Raadt
2023-01-29Accumulate intermediate imutables locally before applyingGreg Steuck
2023-01-29Unite all nitems copies in ld.so/util.hGreg Steuck
2023-01-29powerpc64 xonly works; ld.so can be switched overTheo de Raadt
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