This is the mail archive of the glibc-bugs@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug dynamic-link/20204] _dl_open_hook and _dlfcn_hook hardening


https://sourceware.org/bugzilla/show_bug.cgi?id=20204

Florian Weimer <fweimer at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Protect _dl_open_hook and   |_dl_open_hook and
                   |_dlfcn_hook with pointer    |_dlfcn_hook hardening
                   |guard                       |

--- Comment #1 from Florian Weimer <fweimer at redhat dot com> ---
We can use _rtld_global_ro to disable the hooks entirely for anything except
the static dlopen case (dlmopen uses a shared ld.so and not these hooks).  This
is both simpler to implement and more reliable than pointer mangling.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]