[7/7] Remove set-hooks.h from generic includes
Checks
Context |
Check |
Description |
dj/TryBot-apply_patch |
success
|
Patch applied to master at the time it was sent
|
dj/TryBot-32bit |
success
|
Build for i686
|
Commit Message
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 (for instance
nptl/nptlfreeres.c).
---
{include => hurd}/set-hooks.h | 0
nptl/nptlfreeres.c | 1 -
sysdeps/mach/hurd/bits/errno.h | 1 -
3 files changed, 2 deletions(-)
rename {include => hurd}/set-hooks.h (100%)
similarity index 100%
rename from include/set-hooks.h
rename to hurd/set-hooks.h
@@ -16,7 +16,6 @@
License along with the GNU C Library; if not, see
<https://www.gnu.org/licenses/>. */
-#include <set-hooks.h>
#include <libc-symbols.h>
#include <pthreadP.h>
#include <nptl-stack.h>