public inbox for glibc-cvs@sourceware.org
help / color / mirror / Atom feed
From: Adhemerval Zanella <azanella@sourceware.org>
To: glibc-cvs@sourceware.org
Subject: [glibc] Remove set-hooks.h from generic includes
Date: Mon, 27 Mar 2023 19:57:11 +0000 (GMT)	[thread overview]
Message-ID: <20230327195711.5FA0F3858404@sourceware.org> (raw)

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

                 reply	other threads:[~2023-03-27 19:57 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20230327195711.5FA0F3858404@sourceware.org \
    --to=azanella@sourceware.org \
    --cc=glibc-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).