[PATCH v2 4/4] Remove set-hooks.h from generic includes
Adhemerval Zanella
adhemerval.zanella@linaro.org
Thu Dec 22 18:15:06 GMT 2022
The hooks mechanism uses symbol sets for running lists of functions,
which requires either extra linker directives to provide any hardening
(such RELRO) or additional code (such as pointer obfuscation via
mangling with random value).
Currently only hurd uses it and there multiple examples where using
direct function call provides both hardening and good code generation
without the need to extra link or code handling.
---
{include => hurd}/set-hooks.h | 0
1 file changed, 0 insertions(+), 0 deletions(-)
rename {include => hurd}/set-hooks.h (100%)
diff --git a/include/set-hooks.h b/hurd/set-hooks.h
similarity index 100%
rename from include/set-hooks.h
rename to hurd/set-hooks.h
--
2.34.1
More information about the Libc-alpha
mailing list