From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B6A9315808B for ; Sun, 20 Feb 2022 02:19:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BD533E07C7; Sun, 20 Feb 2022 02:19:27 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8B578E07C7 for ; Sun, 20 Feb 2022 02:19:27 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7F9DE343706 for ; Sun, 20 Feb 2022 02:19:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6FE2DD0 for ; Sun, 20 Feb 2022 02:19:24 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1645322656.c439961a06625b27d39d683beee00e8c3a54005f.sam@gentoo> Subject: [gentoo-commits] proj/crossdev:master commit in: / X-VCS-Repository: proj/crossdev X-VCS-Files: crossdev X-VCS-Directories: / X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: c439961a06625b27d39d683beee00e8c3a54005f X-VCS-Branch: master Date: Sun, 20 Feb 2022 02:19:24 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 1403dfb0-5cfa-439d-a438-fed6d46fb43f X-Archives-Hash: 083149ba5f407cf0647e54cf9df6856a commit: c439961a06625b27d39d683beee00e8c3a54005f Author: Oskari Pirhonen gmail com> AuthorDate: Thu Jan 13 05:08:03 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sun Feb 20 02:04:16 2022 +0000 URL: https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=c439961a crossdev: use package.use.{mask,force} for pie/ssp A hardened host profile forces the pie and ssp USE flags which is overriding GUSE="-pie -ssp". Use package.use.mask and package.use.force to control the flags. Closes: https://bugs.gentoo.org/831165 Signed-off-by: Oskari Pirhonen gmail.com> Signed-off-by: Sam James gentoo.org> crossdev | 45 +++++++++++++++++++++++++++++---------------- 1 file changed, 29 insertions(+), 16 deletions(-) diff --git a/crossdev b/crossdev index e2e01e8..fcf6a65 100755 --- a/crossdev +++ b/crossdev @@ -409,9 +409,11 @@ parse_target() { pie_support=no ;; esac + # Running a hardened profile on the host forces pie #831165 if [[ $pie_support = "no" ]]; then # pie is >=gcc-6, nopie is =gcc-6, nossp is