86103e2f0e
* Rename _rtld_find_library() to _rtld_load_library(). It now calls _rtld_load_object() if necessary to actually load the object, rather than having the caller do it. To do this, it also takes the `mode' argument that gets passed to _rtld_load_object(). * On a related note, remove _rtld_check_library(), and instead call _rtld_load_object() to instead try actually loading the object. We save two extra namei's and a bunch of redundant work (almost literally the same code) this way. * In _rtld_map_object(), mmap(2) the first page read-only, rather than read(2)ing it. * In _rtld_symlook_obj(), compare the *second* character of the symbol name before calling strcmp(). (This first character is too frequently `_', and turns out to not be helpful, in libc.) * Also in _rtld_symlook_obj(), remove the bogus STT_FUNC special case -- this also allows removing the `in_plt' argument to _rtld_symlook_list() and _rtld_symlook_obj(). Also: * In _rtld_obj_from_addr(), rather than trying to look up `_end' in the each object, instead use obj->mapsize as the upper bound. |
||
---|---|---|
.. | ||
atrun | ||
comsat | ||
cron | ||
fingerd | ||
ftpd | ||
getNAME | ||
getty | ||
hpropd | ||
identd | ||
kadmind | ||
kpasswdd | ||
ld.aout_so | ||
ld.elf_so | ||
lfs_cleanerd | ||
mail.local | ||
makekey | ||
makewhatis | ||
rexecd | ||
rlogind | ||
rmail | ||
rpc.rquotad | ||
rpc.rstatd | ||
rpc.rusersd | ||
rpc.rwalld | ||
rpc.sprayd | ||
rshd | ||
talkd | ||
telnetd | ||
tftpd | ||
utmp_update | ||
uucpd | ||
Makefile | ||
Makefile.inc |