From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on dcvr.yhbt.net X-Spam-Level: X-Spam-Status: No, score=-3.9 required=3.0 tests=AWL,BAYES_00,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS,UNPARSEABLE_RELAY shortcircuit=no autolearn=ham autolearn_force=no version=3.4.2 Received: from sourceware.org (server2.sourceware.org [8.43.85.97]) (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 dcvr.yhbt.net (Postfix) with ESMTPS id C33131F5AE for ; Wed, 29 Jul 2020 08:49:49 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id AB88F3857C5F; Wed, 29 Jul 2020 08:49:48 +0000 (GMT) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2080.outbound.protection.outlook.com [40.107.20.80]) by sourceware.org (Postfix) with ESMTPS id 30D3C3858D35 for ; Wed, 29 Jul 2020 08:49:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 30D3C3858D35 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=Szabolcs.Nagy@arm.com 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=wWQ05lXktXpSgYiIRJ9RBQHpMLnNsYJLkEn0b2oyhcI=; b=JyKCirAvCFEGkvJTJ0vNwzul1qUq2zbFdwno5RRtSxJP5ROr8+CxjXWD0A/yaVQ2q3AJR6hBzf7XL8d7fdeiqXekvR9MpuUU4xNwiX4sQIp4M2YscGO8qQfQ01Qsm4afIuJxnVl4uKLfCJrre7BKCnFvQs3zvC2FXA6yZmWMB1s= Received: from AM5PR1001CA0028.EURPRD10.PROD.OUTLOOK.COM (2603:10a6:206:2::41) by VE1PR08MB5069.eurprd08.prod.outlook.com (2603:10a6:803:105::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.23; Wed, 29 Jul 2020 08:49:43 +0000 Received: from AM5EUR03FT023.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:2:cafe::20) by AM5PR1001CA0028.outlook.office365.com (2603:10a6:206:2::41) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.17 via Frontend Transport; Wed, 29 Jul 2020 08:49:42 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; sourceware.org; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; sourceware.org; dmarc=bestguesspass 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 AM5EUR03FT023.mail.protection.outlook.com (10.152.16.169) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.10 via Frontend Transport; Wed, 29 Jul 2020 08:49:40 +0000 Received: ("Tessian outbound 1dc58800d5dd:v62"); Wed, 29 Jul 2020 08:49:40 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 5c219c86a75e89f3 X-CR-MTA-TID: 64aa7808 Received: from 46b7f1dcdee3.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 7BB55A46-F2C3-46F9-A37B-07CD46C1A8F0.1; Wed, 29 Jul 2020 08:49:35 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 46b7f1dcdee3.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 29 Jul 2020 08:49:35 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ATw1VRtVm02+tiHs2geEpYuq9eVpLOTz6O0uW2hhKbeEftqicOQs+se2Ukeap8kHLtGzSmU5rUaP5XVehiAtZnYHBmkGFCOorlZlZRLXWD1PTY8MFMFpuM28M1JfATt7gomRvo95AhjVywGq0zLXkOMz+Pbd6CNtIuIryt2W+4jbnDjOvBRDypLgy3SwTRRpwuEeiR1+/4g2q0OixQes93dPQyj+ITp+KyZ7cuZ6POZFy50C7zZio2GTuAunXGjbQs7kuRpKIKT6s1sB2qa+26jyCmePpoZfdKIr7nhKsvEQLjy8fqNiBQHeAbUpY6CVYp9GOufkGUb9HFKnhmPIYQ== 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-SenderADCheck; bh=wWQ05lXktXpSgYiIRJ9RBQHpMLnNsYJLkEn0b2oyhcI=; b=QE5vMBGIt528byL09qOrKpqCqY1eXOvv0IkN25oC1CDMYT8Cnc1esqYAjtx1ZeRUuE1citBR9h0ieP6W51waswiyMDQVl89gV+fjoohNmwGY6ef3Z/APNNZBfa1XjSbHBRA7+tLflAaibLPqe2V/U72wye4tKQDzSJO167/b6FJlKquVSAqG8BV5sINa0Th+dLk/QqvqpZkpJariebrf9UDc23etP2uulG3nWnaWDR8nCcdYiPhOWiH/xBqHPbhGOmakmjoiw9Ez/05pmzSZQgxjVZmIUVtFCG5x+iTBj0pFJPzwLwJBYYSYBnZIeyBxF+LwaVImOozVLj1DPO+sPA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; 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=wWQ05lXktXpSgYiIRJ9RBQHpMLnNsYJLkEn0b2oyhcI=; b=JyKCirAvCFEGkvJTJ0vNwzul1qUq2zbFdwno5RRtSxJP5ROr8+CxjXWD0A/yaVQ2q3AJR6hBzf7XL8d7fdeiqXekvR9MpuUU4xNwiX4sQIp4M2YscGO8qQfQ01Qsm4afIuJxnVl4uKLfCJrre7BKCnFvQs3zvC2FXA6yZmWMB1s= Authentication-Results-Original: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=arm.com; Received: from AM6PR08MB3047.eurprd08.prod.outlook.com (2603:10a6:209:4c::23) by AM6PR08MB4360.eurprd08.prod.outlook.com (2603:10a6:20b:b3::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.24; Wed, 29 Jul 2020 08:49:33 +0000 Received: from AM6PR08MB3047.eurprd08.prod.outlook.com ([fe80::2404:de9f:78c0:313c]) by AM6PR08MB3047.eurprd08.prod.outlook.com ([fe80::2404:de9f:78c0:313c%6]) with mapi id 15.20.3216.033; Wed, 29 Jul 2020 08:49:33 +0000 Date: Wed, 29 Jul 2020 09:49:31 +0100 From: Szabolcs Nagy To: Florian Weimer Subject: Re: [PATCH] aarch64: update NEWS about branch protection Message-ID: <20200729084930.GS7127@arm.com> References: <20200729080850.26078-1-szabolcs.nagy@arm.com> <87bljyspte.fsf@oldenburg2.str.redhat.com> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <87bljyspte.fsf@oldenburg2.str.redhat.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-ClientProxiedBy: LO2P265CA0029.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:61::17) To AM6PR08MB3047.eurprd08.prod.outlook.com (2603:10a6:209:4c::23) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from arm.com (217.140.106.52) by LO2P265CA0029.GBRP265.PROD.OUTLOOK.COM (2603:10a6:600:61::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3239.16 via Frontend Transport; Wed, 29 Jul 2020 08:49:32 +0000 X-Originating-IP: [217.140.106.52] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 4b9c8eb8-5da4-4ffd-ee67-08d8339c550c X-MS-TrafficTypeDiagnostic: AM6PR08MB4360:|VE1PR08MB5069: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:8882;OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: O7gs3UjO7o5NPmRc/V3o43J5q3gSoaz7i+LqRp/k5uiQEVB91uZ4+wFRW7B4gySRKgQy1Vgh98DfEDQjhno7fD/MbD/UjPwu/tt/JfGtYD2grpYOz2Jwhe0CSAV38IdxhYiUmJW/U8TTplSzUqG5A4fzTeDyr8vmQoUvV/qYCL042Ew4mXZOefNn1Snh0SgDOmR+MLaSrksSHLMKePF4cJFvqdQUgGFK3JPLiStGZ+olgB5a0pn+0pQoOKIbdnBY/f4Nar7MHpbaxnYYkkh1H9bz6+Qigc7VmX9ThHYxS7h7PRkcI0e5CdRCg/JDSa/fusL46Gxo0UpPIu89wN0O9Q== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AM6PR08MB3047.eurprd08.prod.outlook.com; PTR:; CAT:NONE; SFTY:; SFS:(4636009)(376002)(346002)(136003)(39850400004)(366004)(396003)(6916009)(478600001)(8936002)(15650500001)(8676002)(316002)(8886007)(54906003)(55016002)(33656002)(52116002)(36756003)(186003)(44832011)(16526019)(956004)(5660300002)(2616005)(26005)(83380400001)(66476007)(66946007)(66556008)(2906002)(4326008)(86362001)(1076003)(7696005); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: vx3zv1Z5PhuSlCYCiBk2MUmSt209fmlLtiN6q9p+s/MOZWK0owypS9iZ+NobkmuopRfxFJ+Hr5q5b3zxXK16l/grV9UbW//VpXESSp3E+bRiVOjs1U+zenIsbA0cvkleAPnRT/605V0j9dbzJJLnacbHfod6nxp7iZ6De9qyuG3r3iiyGqj239hD+ilEqZwLC2e14YiRi2VU2dPME+2twp0EsG+ln8xZximhM5mJfQGdGzXIu4dEPAHFyXzUfoS9OEx3xclP8+qAByrw/KtbFgNXHGVkbPQ/+Djw+vKXjXFdP6VvWwVNsb7L6/6wwSpDgOibl0Kps5cCwEkfvAQT+yGhC41noGBjjKbZwivvM0q1dPGEEem9GRUvanF44p/IW+DCIkLOeVVCfn2TqewDxT+PyXyNVIzwtg//q04XDJ42bL85Br52Ddv/wbxbNZ6ZtjfkI1J0RWNziwiKm9zWROCZWXUE2r1wMhVThdNLONrreZMlHwCQYDZtQfJk+wEM X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4360 Original-Authentication-Results: redhat.com; dkim=none (message not signed) header.d=none;redhat.com; dmarc=none action=none header.from=arm.com; X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT023.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 62b41884-8710-4bdb-6d25-08d8339c5070 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wb4OABptP0UWM9DlcK9/IuwpPJe9V6wIZmeSaAo4rGCy5cx8ZApuEgSQr+TN21CcE2U/MnjtydF5LLLGKPSam/f2Pm4zQUznMA/tJTTY5Qd7EguPVikYBIwfYNp04wAyYSXU2AuKRPeALTm/0QJRQmn2T7F/9gdQp7sIbba0bs+kvgDFCFy7/tZnNkbGdErK+YaCnDBn6519xjrhOeM0Ne33uycnY+dCcFlMusReHa3mO8oHjZ2yq+DyLMQBpEldduoUhYz2eOPB9qOZUWqZ4Yqs3nxCiuWVxPDTwA1miwdFv9OY5tPiMty7PFL+bb2Xidzv/2tEUtPt0JSWYwdMiCZ2L+lm+7k4HQG3Qberk40mkGR8jVtBFQZMnAot491xKM4/tPtmvWjTein1TYYM1g== 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; SFTY:; SFS:(4636009)(39860400002)(136003)(376002)(396003)(346002)(46966005)(55016002)(8936002)(4326008)(54906003)(6862004)(16526019)(36906005)(316002)(15650500001)(2906002)(8886007)(186003)(8676002)(26005)(7696005)(478600001)(336012)(2616005)(83380400001)(82740400003)(82310400002)(86362001)(47076004)(5660300002)(33656002)(44832011)(70586007)(1076003)(81166007)(356005)(70206006)(956004)(36756003); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jul 2020 08:49:40.7211 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4b9c8eb8-5da4-4ffd-ee67-08d8339c550c 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: AM5EUR03FT023.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5069 X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Jakub Jelinek , libc-alpha@sourceware.org, jeremy.linton@arm.com Errors-To: libc-alpha-bounces@sourceware.org Sender: "Libc-alpha" The 07/29/2020 10:11, Florian Weimer wrote: > * Szabolcs Nagy: > > > diff --git a/NEWS b/NEWS > > index 1ef4a0a7a4..0e6ad5edc4 100644 > > --- a/NEWS > > +++ b/NEWS > > @@ -70,7 +70,9 @@ Major new features: > > > > * AArch64 now supports standard branch protection security hardening > > in glibc when it is built with a GCC that is configured with > > - --enable-standard-branch-protection. This includes branch target > > + --enable-standard-branch-protection (or if -mbranch-protection=standard > > + flag is passed when building both GCC target libraries and glibc, > > + in either case a custom GCC is needed). This includes branch target > > identification (BTI) and pointer authentication for return addresses > > (PAC-RET). They require armv8.5-a and armv8.3-a architecture > > extensions respectively for the protection to be effective, > > Please clarify if you need to pass the flags in CFLAGS or CC for glibc. > Thanks. cflags is enough, but it is hard to tell what the glibc build system does with the various cflags. if i simply override CFLAGS i get # error "glibc cannot be compiled without optimization"