summaryrefslogtreecommitdiff
path: root/libexec/ld.so
AgeCommit message (Expand)Author
2019-02-14spelling/consistency fix; from nam nguyenJason McIntyre
2019-02-03_dl_cerror is trivial on powerpc; just inline the handling into the stubsPhilip Guenther
2019-02-03_dl_cerror is trivial on alpha and m88k; just inline the hanlding intoPhilip Guenther
2019-01-25On i386, ensure that the first PT_LOAD segment is below the W^XKurt Miller
2019-01-25I am retiring my old email address; replace it with my OpenBSD one.Todd C. Miller
2018-12-05Delete an unused struct member that has hid out here for 17 yearsPhilip Guenther
2018-12-03DT_MIPS_RLD_MAP is an offset, so relocate it when present.Philip Guenther
2018-11-28Implement support for DT_GNU_HASH, taking all the interesting bitsPhilip Guenther
2018-11-22Make alpha less special: _dl_boot_bind() is written to completePhilip 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-11-16Borrow an idea from DragonFly BSD: factor out the "does this symbol match whatPhilip Guenther
2018-11-15Put all the symbol lookup parameters (except the object being searched) andPhilip Guenther
2018-11-12Delete support for non-secureplt binaries. The secure PLT format has beenPhilip Guenther
2018-11-09Delete superfluous libc reach-around variables, left over from thePhilip Guenther
2018-11-09Delete superfluous libc reacharounds.Philip Guenther
2018-11-09Delete support for obsolete BSS PLT format, which was last known to bePhilip Guenther
2018-11-02ld.so's malloc has no runtime option processing, so remove theOtto Moerbeek
2018-10-25The compilers already put static arrays in .rodata when not written to;Philip Guenther
2018-10-23Delay processing of ld.so's own PT_GNU_RELRO section until after environmentPhilip Guenther
2018-10-22Use int, not char*, for booleansPhilip Guenther
2018-10-01Add retguard to arm64 ld.so.mortimer
2018-08-29make ld.so build reproducible by including a FILE symbol and by removingRobert Nagy
2018-07-24Fix address calculation for _DYNAMIC. We want to address of _DYNAMIC itself,Mark Kettenis
2018-07-09unify the various per-arch syscall.h as much as possibleTheo de Raadt
2018-06-16Add add PIE support for m88k (requires gcc4 toolchain)Philip Guenther
2018-06-08Bail out if fchmod(2) fails.cheloha
2018-06-01Bump ELF_RANDOMIZE_LIMIT to 1MB.mortimer
2018-05-15On arm64 negate the whole 64-bit register otherwise system call wrappersMark Kettenis
2018-04-27Make sure ld.so doesn't use floating point registers, as the lazy-bindingPhilip Guenther
2018-04-26Use <fcntl.h> instead of <sys/file.h> for open() and friends.Philip Guenther
2018-03-09Add support for the DF_TEXTREL flag.Mark Kettenis
2018-02-09Use a static chacha instance to fill randomdata sections. Avoids loopingmortimer
2018-02-07sync with libc malloc: use consistent style for for loop in unmap(),Otto Moerbeek
2018-02-04Expand Type strings by one space, to fit ld.so, in the same ugly way "exe "Theo de Raadt
2018-02-01don't forget to increment loop var; infinite loops spotted by sthen@Otto Moerbeek
2018-01-30No need to add ffs.c as we use .VPATH to reach over into libc/string.Mark Kettenis
2018-01-30provide ffs, gcc generates calls to it, even when __builtin_ffs() is used.Otto Moerbeek
2018-01-30kill a gcc warningOtto Moerbeek
2018-01-30port over the malloc changes from libc. prompted by deraadt@Otto Moerbeek
2018-01-18Unlike other archs, mips64 needs ld.so to know about symbol visibility andPhilip Guenther
2017-12-24Fix one possible buffer overflow and one underflow. Also some minorTodd C. Miller
2017-12-21Implement missing bits to support lazy binding. Note that the codeMark Kettenis
2017-12-12ld.so's syscall _dl_* API/ABI doesn't reurn errno, but -errno.Theo de Raadt
2017-12-12spacingTheo de Raadt
2017-12-08also cleanout ld.so.aTheo de Raadt
2017-12-08Everyone knows this as ld.so, nor by the ancient name rtld.Theo de Raadt
2017-12-01Redo the calculation of the alignment and placement of static TLS data toPhilip Guenther
2017-11-28Implement a DL_REFERENCE dlctl. To be used by the upcomingMark Kettenis
2017-11-15Tweak bitmask calculation to match i386 and avoid clang warning.Mark Kettenis