summaryrefslogtreecommitdiff
path: root/libexec/ld.so/dlfcn.c
AgeCommit message (Expand)Author
2018-10-22Use int, not char*, for booleansPhilip Guenther
2018-02-04Expand Type strings by one space, to fit ld.so, in the same ugly way "exe "Theo de Raadt
2017-12-08Everyone knows this as ld.so, nor by the ancient name rtld.Theo de Raadt
2017-11-28Implement a DL_REFERENCE dlctl. To be used by the upcomingMark Kettenis
2017-08-29rename *fdprint function to *dprintf, like libc versionTheo de Raadt
2017-05-08Always use the same callback to unlock as was used to lock. PermitsPhilip Guenther
2017-01-23Mark a bunch of stuff staticPhilip Guenther
2016-03-21Provide _dlctl(), an alternate name for dlctl() that's in the reservedPhilip 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
2015-12-22assign pointers to NULL rather than 0mmcc
2015-09-19kbind has eliminated the need for and use of the bind lock. Delete it, thePhilip Guenther
2015-01-22delete annoying white space that annoyTheo de Raadt
2013-11-13prototype & void * math cleanupTheo de Raadt
2013-03-24dlerror() should not return const char *, as noted by landryTheo de Raadt
2012-08-31Since _dl_debug_map is only initialized if we see a DT_DEBUG tag, make sureMark Kettenis
2012-06-12Fix loaded object sod matching: when we load libfoo.so.X.Y intoMatthew Dempsky
2011-11-28Add support for getting some flags from DT_FLAGS_1: new flagsPhilip Guenthe
2011-06-27Backout the dynamic linker speed improvement diff for now, it stillStuart Henderson
2011-05-22Dynamic linker speed improvement diff. tested by several sinc k2k11.Dale Rahn
2010-07-01When generating grpsym lists, avoid duplicates without searching theDale Rahn
2010-05-02Combine the signal mask handling into _dl_thread_bind_lock(), as it's MI.Philip Guenthe
2008-06-13Completing the executable elf_object_t data exposed a bug inKurt 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
2007-11-27Fix dlsym w/special handles when called from an executable that has beenKurt Miller
2007-05-29based on a diff from Matt Provost: allow printing of ldd informationJason Wright
2007-05-05Provide hook so that rthreads can provide a spinlock to protect from racesDale Rahn
2007-04-03add support for LD_TRACE_LOADED_OBJECTS_{FMT1/FMT2/PROGNAME}. FunctionalityJason Wright
2006-05-08de-spaceTheo de Raadt
2006-05-03Keep the state of the debugger constistant, let it know a the dynamicDale Rahn
2005-11-09the handle returned by dlopen(0,...) should behave the same asKurt Miller
2005-10-18This is too useful for debugging to not have in the tree, howeverDale Rahn
2005-10-16Consolidate dl_boot and dlopen dep lib loading into new functionKurt Miller
2005-10-12Split grpsym_list creation away from child_list creation and changeKurt Miller
2005-10-10set _dl_loading_object to NULL upon entering and exiting _dl_boot andKurt Miller
2005-10-09introduce object ref count macros (suggested by dale). no functionalKurt Miller
2005-10-07rename dload_list to grpsym_list which better represents its usage.Kurt Miller
2005-10-06remove dep_next "shadow object" dead code.Kurt Miller
2005-10-06separate load group references from dep lib child/dload lists. move loadKurt Miller
2005-10-05move opencount increment and dups check to _dl_link_dlopen. fixes cleanupKurt Miller
2005-10-03check opencount after handle has been verified to avoid a possible useKurt Miller
2005-10-03protect against errant programs that attempt to dlclose a handle that isKurt 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-28keep a state flag if a library has been unloaded, and then free the listDale Rahn
2005-09-28keep track of opencounts for dlopened objects, so that theyDale Rahn
2005-09-28use the calling object's handle for dlsym(RTLD_DEFAULT,...). makes symbolsKurt Miller
2005-09-22Track if symbols are searched but missing while resolving GOT, ifDale Rahn
2005-09-21Fix bug if object search is not the object where dlsym() finds an object.Dale Rahn