| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Fix possible buffer overflow caused by unknown tags in the range | 2005-10-17 | 1 | -2/+2 | ||
| | | | | | | [DT_LOPROC, DT_HIPROC]. ok kurt@ | |||||
| * | Split grpsym_list creation away from child_list creation and change | 2005-10-12 | 1 | -2/+2 | ||
| | | | | | | grpsym_list order to match Sun's docs. Also corrects bugs where grpsym_list was either not created or partially created. | |||||
| * | introduce object ref count macros (suggested by dale). no functional | 2005-10-09 | 1 | -2/+2 | ||
| | | | | | change. | |||||
| * | rename dload_list to grpsym_list which better represents its usage. | 2005-10-07 | 1 | -5/+5 | ||
| | | ||||||
| * | remove dep_next "shadow object" dead code. | 2005-10-06 | 1 | -8/+1 | ||
| | | ||||||
| * | separate load group references from dep lib child/dload lists. move load | 2005-10-06 | 1 | -12/+30 | ||
| | | | | | | | 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@ | |||||
| * | refcount corrections: count common dep libs once and centralize dep lib | 2005-10-03 | 1 | -2/+3 | ||
| | | | | | | refcount increments to _dl_link_sub. adjust _dl_notify_unload_shlib to match new refcount method. ok drahn@ | |||||
| * | handle references to load groups caused by dlopen()ing of depenant | 2005-10-01 | 1 | -1/+12 | ||
| | | | | | members of the load group. work by kurt@ and myself | |||||
| * | keep a state flag if a library has been unloaded, and then free the list | 2005-09-28 | 1 | -2/+19 | ||
| | | | | | seperately ok kurt@ | |||||
| * | keep track of opencounts for dlopened objects, so that they | 2005-09-28 | 1 | -1/+2 | ||
| | | | | | get unloaded the right number of times on exit. | |||||
| * | knf; ok drahn | 2005-09-22 | 1 | -9/+8 | ||
| | | ||||||
| * | Use std missing symbol print instead of MD custom, do not warn on weak | 2005-09-22 | 1 | -2/+4 | ||
| | | | | | undefined symbols, or count them as failures. inspired kurt@ | |||||
| * | Simplify the internal symbol finding API, with some cleanup, prep for | 2005-09-21 | 1 | -19/+21 | ||
| | | | | | next step. ok kurt@ | |||||
| * | stop searching after first matching symbol is found. okay drahn@ | 2005-09-19 | 1 | -2/+2 | ||
| | | ||||||
| * | simplify code by putting executable in misnamed _dlopened_child_list, | 2005-09-19 | 1 | -35/+13 | ||
| | | | | | | also move RTLD_NEXT/RTLD_SELF code into that code, it is a single test. okay kurt@ | |||||
| * | Now that the bug requiring it has been fixed, remove the lastchance kludge | 2005-09-16 | 1 | -12/+3 | ||
| | | | | | ok kurt@ | |||||
| * | Rework symbol lookup to more closely match sun's documentation, now | 2005-09-16 | 1 | -24/+114 | ||
| | | | | | treats dlopens as load groups. ok kurt@ | |||||
| * | Recommit the destructor order fix, now that the amd64 bug was fixed. | 2005-05-10 | 1 | -6/+7 | ||
| | | | | | 'no problem' pval@ | |||||
| * | backout -- breaks at least amd64; spotted by marc | 2005-04-06 | 1 | -7/+6 | ||
| | | ||||||
| * | Do a better job of running destructors in the right order. | 2005-04-05 | 1 | -6/+7 | ||
| | | ||||||
| * | Fix an issue where a shared library could be loaded at two different | 2004-07-05 | 1 | -2/+5 | ||
| | | | | | | | | | | | locations by resolving all dlopens back to a dev/inode. i.e. Don't load a library if the dev/inode it stats back to matches one already in our list. fix started (and ok'ed) drahn@. ok deraadt@. "doesn't break anything yet" pval@ art@ brad@ | |||||
| * | return object* the symbol is in for _dl_find_symbol*; drahn@ ok | 2004-05-25 | 1 | -6/+20 | ||
| | | ||||||
| * | spacing | 2004-05-25 | 1 | -3/+3 | ||
| | | ||||||
| * | Symbol cache for GOT lookup. When a symbol is found it is saved in a cache | 2003-09-04 | 1 | -1/+40 | ||
| | | | | | | for future lookups in the same GOT relocation table. Uses static buffer for small symbol tables, mmap for larger ones. ok deraadt@ | |||||
| * | Fix PR 3371, symbol lookup in dlopen()ed objects is not correct. Correct | 2003-09-02 | 1 | -65/+100 | ||
| | | | | | behavior for RTLD_GLOBAL/RTLD_LOCAL is now supported. ok espie@ | |||||
| * | Dynamic linking random order fixes. This enables random library ordering. | 2003-06-22 | 1 | -13/+29 | ||
| | | | | | Tested by naddy@ and others. | |||||
| * | pefo 3/4 licence cleanups | 2003-06-09 | 1 | -7/+1 | ||
| | | ||||||
| * | knf & ansi; drahn ok | 2003-02-02 | 1 | -12/+9 | ||
| | | ||||||
| * | Change the constructor execution order to initialize dependant libraries | 2003-01-30 | 1 | -1/+3 | ||
| | | | | | first. This mirrors the commit espie put in a.out ld.so recently. | |||||
| * | Remove some error messages which were incorrectly printed. Some cleanup. | 2002-11-23 | 1 | -11/+9 | ||
| | | | | | ok pvalchev@ | |||||
| * | Make error messages on symbol lookup failures more useful. | 2002-11-14 | 1 | -9/+9 | ||
| | | ||||||
| * | Change arguments to _dl_find_symbol() myself, warnnotfound, and inplt into | 2002-08-23 | 1 | -7/+37 | ||
| | | | | | | | | | | | | a single flags field with bits representing each. Use defines to create the appropriate masks. Add a new argument sym_size to warn about symbols which have the incorrect size. This replaces 'ifdef notyet' code which was in several of the md files with a single version. sym_size == 0 means do not check, and symbols of type FUNC are not checked. | |||||
| * | Fix for Elfbug, the Xtiherit problem which has been seen on most OpenBSD | 2002-08-11 | 1 | -4/+10 | ||
| | | | | | | | ELF dynamic systems. This was due to an oddity in ELF where the address of fuctions refer to the PLT address in the program, rather than the actual function address. | |||||
| * | typos/grammar/better words | 2002-07-07 | 1 | -2/+2 | ||
| | | | | | in comments. | |||||
| * | more KNF | 2002-05-28 | 1 | -13/+10 | ||
| | | ||||||
| * | more KNF | 2002-05-24 | 1 | -5/+4 | ||
| | | ||||||
| * | various KNF | 2002-05-24 | 1 | -42/+30 | ||
| | | ||||||
| * | Keep _dl_last_object in sync with reality if last element in list is deleted. | 2002-03-17 | 1 | -1/+5 | ||
| | | | | | allocated memory is not necessarily 0ed, make sure next pointer is inited. | |||||
| * | cleanup of MD/MI ld.so (elf), most changes by art@ cleanup by me. | 2002-02-21 | 1 | -5/+2 | ||
| | | | | | tested on alpha sparc64 powerpc. | |||||
| * | Cleaner hash bucket init and some KNF. | 2001-09-25 | 1 | -24/+28 | ||
| | | ||||||
| * | style | 2001-06-08 | 1 | -15/+13 | ||
| | | ||||||
| * | unsigned long, not u_int32_t | 2001-05-31 | 1 | -3/+3 | ||
| | | ||||||
| * | Cleanup for 64bit support. | 2001-04-02 | 1 | -18/+18 | ||
| | | | | | | Pieces by art, niklas and me. Only tested on powerpc. | |||||
| * | Updated version of ld.so, contains additional functionality and fixes/ | 2000-06-13 | 1 | -8/+21 | ||
| | | | | | | | | | | | | | | | | design changes required by egcs. added support for ldconfig/ld.so.hints changes to low level relocation code, required by egcs pic code generation that moved global variable loads to before the self relocation was performed. Only powerpc supported, mips code not updated. Code cleaned up somewhat reasonably. This code needs to be reviewed closely for significant problems such as correctness and security. | |||||
| * | Initial import of ELF ld.so. This was written indepently of the gnu rtld | 2000-06-13 | 1 | -0/+236 | ||
| code and is fully BSD copyrighted. This initial import contains a mostly working mips and partially working powerpc version. No support for ld.so.hints or system run path exists. | ||||||
