Skip to content
Commit 743963ca authored by Adhemerval Zanella Netto's avatar Adhemerval Zanella Netto Committed by Adhemerval Zanella
Browse files

Remove set-hooks.h from generic includes



The hooks mechanism uses symbol sets for running lists of functions,
which requires either extra linker directives to provide any hardening
(such as RELRO) or additional code (such as pointer obfuscation via
mangling with random value).

Currently only hurd uses set-hooks.h so we remove it from the generic
includes.  The generic implementation uses direct function calls which
provide hardening and good code generation, observability and debugging
without the need for extra linking options or special code handling.

Reviewed-by: default avatarCarlos O'Donell <carlos@redhat.com>
parent 91fc5b99
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