summaryrefslogtreecommitdiff
path: root/libexec
AgeCommit message (Collapse)Author
2005-12-06avoid variable aliasingTheo de Raadt
2005-12-03remove shadowing variables; ok pvalTheo de Raadt
2005-12-02fix RELOC_COPY on powerpc when symbol is weak. use relocation addressKurt Miller
instead of symbol address. okay drahn@
2005-12-01fix double var declarations in same scope, found by lint; ok deraadt cloderPeter Valchev
2005-12-01Spell "blacklisted" consistently.Tom Cosgrove
ok jmc@
2005-11-30some cleanups prompted by lint, no really nasty bugs; ok beckTheo de Raadt
2005-11-26BINMODE not needed here eitherTheo de Raadt
2005-11-24code is not being used; toss into AtticTheo de Raadt
2005-11-24missing full stop;Jason McIntyre
2005-11-19No longer need volatile since longjmp has been removed.Todd C. Miller
Ironically silences a gcc warning.
2005-11-16disable old ftp-proxy, ok henning beckCamiel Dobbelaar
2005-11-15the third arg of read() is size_t, not int (cast fix)Todd C. Miller
use UT_NAMESIZE more consistently from Andrey Matveev
2005-11-15correct opencount decrement in _dl_unload_dlopen. was leaving functionKurt Miller
with -1 as opencount and interfeering with dtors. problem reported by espie@. okay drahn@
2005-11-13handle asprintf() failure; from dhill@mindcry.orgTheo de Raadt
2005-11-12use asprintf; ok dhill@mindcry.orgTheo de Raadt
update to dinode changes; ok pedro
2005-11-12spacingTheo de Raadt
2005-11-12use snprintf; ok cloder dhill@mindcry.orgTheo de Raadt
2005-11-12spacingTheo de Raadt
2005-11-09add RTLD_NOW support to dlopen and propogate -z now to dep libs.Kurt Miller
ok drahn@
2005-11-09the handle returned by dlopen(0,...) should behave the same asKurt Miller
RTLD_DEFAULT, so return RTLD_DEFAULT for handle. ok drahn@
2005-11-02allow 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-23Use libc's SYS.h and SYSTRAP instead of rolling own. No binary change.Dale Rahn
2005-10-21using _dl_link_grpsym to increment refcounts made _dl_notify_unload_shlibKurt 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-18This is too useful for debugging to not have in the tree, howeverDale Rahn
the interface may change at any time, so dont depend on it. (ie regress)
2005-10-17Fix possible buffer overflow caused by unknown tags in the rangeMark Kettenis
[DT_LOPROC, DT_HIPROC]. ok kurt@
2005-10-16Consolidate dl_boot and dlopen dep lib loading into new functionKurt Miller
_dl_load_dep_libs. Now both dl_boot and dlopen will randomize dep lib loading, where previously only dl_boot did.
2005-10-14Use queue macros instead of directly accessing fields. ok millert@ pat@Otto Moerbeek
deraadt@
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
grpsym_list order to match Sun's docs. Also corrects bugs where grpsym_list was either not created or partially created.
2005-10-10set _dl_loading_object to NULL upon entering and exiting _dl_boot andKurt Miller
dlopen and cleanup of related redundant code. looks fine drahn@
2005-10-09fix incomplete ref count check in _dl_link_dlopen (use macro now).Kurt Miller
2005-10-09introduce object ref count macros (suggested by dale). no functionalKurt Miller
change.
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
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-05move opencount increment and dups check to _dl_link_dlopen. fixes cleanupKurt Miller
of partially dlopened (but failed) cleanup.
2005-10-05Don't mention kerberos here - it has been disabled for some time.Bjorn Sandell
fine jmc@
2005-10-03check opencount after handle has been verified to avoid a possible useKurt Miller
after free.
2005-10-03protect against errant programs that attempt to dlclose a handle that isKurt Miller
already closed (but still around due to refs).
2005-10-03refcount corrections: count common dep libs once and centralize dep libKurt Miller
refcount increments to _dl_link_sub. adjust _dl_notify_unload_shlib to match new refcount method. ok drahn@
2005-10-01handle references to load groups caused by dlopen()ing of depenantDale Rahn
members of the load group. work by kurt@ and myself
2005-09-28correct last commit, in both files.Dale Rahn
2005-09-28fix a use after free and let exit clean up instead. ok drahn@Kurt Miller
2005-09-28keep a state flag if a library has been unloaded, and then free the listDale Rahn
seperately ok kurt@
2005-09-28remove _dl_exiting dead codeKurt Miller
2005-09-28If there is some compilation error/warning in ld.so do not allow it toDale Rahn
build, ld.so is too fragile and destructive otherwise.
2005-09-28keep track of opencounts for dlopened objects, so that theyDale Rahn
get unloaded the right number of times on exit.
2005-09-28use the calling object's handle for dlsym(RTLD_DEFAULT,...). makes symbolsKurt Miller
in the calling object's load group visable.
2005-09-27increment refcount when opening a lib that is already open (dev/inodeKurt Miller
case) ok drahn@
2005-09-26Fully unload dependant libraries, fixes gphoto2 bug.Dale Rahn