glibc/dlfcn
Florian Weimer 8e1472d2c1 ld.so: Examine GLRO to detect inactive loader [BZ #20204]
GLRO (_rtld_global_ro) is read-only after initialization and can
therefore not be patched at run time, unlike the hook table addresses
and their contents, so this is a desirable hardening feature.

The hooks are only needed if ld.so has not been initialized, and this
happens only after static dlopen (dlmopen uses a single ld.so object
across all namespaces).

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
2017-12-18 20:04:13 +01:00
..
Makefile
Versions
bug-atexit1-lib.c
bug-atexit1.c Prefer https for Sourceware links 2017-11-16 11:49:26 +05:30
bug-atexit2-lib.c
bug-atexit2.c Prefer https for Sourceware links 2017-11-16 11:49:26 +05:30
bug-atexit3-lib.cc
bug-atexit3.c
bug-dl-leaf-lib-cb.c
bug-dl-leaf-lib.c
bug-dl-leaf.c
bug-dlopen1.c
bug-dlsym1-lib1.c
bug-dlsym1-lib2.c
bug-dlsym1.c
default.c
defaultmod1.c
defaultmod2.c
dladdr.c ld.so: Examine GLRO to detect inactive loader [BZ #20204] 2017-12-18 20:04:13 +01:00
dladdr1.c ld.so: Examine GLRO to detect inactive loader [BZ #20204] 2017-12-18 20:04:13 +01:00
dlclose.c ld.so: Examine GLRO to detect inactive loader [BZ #20204] 2017-12-18 20:04:13 +01:00
dlerror.c ld.so: Examine GLRO to detect inactive loader [BZ #20204] 2017-12-18 20:04:13 +01:00
dlfcn.c
dlfcn.h
dlinfo.c ld.so: Examine GLRO to detect inactive loader [BZ #20204] 2017-12-18 20:04:13 +01:00
dlmopen.c ld.so: Examine GLRO to detect inactive loader [BZ #20204] 2017-12-18 20:04:13 +01:00
dlopen.c ld.so: Examine GLRO to detect inactive loader [BZ #20204] 2017-12-18 20:04:13 +01:00
dlopenold.c ld.so: Examine GLRO to detect inactive loader [BZ #20204] 2017-12-18 20:04:13 +01:00
dlsym.c ld.so: Examine GLRO to detect inactive loader [BZ #20204] 2017-12-18 20:04:13 +01:00
dlvsym.c ld.so: Examine GLRO to detect inactive loader [BZ #20204] 2017-12-18 20:04:13 +01:00
errmsg1.c
errmsg1mod.c
failtest.c
failtestmod.c
glreflib1.c
glreflib2.c
glreflib3.c
glrefmain.c
modatexit.c Mark __dso_handle as hidden [BZ #18822] 2017-09-26 16:53:44 -07:00
modcxaatexit.c Mark __dso_handle as hidden [BZ #18822] 2017-09-26 16:53:44 -07:00
moddummy1.c
moddummy2.c
modstatic.c
modstatic2.c
modstatic3.c
modstatic5.c
sdladdr.c
sdladdr1.c
sdlclose.c
sdlerror.c
sdlinfo.c
sdlmopen.c
sdlopen.c
sdlsym.c
sdlvsym.c
tst-dladdr.c
tst-dlinfo.c
tst-rec-dlopen.c
tstatexit.c Mark __dso_handle as hidden [BZ #18822] 2017-09-26 16:53:44 -07:00
tstcxaatexit.c Mark __dso_handle as hidden [BZ #18822] 2017-09-26 16:53:44 -07:00
tststatic.c
tststatic2.c
tststatic3.c
tststatic4.c
tststatic5.c