summaryrefslogtreecommitdiff
path: root/libexec/ld.so/library.c
AgeCommit message (Expand)Author
2017-12-08Everyone knows this as ld.so, nor by the ancient name rtld.Theo de Raadt
2017-02-08Provide size-generic ELF_NO_ADDR in <sys/exec_elf.h> and use that insteadPhilip Guenther
2017-01-24On fatal errors, kill ourselves with thrkill(0,9,NULL) instead ofPhilip Guenther
2016-08-12the slimmed down random functions inside ld.so are strict clones of theTheo de Raadt
2016-08-08Look for a PT_GNU_RELRO section per object and, if present, mprotect thatPhilip Guenther
2016-07-04Remove prebind support: binding to symbol table indices is too fragilePhilip Guenther
2016-06-08Some ELF ABIs still require a PLT that is both writable and executable. ToMark Kettenis
2016-05-07Use a Thread Information Block in both single and multi-threaded programs.Philip Guenther
2016-03-20Export environ and __progname, making the latter a copy of just the filenamePhilip Guenther
2015-12-22assign pointers to NULL rather than 0mmcc
2015-11-06Fix unloading of load groups when the last reference wasn't on thePhilip Guenther
2015-01-16<sys/param.h> to <limits.h> conversion. Verified binariesTheo de Raadt
2014-07-10check all memory allocations; ok miod@ guenther@Otto Moerbeek
2014-07-09Use O_CLOEXEC to make sure fork+exec in a threaded process can'tPhilip Guenther
2014-06-21Move to a non-zeroing _dl_malloc, a _dl_calloc and _dl_reallocarry andOtto Moerbeek
2012-08-20Add support for .openbsd.randomdata sections and PT_OPENBSD_RANDOMIZEMatthew Dempsky
2012-06-12Fix loaded object sod matching: when we load libfoo.so.X.Y intoMatthew Dempsky
2012-05-08Refuse to load ELF objects that contain a PT_TLS program header.Joel Sing
2012-01-09Don't mmap 0 byte areas, treat them as a noop instead.Ariane van der Steldt
2011-11-28Add support for getting some flags from DT_FLAGS_1: new flagsPhilip Guenthe
2011-05-10Fix previous. On i386, library.c isn't compiledOtto Moerbeek
2011-05-09Outsmart gcc4 on mips* by moving the declaration of _dl_debug_stateOtto Moerbeek
2010-11-16Fix error message when ld.so ends up loading a different than expectedDale Rahn
2010-10-25Search loaded libs first and add support for SONAME matching. ok drahn@Kurt Miller
2008-10-02Fix mmap() error checking to be correct 64-bit addresses. ConsistentlyKurt Miller
2008-05-05Constantly fill in the program header pointer and count in elf_object_tKurt Miller
2008-04-09Improve support for shared libs linked at non-zero addreses:Kurt Miller
2008-04-02Use the proper define for this address, not a incorrect (on 64bit) define.Dale Rahn
2006-05-08de-spaceTheo de Raadt
2006-05-03prebind - how to prelink a binary without throwing security out the windowDale Rahn
2005-11-09add RTLD_NOW support to dlopen and propogate -z now to dep libs.Kurt Miller
2005-10-12add missing grpref unload propogation (sync with library_mquery)Kurt Miller
2005-10-12Split grpsym_list creation away from child_list creation and changeKurt Miller
2005-10-09introduce object ref count macros (suggested by dale). no functionalKurt Miller
2005-10-06separate load group references from dep lib child/dload lists. move loadKurt Miller
2005-10-03refcount corrections: count common dep libs once and centralize dep libKurt Miller
2005-10-01handle references to load groups caused by dlopen()ing of depenantDale Rahn
2005-09-28correct last commit, in both files.Dale Rahn
2005-09-28keep a state flag if a library has been unloaded, and then free the listDale Rahn
2005-09-27increment refcount when opening a lib that is already open (dev/inodeKurt Miller
2005-09-26Fully unload dependant libraries, fixes gphoto2 bug.Dale Rahn
2005-09-16Rework symbol lookup to more closely match sun's documentation, nowDale Rahn
2005-05-23fixes for dlclose, ok kettenis@Dale Rahn
2005-05-10Recommit the destructor order fix, now that the amd64 bug was fixed.Dale Rahn
2005-04-06backout -- breaks at least amd64; spotted by marcTheo de Raadt
2005-04-05Do a better job of running destructors in the right order.Dale Rahn
2005-03-23Code reorganization, move copied code in library.c and library_mquery.cDale Rahn
2004-10-17Fix some problems related to LD_LIBRARY_PATH parsing where it would notDale Rahn
2004-07-05Fix an issue where a shared library could be loaded at two differentKjell Wooding
2003-09-02Fix PR 3371, symbol lookup in dlopen()ed objects is not correct. CorrectDale Rahn