public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
* [glibc] Remove set-hooks.h from generic includes
@ 2023-03-27 19:57 Adhemerval Zanella
  0 siblings, 0 replies; only message in thread
From: Adhemerval Zanella @ 2023-03-27 19:57 UTC (permalink / raw)
  To: glibc-cvs

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=743963cad7cf12563f67368f9c5d279adc796d67

commit 743963cad7cf12563f67368f9c5d279adc796d67
Author: Adhemerval Zanella Netto <adhemerval.zanella@linaro.org>
Date:   Tue Dec 27 18:11:45 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 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>

Diff:
---
 {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-03-27 19:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-27 19:57 [glibc] 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).