Skip to content
Commit 8e1472d2 authored by Florian Weimer's avatar Florian Weimer
Browse files

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: default avatarCarlos O'Donell <carlos@redhat.com>
parent 49b036bc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment