summaryrefslogtreecommitdiff
path: root/libexec/ld.so/sh
AgeCommit message (Expand)Author
2016-07-04Remove prebind support: binding to symbol table indices is too fragilePhilip Guenther
2016-06-21When handling DT_TEXTREL only set the mapping to READ+WRITE, ignoreTheo de Raadt
2016-05-18fix types for mmap wrappers. A few whitespace cleanups snuck in.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-21Rename the system call sendsyslog2 to sendsyslog. Keep the old oneAlexander Bluhm
2016-03-21Switch ld.so's stack smash handler from sendsyslog to sendsyslog2Philip Guenther
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-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-09-19kbind has eliminated the need for and use of the bind lock. Delete it, thePhilip Guenther
2015-09-13Rename __sysctl syscall to just sysctl, as the userland wrapper is no longerPhilip Guenther
2015-08-28Use kbind for lazy binding GOT/PLT updates on sh (i.e. landisk)Philip Guenther
2014-12-30self-relocating crt0 bits for sh, and enable static pie by default. With someMiod Vallat
2014-12-30Clean up and optimize _dl_start a bit by using immediate addressing forMiod Vallat
2014-09-01Sync readlink(2) with IEEE Std 1003.1-2008.Doug Hogan
2014-07-14Now that we have sendsyslog(2), we can directly use it in theTheo de Raadt
2014-07-09_dl_fcntl() is no longer used; kill the stubsPhilip Guenther
2014-07-06move from sysclt(KERN_ARND) to getentropy(2); ok miod@, kettenis@Otto Moerbeek
2014-07-05Mark _dl_exit __dead.Miod Vallat
2014-07-05Unlike libc syscall stubs, ld.so syscall stubs are expected to return -errno,Miod Vallat
2014-07-05No need to redefine DT_PROCNUM and DT_BIND_NOW here, these are provided by MIMiod Vallat
2013-12-25Pass _dl_dtors as the csu cleanup routine on shMiod Vallat
2013-08-13Switch time_t, ino_t, clock_t, and struct kevent's ident and dataPhilip Guenther
2013-06-13Appease LLVM warning..Brad Smith
2013-06-09Constify the mib argument of sysctl().Miod Vallat
2013-06-01Make all the syscall prototypes consistent with their real forms for types,Philip Guenther
2013-06-01Introduce ltrace(1). This tool works with ld.so to inject utrace record forMiod Vallat
2013-05-08Implement symbol caching and RELACOUNT/RELCOUNT optimizations.Philip Guenther
2013-04-05- Add ORIGIN, OSNAME, OSREL and PLATFORM substitution support for rpaths.Kurt Miller
2013-03-29Enable lazy binding by default.Miod Vallat
2013-03-26SH is a RelA architecture, not a Rel one. Fix _dl_bind() and lazy gotpltMiod Vallat
2012-11-01Clear r7 before passing control to the main object.Mark Kettenis
2012-10-24Garbage-collect the _dl_stat() routine, now unusedPhilip Guenthe
2012-09-02Specify an include path for SYS.h via CPPFLAGS not AFLAGSJonathan Gray
2011-04-06Avoid using NULL in non-pointer contexts: use 0 for integer values and '\0'Miod Vallat
2010-10-28Change basep parameter of getdirentries() to be off_t *, not long *Todd C. Miller
2010-05-02Combine the signal mask handling into _dl_thread_bind_lock(), as it's MI.Philip Guenthe
2010-01-02Fix handling of hppa RELOC_IPLT relocations during 'bootstrap relocation'.Mark Kettenis
2008-10-02Fix mmap() error checking to be correct 64-bit addresses. ConsistentlyKurt Miller
2008-07-24release the bind lock before resetting the signal maskPhilip Guenthe
2008-06-27Remove again the old _dl_md_reloc() calls-through-plt workaround: it isMiod Vallat
2008-04-09Improve support for shared libs linked at non-zero addreses:Kurt Miller
2008-04-03Use the libgcc version of these functions, no point in having extra copies.Dale Rahn
2008-02-24Use rounded down address when changing memory protections on the GOT, suchDale Rahn
2007-11-27Make _dl_md_reloc_got() report errors, and take them into account.Miod Vallat
2007-05-05Provide hook so that rthreads can provide a spinlock to protect from racesDale Rahn
2007-03-07Put the workaround back in because gcc fails to build otherwise. ok deraadt@Dale Rahn
2007-03-06Revert a workaround that was put in for softfpu ABI violations, hardfp doesnt.Dale Rahn