Age | Commit message (Collapse) | Author | |
---|---|---|---|
2005-11-15 | the third arg of read() is size_t, not int (cast fix) | Todd C. Miller | |
use UT_NAMESIZE more consistently from Andrey Matveev | |||
2005-11-15 | correct opencount decrement in _dl_unload_dlopen. was leaving function | Kurt Miller | |
with -1 as opencount and interfeering with dtors. problem reported by espie@. okay drahn@ | |||
2005-11-13 | handle asprintf() failure; from dhill@mindcry.org | Theo de Raadt | |
2005-11-12 | use asprintf; ok dhill@mindcry.org | Theo de Raadt | |
update to dinode changes; ok pedro | |||
2005-11-12 | spacing | Theo de Raadt | |
2005-11-12 | use snprintf; ok cloder dhill@mindcry.org | Theo de Raadt | |
2005-11-12 | spacing | Theo de Raadt | |
2005-11-09 | add RTLD_NOW support to dlopen and propogate -z now to dep libs. | Kurt Miller | |
ok drahn@ | |||
2005-11-09 | the handle returned by dlopen(0,...) should behave the same as | Kurt Miller | |
RTLD_DEFAULT, so return RTLD_DEFAULT for handle. ok drahn@ | |||
2005-11-02 | allow shlibs with paths to use shlib version matching rules too. | Kurt Miller | |
previously shlibs with paths would only open an exact match. initial diff from dale. ok drahn@ | |||
2005-10-23 | Use libc's SYS.h and SYSTRAP instead of rolling own. No binary change. | Dale Rahn | |
2005-10-21 | using _dl_link_grpsym to increment refcounts made _dl_notify_unload_shlib | Kurt Miller | |
simpler, however it broke ldd refcount output. use _dl_link_child to increment refcounts and adjust _dl_notify_unload_shlib to match. work by drahn@ and myself. ok drahn@ | |||
2005-10-18 | This is too useful for debugging to not have in the tree, however | Dale Rahn | |
the interface may change at any time, so dont depend on it. (ie regress) | |||
2005-10-17 | Fix possible buffer overflow caused by unknown tags in the range | Mark Kettenis | |
[DT_LOPROC, DT_HIPROC]. ok kurt@ | |||
2005-10-16 | Consolidate dl_boot and dlopen dep lib loading into new function | Kurt Miller | |
_dl_load_dep_libs. Now both dl_boot and dlopen will randomize dep lib loading, where previously only dl_boot did. | |||
2005-10-14 | Use queue macros instead of directly accessing fields. ok millert@ pat@ | Otto Moerbeek | |
deraadt@ | |||
2005-10-12 | add missing grpref unload propogation (sync with library_mquery) | Kurt Miller | |
2005-10-12 | Split grpsym_list creation away from child_list creation and change | Kurt Miller | |
grpsym_list order to match Sun's docs. Also corrects bugs where grpsym_list was either not created or partially created. | |||
2005-10-10 | set _dl_loading_object to NULL upon entering and exiting _dl_boot and | Kurt Miller | |
dlopen and cleanup of related redundant code. looks fine drahn@ | |||
2005-10-09 | fix incomplete ref count check in _dl_link_dlopen (use macro now). | Kurt Miller | |
2005-10-09 | introduce object ref count macros (suggested by dale). no functional | Kurt Miller | |
change. | |||
2005-10-07 | rename dload_list to grpsym_list which better represents its usage. | Kurt Miller | |
2005-10-06 | remove dep_next "shadow object" dead code. | Kurt Miller | |
2005-10-06 | separate load group references from dep lib child/dload lists. move load | Kurt Miller | |
group refs to own per object ref counter (grprefcount) and list (grpref_list). corrects more complex load group ref cases and side effects from initial implementation. design ideas and ok drahn@ | |||
2005-10-05 | move opencount increment and dups check to _dl_link_dlopen. fixes cleanup | Kurt Miller | |
of partially dlopened (but failed) cleanup. | |||
2005-10-05 | Don't mention kerberos here - it has been disabled for some time. | Bjorn Sandell | |
fine jmc@ | |||
2005-10-03 | check opencount after handle has been verified to avoid a possible use | Kurt Miller | |
after free. | |||
2005-10-03 | protect against errant programs that attempt to dlclose a handle that is | Kurt Miller | |
already closed (but still around due to refs). | |||
2005-10-03 | refcount corrections: count common dep libs once and centralize dep lib | Kurt Miller | |
refcount increments to _dl_link_sub. adjust _dl_notify_unload_shlib to match new refcount method. ok drahn@ | |||
2005-10-01 | handle references to load groups caused by dlopen()ing of depenant | Dale Rahn | |
members of the load group. work by kurt@ and myself | |||
2005-09-28 | correct last commit, in both files. | Dale Rahn | |
2005-09-28 | fix a use after free and let exit clean up instead. ok drahn@ | Kurt Miller | |
2005-09-28 | keep a state flag if a library has been unloaded, and then free the list | Dale Rahn | |
seperately ok kurt@ | |||
2005-09-28 | remove _dl_exiting dead code | Kurt Miller | |
2005-09-28 | If there is some compilation error/warning in ld.so do not allow it to | Dale Rahn | |
build, ld.so is too fragile and destructive otherwise. | |||
2005-09-28 | keep track of opencounts for dlopened objects, so that they | Dale Rahn | |
get unloaded the right number of times on exit. | |||
2005-09-28 | use the calling object's handle for dlsym(RTLD_DEFAULT,...). makes symbols | Kurt Miller | |
in the calling object's load group visable. | |||
2005-09-27 | increment refcount when opening a lib that is already open (dev/inode | Kurt Miller | |
case) ok drahn@ | |||
2005-09-26 | Fully unload dependant libraries, fixes gphoto2 bug. | Dale Rahn | |
2005-09-23 | avoid a nasty line split; | Jason McIntyre | |
ok deraadt@ ian@ | |||
2005-09-23 | sigh. again | Dale Rahn | |
2005-09-22 | Track if symbols are searched but missing while resolving GOT, if | Dale Rahn | |
any are missing exit instead of later causing an abort, ok kurt@ | |||
2005-09-22 | missed a NOWARN -> WARN change | Dale Rahn | |
2005-09-22 | knf; ok drahn | Theo de Raadt | |
2005-09-22 | Use std missing symbol print instead of MD custom, do not warn on weak | Dale Rahn | |
undefined symbols, or count them as failures. inspired kurt@ | |||
2005-09-21 | Simplify the internal symbol finding API, with some cleanup, prep for | Dale Rahn | |
next step. ok kurt@ | |||
2005-09-21 | Fix bug if object search is not the object where dlsym() finds an object. | Dale Rahn | |
2005-09-19 | stop searching after first matching symbol is found. okay drahn@ | Kurt Miller | |
2005-09-19 | don't promote DT_NEEDED libs to RTLD_GLOBAL by default when dlopening | Kurt Miller | |
libs. okay drahn@ | |||
2005-09-19 | simplify code by putting executable in misnamed _dlopened_child_list, | Dale Rahn | |
also move RTLD_NEXT/RTLD_SELF code into that code, it is a single test. okay kurt@ |