From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9E13EC433EF for ; Thu, 17 Feb 2022 08:17:26 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237424AbiBQIRi (ORCPT ); Thu, 17 Feb 2022 03:17:38 -0500 Received: from mxb-00190b01.gslb.pphosted.com ([23.128.96.19]:52010 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S237422AbiBQIRd (ORCPT ); Thu, 17 Feb 2022 03:17:33 -0500 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (mail-eopbgr70089.outbound.protection.outlook.com [40.107.7.89]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 66F941BAC70 for ; Thu, 17 Feb 2022 00:17:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uPJeavxnjytgeGuGvu8rj3WEI6aqFJr98u8loW+rzQM=; b=FYsip1VaKBEfSejx5OpXSebmZ6sIsY4/BBgyovlHNEp2xwgcEcP14XC0NCYK9JKWhkNVruvoRShNgRXDtCBJe+gPZL4xq2XV+1VdehvXS67MjXZlRTr0RtVtTBcVLleZdramSVCJZpwqeUYychPyMGBSd4bDhW4/Cqmy4ZrVSoY= Received: from AM5PR0502CA0005.eurprd05.prod.outlook.com (2603:10a6:203:91::15) by DB7PR08MB3419.eurprd08.prod.outlook.com (2603:10a6:10:42::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.16; Thu, 17 Feb 2022 08:17:14 +0000 Received: from VE1EUR03FT064.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:91:cafe::21) by AM5PR0502CA0005.outlook.office365.com (2603:10a6:203:91::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.20 via Frontend Transport; Thu, 17 Feb 2022 08:17:13 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT064.mail.protection.outlook.com (10.152.19.210) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.11 via Frontend Transport; Thu, 17 Feb 2022 08:17:13 +0000 Received: ("Tessian outbound 18e50a6f0513:v113"); Thu, 17 Feb 2022 08:17:13 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 6ab5363d82ecee70 X-CR-MTA-TID: 64aa7808 Received: from 17901ca3ae3b.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id BFD48C18-54CC-478B-82C7-4C63F702B8F2.1; Thu, 17 Feb 2022 08:17:07 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 17901ca3ae3b.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Feb 2022 08:17:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BgLX5hyxgCiANW0u83gnuPb+cLqsBN97OEdyz2cSf92sNOoujnOt57w4bKBx7Y7Oz4KQIvGINEr6U8h1xX5+cK+9RZ/PKHb3TXY2lTWSDWWQrvGC+U52Fi8Zh4xzxYl9hqX/PJ/BGfpkzr8Gi2PADvY2OSX+Esl1Dym+GC5RdTriWK4tYNWYIedpXUu+wPunfrxSC7qw8QoUA7DmBKRxqa2SMUn2X6ash36Fu/6sGZvjj6h/HKOWQmGYSMHjR5nvkHxHy9HaQTRYwvbNcvm6pt46e4qqW2PSLfr8cNQtGKP5zLeNARd0rrBheVI2llkaDwghXi+LBadjcHrAiV9Meg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uPJeavxnjytgeGuGvu8rj3WEI6aqFJr98u8loW+rzQM=; b=fb8O+8GgcKWY4Hgc3Mhz/u1+01dPWdYHnZrQ/bFJpizaFucODmfW/y8Rg7qiFNWiFt5u3dfVX4MnMTK/CMgKtKYsN8+VjzJxxGTHoYi5fTtxweksHC9Sl863IppE5WRRUcFKqXfizEWM67NVcwNRdtP0o9kL10gcHfLOPkBN8XQw70ktke8DyX8P1rzpBjQxwVfM0Cou/Fvoid2hrH6L+RPs2ydnXGz9vopmJDnTm0OXZz2ClI3KIQ3Oo6/yTISU0YKlcNBTEUrHR1VwPTPQCpnvUKOYTjMIRIowvYbh0ISBQu9Jqw8qq8QAD5vpUvDeDcZzTsrlcXaAiYfcqjax8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uPJeavxnjytgeGuGvu8rj3WEI6aqFJr98u8loW+rzQM=; b=FYsip1VaKBEfSejx5OpXSebmZ6sIsY4/BBgyovlHNEp2xwgcEcP14XC0NCYK9JKWhkNVruvoRShNgRXDtCBJe+gPZL4xq2XV+1VdehvXS67MjXZlRTr0RtVtTBcVLleZdramSVCJZpwqeUYychPyMGBSd4bDhW4/Cqmy4ZrVSoY= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from DB9PR08MB7179.eurprd08.prod.outlook.com (2603:10a6:10:2cc::19) by DB6PR0802MB2294.eurprd08.prod.outlook.com (2603:10a6:4:85::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.19; Thu, 17 Feb 2022 08:17:04 +0000 Received: from DB9PR08MB7179.eurprd08.prod.outlook.com ([fe80::dca:9146:2814:3f63]) by DB9PR08MB7179.eurprd08.prod.outlook.com ([fe80::dca:9146:2814:3f63%7]) with mapi id 15.20.4995.016; Thu, 17 Feb 2022 08:17:04 +0000 Date: Thu, 17 Feb 2022 08:17:02 +0000 From: Szabolcs Nagy To: Mark Brown Cc: Catalin Marinas , Will Deacon , linux-arch@vger.kernel.org, Yu-cheng Yu , libc-alpha@sourceware.org, Jeremy Linton , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v8 0/4] arm64: Enable BTI for the executable as well as the interpreter Message-ID: <20220217081702.GI2692478@arm.com> References: <20220124150704.2559523-1-broonie@kernel.org> <20220215183456.GB9026@willie-the-truck> <20220216164954.GH2692478@arm.com> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: LO2P265CA0329.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a4::29) To DB9PR08MB7179.eurprd08.prod.outlook.com (2603:10a6:10:2cc::19) MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: c03007b8-a8cb-483d-d5c5-08d9f1ede714 X-MS-TrafficTypeDiagnostic: DB6PR0802MB2294:EE_|VE1EUR03FT064:EE_|DB7PR08MB3419:EE_ X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: pe7JS3sNEIzP/e3i6Hr30pmTrwZfjM02yBNbOexpmb4UW0lZPxT2GKmzEP5qrPVa7ynUf/V/SwyJdXOuFmG4oCq2D6Xw1rRNnH9u6I4dN5rySi/2Kv5FU8go3SwR5KnWsrs3WvtmGzi2pOvLnWqWn07+VmwHWzhgUi2xfTKrQ8YF5WUlvy55C61EKr385MSYFQTH9LB9hd4ktWHi7Xb/4TVEjhgT28lnv1hJDk1BVEIZYMTjtbVi7a7rlR+Cf1jgeVBSmAZsbLHnilEWloMBCMAcanWt97WGKBKqQMAlWhiITwJuWCm0bKWVVhWlDyo+/JXjmJalsgIchT4meSPWunPA4EncImulcBRWHomkWf2cqlo/HzYQm0s5dDNETjjLXvxYZXI89p59JfV+2JAsyYjKIKBuC+HD1ogbH9GpnMD7a4ZJc+QvSCcxUm6cmP/BAyIO0jSDRMy/zrpOIC/+uBeEH4Zm95CeZsuFF1Unw0468KYiqd5CpOZiPCDiso81PKR5hkILBJZC1QNYG2l2KNsuC+6oKtoMtbpPyGbVKCU9sf7jEcV10NQ6rKZ89vnDwoP0A2swxMslA8WfiphIqaqJXBFwLjLFK997b2xGGhyms+Ad8R//M+0a9DcuVODm5xd8Ge7xvricrCV+U+LVKmYdjaD1+LmBcxH1Fu3X02p5C8BDygEia45NGHwGH1kzL7r3igDZ/rl9teStqZ853g== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:DB9PR08MB7179.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(52116002)(54906003)(6916009)(44832011)(36756003)(6486002)(66476007)(8936002)(508600001)(33656002)(316002)(2906002)(66556008)(5660300002)(86362001)(66946007)(38100700002)(1076003)(4326008)(8676002)(4744005)(6506007)(2616005)(186003)(6512007)(26005)(38350700002);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2294 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT064.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: cade716f-c1bc-494b-3f82-08d9f1ede13c X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: UxZgxd3irbn+ZH3o32cCKJgHgCX/H7i9+ZMJbJD/0MPqVHkKnNpjfWAKg8Rq0HqFGe3TEtOCopuY+EDStsu3xGwndmow/pa6RlENADoZ7+9wPeMbFHqr0V5AU78M86o2N0uq6qG3aTF0v6OAE36Mcpqe+dQ4cANvWuI1hmWqFSm8oc1A1eiB2YlMdwJhUjSU70CMBq1Kx6r3mtInXHL+Q+dphlu+v0vV0Z6J69XHNrkWhCHFp/Z/ZPFOEil36GHShW4fjDjtCJlxucrLhTdvCQUbstfX7ZD7QwOPsLdcSfrLBZ2dtEskCFYVAaZPljFe8WV0Fr/x4IFCuKLZHPPX6LSMLLBjakDxI766S+1JxIcn4V+I/i8FI04Nh2LKsjwpWQmRXAHPkjmZmcv+vHqIk68MmUPMaPtcenOqPwUQLTuKUv0QgZgUPXvetMSvy82GGoMsvcdRK4toa5MWSwXjdp3wTmfeKMOS10o8hIX5Vw/vc31qoY5rGRd4os24hZOF+yRIH4y7n5eNkid3/yBtmnkzosmcw18KFlCEysCs1m/8EBQpZiyVclAgEUlqSPTaWsSrYfc0HoFGhz5qIFfDxIV/R683DpvtL+6EAWV1TiQklYDQi8POE55BvM7N5g4kNbbcBLTarnK73E2ACOVsMvPDsKlei5GsxIbl1cmAh8ZBpfrAb+cQnZxCqIpuARIA X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFS:(13230001)(4636009)(40470700004)(36840700001)(46966006)(82310400004)(8676002)(2906002)(44832011)(508600001)(6486002)(81166007)(356005)(316002)(4326008)(54906003)(5660300002)(6512007)(40460700003)(33656002)(6506007)(6862004)(86362001)(36860700001)(36756003)(4744005)(47076005)(8936002)(26005)(186003)(107886003)(336012)(1076003)(70206006)(70586007)(2616005);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2022 08:17:13.4831 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c03007b8-a8cb-483d-d5c5-08d9f1ede714 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: VE1EUR03FT064.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3419 Precedence: bulk List-ID: X-Mailing-List: linux-arch@vger.kernel.org The 02/16/2022 17:01, Mark Brown wrote: > On Wed, Feb 16, 2022 at 04:49:54PM +0000, Szabolcs Nagy wrote: > > > if we ever wanted to map bti marked binaries without PROT_BTI > > and introduced a knob to do that in ld.so, then this change > > would be problematic (we cannot easily remove PROT_BTI from > > the exe), but we don't have such plans. > > In general or only in the case where MWDE is enabled (in which case it's > the same problem as exists today trying to enable BTI in the presence of > MWDE)? ah yes with mwde only. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 50666C433F5 for ; Thu, 17 Feb 2022 08:18:45 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:In-Reply-To:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=pAXrX1QL1lMLfDfnj76wLM01ArNvBl8HTf2imTpLvtU=; b=0ymouuNqV/QpbW iYsSd+7yOQFixWwL0wIrjPL+5Br7KW1kE8Q71cmZJhlSNhVazfgm/4xH3P+qsaHTuodwXEm+DFglp e//wK4RaK+2lU4aQwHHO+K6qhCrquInhA1M6rFe0FFVaZOe4jjc1Zg1u0TtClAHDgMfB+KnVElbcL jF4kKNWSbm1i0/f/SKOEAGock87Oz4Ecqb16mysz8LfxbQER4l1zdyYJVpVBIiy8pNNATlFiloFL7 dR1qIb08p7qHYyr2qwuyIDWLxeTvAOScN/1GvDLgCKBj3PqCxjrYFqp2NCudnhoofjYyjfKCe/Dj0 3HZTdfyksvI6c5Q3SuDQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKbyc-009OA4-Ae; Thu, 17 Feb 2022 08:17:22 +0000 Received: from mail-he1eur02on061d.outbound.protection.outlook.com ([2a01:111:f400:fe05::61d] helo=EUR02-HE1-obe.outbound.protection.outlook.com) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1nKbyY-009O8K-97 for linux-arm-kernel@lists.infradead.org; Thu, 17 Feb 2022 08:17:19 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uPJeavxnjytgeGuGvu8rj3WEI6aqFJr98u8loW+rzQM=; b=FYsip1VaKBEfSejx5OpXSebmZ6sIsY4/BBgyovlHNEp2xwgcEcP14XC0NCYK9JKWhkNVruvoRShNgRXDtCBJe+gPZL4xq2XV+1VdehvXS67MjXZlRTr0RtVtTBcVLleZdramSVCJZpwqeUYychPyMGBSd4bDhW4/Cqmy4ZrVSoY= Received: from AM6P195CA0011.EURP195.PROD.OUTLOOK.COM (2603:10a6:209:81::24) by DB7PR08MB2954.eurprd08.prod.outlook.com (2603:10a6:5:1c::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.19; Thu, 17 Feb 2022 08:17:13 +0000 Received: from AM5EUR03FT058.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:81:cafe::af) by AM6P195CA0011.outlook.office365.com (2603:10a6:209:81::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4995.14 via Frontend Transport; Thu, 17 Feb 2022 08:17:13 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT058.mail.protection.outlook.com (10.152.17.48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.11 via Frontend Transport; Thu, 17 Feb 2022 08:17:12 +0000 Received: ("Tessian outbound 18e50a6f0513:v113"); Thu, 17 Feb 2022 08:17:13 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 6ab5363d82ecee70 X-CR-MTA-TID: 64aa7808 Received: from 17901ca3ae3b.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id BFD48C18-54CC-478B-82C7-4C63F702B8F2.1; Thu, 17 Feb 2022 08:17:07 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 17901ca3ae3b.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Feb 2022 08:17:07 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=BgLX5hyxgCiANW0u83gnuPb+cLqsBN97OEdyz2cSf92sNOoujnOt57w4bKBx7Y7Oz4KQIvGINEr6U8h1xX5+cK+9RZ/PKHb3TXY2lTWSDWWQrvGC+U52Fi8Zh4xzxYl9hqX/PJ/BGfpkzr8Gi2PADvY2OSX+Esl1Dym+GC5RdTriWK4tYNWYIedpXUu+wPunfrxSC7qw8QoUA7DmBKRxqa2SMUn2X6ash36Fu/6sGZvjj6h/HKOWQmGYSMHjR5nvkHxHy9HaQTRYwvbNcvm6pt46e4qqW2PSLfr8cNQtGKP5zLeNARd0rrBheVI2llkaDwghXi+LBadjcHrAiV9Meg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=uPJeavxnjytgeGuGvu8rj3WEI6aqFJr98u8loW+rzQM=; b=fb8O+8GgcKWY4Hgc3Mhz/u1+01dPWdYHnZrQ/bFJpizaFucODmfW/y8Rg7qiFNWiFt5u3dfVX4MnMTK/CMgKtKYsN8+VjzJxxGTHoYi5fTtxweksHC9Sl863IppE5WRRUcFKqXfizEWM67NVcwNRdtP0o9kL10gcHfLOPkBN8XQw70ktke8DyX8P1rzpBjQxwVfM0Cou/Fvoid2hrH6L+RPs2ydnXGz9vopmJDnTm0OXZz2ClI3KIQ3Oo6/yTISU0YKlcNBTEUrHR1VwPTPQCpnvUKOYTjMIRIowvYbh0ISBQu9Jqw8qq8QAD5vpUvDeDcZzTsrlcXaAiYfcqjax8A== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=uPJeavxnjytgeGuGvu8rj3WEI6aqFJr98u8loW+rzQM=; b=FYsip1VaKBEfSejx5OpXSebmZ6sIsY4/BBgyovlHNEp2xwgcEcP14XC0NCYK9JKWhkNVruvoRShNgRXDtCBJe+gPZL4xq2XV+1VdehvXS67MjXZlRTr0RtVtTBcVLleZdramSVCJZpwqeUYychPyMGBSd4bDhW4/Cqmy4ZrVSoY= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from DB9PR08MB7179.eurprd08.prod.outlook.com (2603:10a6:10:2cc::19) by DB6PR0802MB2294.eurprd08.prod.outlook.com (2603:10a6:4:85::10) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.19; Thu, 17 Feb 2022 08:17:04 +0000 Received: from DB9PR08MB7179.eurprd08.prod.outlook.com ([fe80::dca:9146:2814:3f63]) by DB9PR08MB7179.eurprd08.prod.outlook.com ([fe80::dca:9146:2814:3f63%7]) with mapi id 15.20.4995.016; Thu, 17 Feb 2022 08:17:04 +0000 Date: Thu, 17 Feb 2022 08:17:02 +0000 From: Szabolcs Nagy To: Mark Brown Cc: Catalin Marinas , Will Deacon , linux-arch@vger.kernel.org, Yu-cheng Yu , libc-alpha@sourceware.org, Jeremy Linton , linux-arm-kernel@lists.infradead.org Subject: Re: [PATCH v8 0/4] arm64: Enable BTI for the executable as well as the interpreter Message-ID: <20220217081702.GI2692478@arm.com> References: <20220124150704.2559523-1-broonie@kernel.org> <20220215183456.GB9026@willie-the-truck> <20220216164954.GH2692478@arm.com> Content-Disposition: inline In-Reply-To: X-ClientProxiedBy: LO2P265CA0329.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:a4::29) To DB9PR08MB7179.eurprd08.prod.outlook.com (2603:10a6:10:2cc::19) MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: 7f5c3ff4-71ad-4076-e580-08d9f1ede6bc X-MS-TrafficTypeDiagnostic: DB6PR0802MB2294:EE_|AM5EUR03FT058:EE_|DB7PR08MB2954:EE_ X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: pe7JS3sNEIzP/e3i6Hr30pmTrwZfjM02yBNbOexpmb4UW0lZPxT2GKmzEP5qrPVa7ynUf/V/SwyJdXOuFmG4oCq2D6Xw1rRNnH9u6I4dN5rySi/2Kv5FU8go3SwR5KnWsrs3WvtmGzi2pOvLnWqWn07+VmwHWzhgUi2xfTKrQ8YF5WUlvy55C61EKr385MSYFQTH9LB9hd4ktWHi7Xb/4TVEjhgT28lnv1hJDk1BVEIZYMTjtbVi7a7rlR+Cf1jgeVBSmAZsbLHnilEWloMBCMAcanWt97WGKBKqQMAlWhiITwJuWCm0bKWVVhWlDyo+/JXjmJalsgIchT4meSPWunPA4EncImulcBRWHomkWf2cqlo/HzYQm0s5dDNETjjLXvxYZXI89p59JfV+2JAsyYjKIKBuC+HD1ogbH9GpnMD7a4ZJc+QvSCcxUm6cmP/BAyIO0jSDRMy/zrpOIC/+uBeEH4Zm95CeZsuFF1Unw0468KYiqd5CpOZiPCDiso81PKR5hkILBJZC1QNYG2l2KNsuC+6oKtoMtbpPyGbVKCU9sf7jEcV10NQ6rKZ89vnDwoP0A2swxMslA8WfiphIqaqJXBFwLjLFK997b2xGGhyms+Ad8R//M+0a9DcuVODm5xd8Ge7xvricrCV+U+LVKmYdjaD1+LmBcxH1Fu3X02p5C8BDygEia45NGHwGH1kzL7r3igDZ/rl9teStqZ853g== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DB9PR08MB7179.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(52116002)(54906003)(6916009)(44832011)(36756003)(6486002)(66476007)(8936002)(508600001)(33656002)(316002)(2906002)(66556008)(5660300002)(86362001)(66946007)(38100700002)(1076003)(4326008)(8676002)(4744005)(6506007)(2616005)(186003)(6512007)(26005)(38350700002); DIR:OUT; SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0802MB2294 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT058.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: cade716f-c1bc-494b-3f82-08d9f1ede13c X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: FLtzMLdrKtNpyedRU4zXPO0ITXXjqiKq4qIQmEcPlBON+AuzLqDw5TyPt5u3EvgasRxbOOWYViHva3A5IYT/wIypKIuONEcwtynO7fU9t0PKWvd8rXSNOb5nFMvGDFleMvgbAYIUmbvCu3U5e6Tx5zbYSe8fUOheREpTp5Qd+MbpwDhVApxPSb1eSZqzbB+3KIl/lZUEnJsGgSEtIjsU6w1/HBCugQzoqvaG/Hrwo8wivUn2kC0mz2NtFaIrLDg/W5lfs4lTEjafXDtvj2xQr77skGHPwuKgtgE3sAZDDsR+wMcKh5VIW9BH4knadoJ7NGrZTg5TlM2Cc+dcowMcp3BUBvNfGnUyCOe3TM/dSuSrD+DjYtv3dE85S3cwOKRmB1NQRYEWqakfGyc5oR54++WskKpiAxY/dr4NwaDMOP5NcVYo3c0x6JnC5QRqssdWLV9rWsahZFcJORJ2uUKbPBEEDBf8msdWC/TbP3j9/2lEVY8oEZrGsVRelCfIlNdOslYV6kV1ALesKWmXgSqnlbbwog+ktQk5CS29S24cQ3Pcwbegrp6FaEYN0VAJhvN0+nNjJ3kplu8bJMYtNggf4aag2wKTKYvrWVAU7hkIeLCsFBWGbcAky1VAfr0s4Ce1lB3IKTEQNht23aVEvouswmtezte39yf27/JrEwo4R1QXwUsrN/3zK/uH2md/GLoW X-Forefront-Antispam-Report: CIP:63.35.35.123; CTRY:IE; LANG:en; SCL:1; SRV:; IPV:CAL; SFV:NSPM; H:64aa7808-outbound-1.mta.getcheckrecipient.com; PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com; CAT:NONE; SFS:(13230001)(4636009)(46966006)(36840700001)(40470700004)(47076005)(82310400004)(8936002)(5660300002)(36860700001)(86362001)(44832011)(4744005)(356005)(54906003)(81166007)(316002)(6862004)(8676002)(70206006)(4326008)(70586007)(33656002)(508600001)(2616005)(6506007)(6512007)(26005)(186003)(1076003)(336012)(40460700003)(36756003)(6486002)(2906002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Feb 2022 08:17:12.9537 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7f5c3ff4-71ad-4076-e580-08d9f1ede6bc X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d; Ip=[63.35.35.123]; Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-AuthSource: AM5EUR03FT058.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB2954 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220217_001718_344609_01395F3C X-CRM114-Status: GOOD ( 11.95 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org The 02/16/2022 17:01, Mark Brown wrote: > On Wed, Feb 16, 2022 at 04:49:54PM +0000, Szabolcs Nagy wrote: > > > if we ever wanted to map bti marked binaries without PROT_BTI > > and introduced a knob to do that in ld.so, then this change > > would be problematic (we cannot easily remove PROT_BTI from > > the exe), but we don't have such plans. > > In general or only in the case where MWDE is enabled (in which case it's > the same problem as exists today trying to enable BTI in the presence of > MWDE)? ah yes with mwde only. _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel