From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1791) id 5FA0F3858404; Mon, 27 Mar 2023 19:57:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 5FA0F3858404 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1679947031; bh=SFKwTwDNYpxVAJOo5DC+ohdqTbsibkleA6MR8TSqY5g=; h=From:To:Subject:Date:From; b=fqLI6+71Ajj6sTnzc5+AKqEyZbeCeKWCiQD0V9WS8KjC+1GQFhVCO/MFurjgt4lkN ncTudNjv5llULcrBb4FSVRc7g+a3LoWJcsPC3wOuooLhKn206FqMf5UysD3GD/j/rY bLR0cYWstfVQ+B56QRQmZTvpVUPZA1jKKVhXmfSA= 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] Remove set-hooks.h from generic includes X-Act-Checkin: glibc X-Git-Author: Adhemerval Zanella Netto X-Git-Refname: refs/heads/master X-Git-Oldrev: 91fc5b99907655bc04cf23247b5fe0ae0ca6e9eb X-Git-Newrev: 743963cad7cf12563f67368f9c5d279adc796d67 Message-Id: <20230327195711.5FA0F3858404@sourceware.org> Date: Mon, 27 Mar 2023 19:57:11 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=743963cad7cf12563f67368f9c5d279adc796d67 commit 743963cad7cf12563f67368f9c5d279adc796d67 Author: Adhemerval Zanella Netto 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 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