summaryrefslogtreecommitdiff
path: root/libexec/ld.so
AgeCommit message (Expand)Author
2016-07-18Polish:Philip Guenther
2016-07-18Updated advice^Wcode from miod@ for passing &_DYNAMIC to _dl_boot_bindPhilip Guenther
2016-07-15Switch m88k to pass &_DYNAMIC to _dl_boot_bind()Philip Guenther
2016-07-04Remove prebind support: binding to symbol table indices is too fragilePhilip Guenther
2016-07-04Nuke prebind support; it's unworkable and we're never going to finish it.Mark Kettenis
2016-07-04The GOT has been initally mapped RW for *years*; ld.so doesn't need toPhilip Guenther
2016-06-21When handling DT_TEXTREL only set the mapping to READ+WRITE, ignoreTheo de Raadt
2016-06-21Handle textrels like other architectures do.Theo de Raadt
2016-06-18Make mips64 like all the others: only make mappings writable during relocationPhilip Guenther
2016-06-13Only need to sync the icache on the GOT for the old BSS PLT formatPhilip Guenther
2016-06-08Some ELF ABIs still require a PLT that is both writable and executable. ToMark Kettenis
2016-06-05Avoid W^X violation when setting DT_DEBUG on mips64.Mark Kettenis
2016-05-26for textrels (sthen ran into one...):Theo de Raadt
2016-05-22Ignore the listed protection (which may contain X) when making pageTheo de Raadt
2016-05-21mul/div/rem replacement should happen without PROT_EXECTheo de Raadt
2016-05-21Temporarily make the PLT writable when we're initializing the magic slotsMark Kettenis
2016-05-19Give the caller a chance to handle the failure if unable to allocatePhilip Guenther
2016-05-19ld.so can now be entered by multiple threads via _dl_{allocate,free}_tib(),Philip Guenther
2016-05-18fix types for mmap wrappers. A few whitespace cleanups snuck in.Theo de Raadt
2016-05-12more hppa64 cleaningTheo de Raadt
2016-05-11remove hppa64 port, which we never got going beyond broken single users.Theo de Raadt
2016-05-07Move the set_tcb after getdents to keep L_cerr in range.Philip Guenther
2016-05-07Use a Thread Information Block in both single and multi-threaded programs.Philip Guenther
2016-03-24Unbreak arm and m88k: COPY relocations for weak symbols that are overloadedPhilip Guenther
2016-03-21Rename the system call sendsyslog2 to sendsyslog. Keep the old oneAlexander Bluhm
2016-03-21Provide _dlctl(), an alternate name for dlctl() that's in the reservedPhilip Guenther
2016-03-21Switch ld.so's stack smash handler from sendsyslog to sendsyslog2Philip Guenther
2016-03-20Export environ and __progname, making the latter a copy of just the filenamePhilip Guenther
2016-03-16More "(<blah> *)0" -> NULL, avoiding any stdarg functions.Kenneth R Westerback
2016-01-24Delete remnants of grpsym cache setting during symbol search: it's done atPhilip Guenther
2016-01-24Lacking precise dependency-from-relocation tracking, a nodelete objectPhilip Guenther
2015-12-22assign pointers to NULL rather than 0mmcc
2015-12-22Remove a couple needless allocation casts. No binary change.mmcc
2015-12-17s/failes/failed/gmmcc
2015-12-12Remove NULL-checks before free(). ok tb@mmcc
2015-12-06Simplify the relocation code for the ld.so bootstrap and static pie: trackPhilip Guenther
2015-11-15ldd(1) sets environment variable LD_TRACE_LOADED_OBJECTS to tell ld.soTheo de Raadt
2015-11-15pledge "stdio rpath wpath cpath tmppath fattr"Theo de Raadt
2015-11-06Fix unloading of load groups when the last reference wasn't on thePhilip Guenther
2015-11-02Remove duplicate declarationPhilip Guenther
2015-11-02Factor out the logic for mprotecting the memory between two symbols intoPhilip Guenther
2015-11-02Fix typo: s/DT_JUMPREL/DT_JMPREL/Philip Guenther
2015-10-29remove tests for LD_HINTS_VERSION_1; ok kettenisTheo de Raadt
2015-10-14Check mmap and read return values. While at it, remove unused duplicated file.Tobias Stoeckmann
2015-09-23Don't be too agressive write-protecting the GOT and PLT. If we have no clueMark Kettenis
2015-09-19kbind has eliminated the need for and use of the bind lock. Delete it, thePhilip Guenther
2015-09-19Remove PROT_EXEC bit from GOT_PERMS. ld.so doesn't need it anymore, andMark Kettenis
2015-09-19Make bootstrapping code compatible with the Secure-PLT ABI.Mark Kettenis
2015-09-13Rename __sysctl syscall to just sysctl, as the userland wrapper is no longerPhilip Guenther
2015-09-12Use kbind for lazy binding GOT/PLT updates on arm.Philip Guenther