Age | Commit message (Collapse) | Author | |
---|---|---|---|
2006-05-03 | Keep the state of the debugger constistant, let it know a the dynamic | Dale Rahn | |
linker is adding or removing a library before it does the act. Discussed with kurt@ some time ago. | |||
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-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-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-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 | 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-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 | keep a state flag if a library has been unloaded, and then free the list | Dale Rahn | |
seperately ok kurt@ | |||
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-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-21 | Fix bug if object search is not the object where dlsym() finds an object. | Dale Rahn | |
2005-09-19 | don't promote DT_NEEDED libs to RTLD_GLOBAL by default when dlopening | Kurt Miller | |
libs. okay drahn@ | |||
2005-09-17 | Cleanly handle the case where a dynamic object is opened, but one of it's | Dale Rahn | |
dependant libraries is missing. return NULL for a handle instead of causing the program to exit. | |||
2005-09-16 | Rework symbol lookup to more closely match sun's documentation, now | Dale Rahn | |
treats dlopens as load groups. ok kurt@ | |||
2005-09-13 | Only return a _dl_md_plabel() if the object is a function, do not indirect | Dale Rahn | |
a data reference. sigh. | |||
2005-05-23 | fixes for dlclose, ok kettenis@ | Dale Rahn | |
2005-05-10 | Recommit the destructor order fix, now that the amd64 bug was fixed. | Dale Rahn | |
'no problem' pval@ | |||
2005-04-06 | backout -- breaks at least amd64; spotted by marc | Theo de Raadt | |
2005-04-05 | Do a better job of running destructors in the right order. | Dale Rahn | |
2005-03-08 | Do not shadow a parameter with a local variable. also add a debug statement | Dale Rahn | |
to print dependandant libraries loaded by dlopen ok kurt@ | |||
2005-03-07 | Fix bug not calling callback for the main executable object. | Mark Kettenis | |
ok drahn@, espie@ | |||
2004-12-01 | fix dlsym(RTLD_NEXT,...) when called from the last shared object | Kurt Miller | |
loaded. ok drahn@ | |||
2004-10-14 | Add dl_iterate_phdr() support. | Mark Kettenis | |
ok drahn@, millert@ | |||
2004-08-13 | Cast to Elf_Addr to remove warnings of ELF types(int)/pointer, ok david@ | Dale Rahn | |
2004-08-11 | add dladdr() support and add some 'standard' dlsym() support. | Dale Rahn | |
ok millert miod pval, grumble deraadt | |||
2004-06-07 | fixup the dlsym() return to produce a callable address (plabel) and move one ↵ | Michael Shalayeff | |
comment closer to the code it talks about earlier; drahn@ ok | |||
2004-06-07 | debugging notify that dlopen() has finished as it was said when it had ↵ | Michael Shalayeff | |
started; drahn@ ok | |||
2004-05-25 | return object* the symbol is in for _dl_find_symbol*; drahn@ ok | Michael Shalayeff | |
2004-05-25 | spacing | Theo de Raadt | |
2004-05-22 | Dont print symcache statistics if no symbol lookups have occurred, ok mickey@ | Dale Rahn | |
2003-10-01 | Add break statements in switch missing from revision 1.32. | Todd C. Miller | |
2003-09-25 | dlerror(3) should clear _dl_errno; based on a patch from Bjorn Sandell. | Todd C. Miller | |
Closes PR 3441; drahn@ OK | |||
2003-09-04 | Symbol cache for GOT lookup. When a symbol is found it is saved in a cache | Dale Rahn | |
for future lookups in the same GOT relocation table. Uses static buffer for small symbol tables, mmap for larger ones. ok deraadt@ | |||
2003-09-02 | Fix PR 3371, symbol lookup in dlopen()ed objects is not correct. Correct | Dale Rahn | |
behavior for RTLD_GLOBAL/RTLD_LOCAL is now supported. ok espie@ | |||
2003-06-26 | simple protos | Theo de Raadt | |
2003-06-22 | Dynamic linking random order fixes. This enables random library ordering. | Dale Rahn | |
Tested by naddy@ and others. | |||
2003-06-09 | pefo 3/4 licence cleanups | Theo de Raadt | |
2003-05-30 | When loading a shared object or libraries dependant object, load them | Dale Rahn | |
in random order. This will reduce the possiblity of a buffer overflow being able to predict the addresss of useful code. Can be disabled with the LD_NORANDOM environment variable for debugging purposes. ok deraadt. | |||
2003-04-28 | thread safe dlxxx func (for elf) part 2. This requires the latest | Marco S Hyman | |
ldfcn.h in /usr/include. "looks nice" tedu@ | |||
2003-02-02 | knf & ansi; drahn ok | Theo de Raadt | |
2002-11-23 | Remove some error messages which were incorrectly printed. Some cleanup. | Dale Rahn | |
ok pvalchev@ |