aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdhemerval Zanella Netto <adhemerval.zanella@linaro.org>2022-12-27 18:11:45 -0300
committerAdhemerval Zanella <adhemerval.zanella@linaro.org>2023-03-27 13:57:55 -0300
commit743963cad7cf12563f67368f9c5d279adc796d67 (patch)
tree0539ac4c5031f1c1e613becec26e8ed9108739f6
parent91fc5b99907655bc04cf23247b5fe0ae0ca6e9eb (diff)
downloadglibc-743963cad7cf12563f67368f9c5d279adc796d67.zip
glibc-743963cad7cf12563f67368f9c5d279adc796d67.tar.gz
glibc-743963cad7cf12563f67368f9c5d279adc796d67.tar.bz2
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: Carlos O'Donell <carlos@redhat.com>
-rw-r--r--hurd/set-hooks.h (renamed from include/set-hooks.h)0
1 files changed, 0 insertions, 0 deletions
diff --git a/include/set-hooks.h b/hurd/set-hooks.h
index 7264f61..7264f61 100644
--- a/include/set-hooks.h
+++ b/hurd/set-hooks.h