9be09e060f
to fill in holes (rtld_global_ro): Likewise. 2007-06-18 Jakub Jelinek <jakub@redhat.com> * elf/dl-addr.c (_dl_addr): Skip PT_LOAD checking if l_contiguous. Move PT_LOAD checking to... (_dl_addr_inside_object): ... here, new function. * elf/dl-sym.c (do_sym): If not l_contiguous, call _dl_addr_inside_object. * elf/dl-iteratephdr.c (__dl_iterate_phdr): Likewise. * dlfcn/dlinfo.c (dlinfo_doit): Likewise. * elf/dl-open.c (dl_open_worker): Likewise. (_dl_addr_inside_object): New function if IS_IN_rtld. * elf/dl-load.c (_dl_map_object_from_fd): Set l_contiguous if no holes are present or are PROT_NONE protected. * include/link.h (struct link_map): Add l_contiguous field. * sysdeps/generic/ldsodefs.h (_dl_addr_inside_object): New prototype. |
||
---|---|---|
.. | ||
bug-atexit1-lib.c | ||
bug-atexit1.c | ||
bug-atexit2-lib.c | ||
bug-atexit2.c | ||
bug-atexit3-lib.cc | ||
bug-atexit3.c | ||
bug-dlopen1.c | ||
bug-dlsym1-lib1.c | ||
bug-dlsym1-lib2.c | ||
bug-dlsym1.c | ||
default.c | ||
defaultmod1.c | ||
defaultmod2.c | ||
dladdr1.c | ||
dladdr.c | ||
dlclose.c | ||
dlerror.c | ||
dlfcn.c | ||
dlfcn.h | ||
dlinfo.c | ||
dlmopen.c | ||
dlopen.c | ||
dlopenold.c | ||
dlsym.c | ||
dlvsym.c | ||
errmsg1.c | ||
errmsg1mod.c | ||
eval.c | ||
failtest.c | ||
failtestmod.c | ||
glreflib1.c | ||
glreflib2.c | ||
glrefmain.c | ||
Makefile | ||
modatexit.c | ||
modcxaatexit.c | ||
modstatic2.c | ||
modstatic.c | ||
sdladdr1.c | ||
sdladdr.c | ||
sdlclose.c | ||
sdlerror.c | ||
sdlinfo.c | ||
sdlmopen.c | ||
sdlopen.c | ||
sdlsym.c | ||
sdlvsym.c | ||
tst-dladdr.c | ||
tst-dlinfo.c | ||
tstatexit.c | ||
tstcxaatexit.c | ||
tststatic2.c | ||
tststatic.c | ||
Versions |