summaryrefslogtreecommitdiff
path: root/libexec/ld.so
AgeCommit message (Expand)Author
2024-06-04enable -fret-clean on amd64, for libc libcrypto ld.so kernel, and all theTheo de Raadt
2024-05-21remove prototypes with no matching function and externs with no varJonathan Gray
2024-05-17use SIGKILL instead of 9; ok guentherTheo de Raadt
2024-04-05ld.so should stop calling msyscall(2), since it is fully neutered andTheo de Raadt
2024-03-30Prefer illop1 rather than nop for text padding in the ld.so linker script.Miod Vallat
2024-03-30Remove nonsensical comments. NFCMiod Vallat
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-20create a stub for pinsyscalls(2)Theo de Raadt
2023-12-20there is a super-alignment between btext and text, this creates a hole.Theo de Raadt
2023-12-20For strange reasons which made sense at the time, the text segment wasTheo de Raadt
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-16Fix phdr name in ld.script.Kenji Aoyama
2023-12-12repair type for 2nd arg of read(2)Theo de Raadt
2023-12-12To avoid kbind(2) becoming a powerful gadget, it is called inline to aTheo de Raadt
2023-12-11Make sure the syscall table entries are aligned on a 4-byte boundary.Theo de Raadt
2023-12-11arm just had to be different and change the syntax for .pushsectionTheo de Raadt
2023-12-10Populate the non-LOAD openbsd.syscalls section (and PT_OPENBSD_SYSCALL)Theo de Raadt
2023-12-08locally us MAXIMUM() rather than MAX()Theo de Raadt
2023-12-06Move CALLSYS_NOERROR macro from <machine/asm.h> to libc, and expand it forMiod Vallat
2023-11-18crt0 uses a helper function in a MD src/libexec/ld.so .h file (rather thanTheo de Raadt
2023-08-15ldd can pledge "stdio rpath proc exec prot_exec". We can later bifurbicateTheo de Raadt
2023-08-15Improve handling of dlopen(RTLD_TRACE) aka ldd, of a library thatPhilip Guenther
2023-08-15Skip the _dl_msyscall() invocation if tracing library loading.Philip Guenther
2023-08-12Check for a full read, avoid warn when errno might be unmodifiedGreg Steuck
2023-07-24I added the 2nd argument (execpromises) to pledge(2), and then huntedTheo de Raadt
2023-07-13- use IS_ELF() to check the ELF magic bytesJasper Lievisse Adriaanse
2023-07-12validate alignment of ELF program headersJasper Lievisse Adriaanse
2023-07-08turn an ifdef'd _dl_printf call into DL_DEB and various whitespace fixesJasper Lievisse Adriaanse
2023-07-08zap stray backslashJasper Lievisse Adriaanse
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