public inbox for
help / color / mirror / Atom feed
* [glibc/azanella/clang] Remove set-hooks.h from generic includes
@ 2023-02-09 19:45 Adhemerval Zanella
  0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2023-02-09 19:45 UTC (permalink / raw)
  To: glibc-cvs;h=87218955a2f8133d2bbdd7cb47ebf47648143f9d

commit 87218955a2f8133d2bbdd7cb47ebf47648143f9d
Author: Adhemerval Zanella <>
Date:   Tue Nov 15 15:50:10 2022 -0300

    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 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(-)

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

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2023-02-09 19:45 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-09 19:45 [glibc/azanella/clang] Remove set-hooks.h from generic includes Adhemerval Zanella

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).