From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 5CA83385782B; Thu, 9 Feb 2023 19:45:26 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5CA83385782B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1675971926; bh=S48yWkjFGgONx7CjjzBqaomiavvxkuQEY5G2wzlsB6Y=; h=From:To:Subject:Date:From; b=b1An3jTztsIZiUl/XcKlrzUE3tXOql21VspqQcyCbZIVPlbQfZ2BiaIt0xtYDl5GS N5Ahk5QQyZTckMku79rJWvuGzaA7EhI1j15G819UMmi/HBNNu7CzDgZdhtlz63C6dU M1SPdmYfpbAzcmVXaviEyyJ4pFoEwyn7QuU97ESA= Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Adhemerval Zanella To: glibc-cvs@sourceware.org Subject: [glibc/azanella/clang] Remove set-hooks.h from generic includes X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella X-Git-Refname: refs/heads/azanella/clang X-Git-Oldrev: 75d48c5c0ad258b2d6e256bada6b29feef7161be X-Git-Newrev: 87218955a2f8133d2bbdd7cb47ebf47648143f9d Message-Id: <20230209194526.5CA83385782B@sourceware.org> Date: Thu, 9 Feb 2023 19:45:26 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;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. 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