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/azanella/clang] Remove set-hooks.h from generic includes
Date: Thu,  9 Feb 2023 19:45:26 +0000 (GMT)	[thread overview]
Message-ID: <20230209194526.5CA83385782B@sourceware.org> (raw)

https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=87218955a2f8133d2bbdd7cb47ebf47648143f9d

commit 87218955a2f8133d2bbdd7cb47ebf47648143f9d
Author: Adhemerval Zanella <adhemerval.zanella@linaro.org>
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.

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-02-09 19:45 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=20230209194526.5CA83385782B@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).