summaryrefslogtreecommitdiff
path: root/libexec/ld.so/library.c
AgeCommit message (Expand)Author
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
2003-07-18Fix print if minor of library used is is less than requested. ok tdeval@Dale Rahn
2003-07-06various proto, ansi, and knf repair. tested on all architectures thatTheo de Raadt
2003-07-02Correct library search algorithm, wrt versioned objectsNiklas Hallqvist
2003-06-22Dynamic linking random order fixes. This enables random library ordering.Dale Rahn
2003-06-09pefo 3/4 licence cleanupsTheo de Raadt
2003-05-30When loading a shared object or libraries dependant object, load themDale Rahn
2003-02-02knf & ansi; drahn okTheo de Raadt
2003-01-30Change the constructor execution order to initialize dependant librariesDale Rahn
2002-12-13Compare to ELFMAG byte by byte rather than using full fledged function.Dale Rahn
2002-11-17Terminate printed strings with newlines.Dale Rahn
2002-08-08There was a possible off-by-one in ld.so when loading shared libraries.Artur Grabowski