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 [IPv6:2620:52:3:1:0:246e:9693:128c]) (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 BD9BE1F5AE for ; Wed, 29 Jul 2020 10:25:26 +0000 (UTC) Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id BBB7C386191C; Wed, 29 Jul 2020 10:25:23 +0000 (GMT) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50082.outbound.protection.outlook.com [40.107.5.82]) by sourceware.org (Postfix) with ESMTPS id E7BC93858D35 for ; Wed, 29 Jul 2020 10:25:19 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org E7BC93858D35 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=w22RpISg58sfyKsahH+mtoro0+tGZy6ukUrH1r1/208=; b=QXhVj3/Valh3w0hNl0RCea5hL2t7lP0SrjnAz7YHs5LKNAFzPNhZZokRhdHZdHlZLDEZFbCUb1LzIlqcUoV9/JBy1zeT5pHioAMw3oxFTMbNcemek+QA1yewiPxS55+D0I2ZXUZTuxzNt0gMg/oHpcI8Az2X1Qam8K86dweCVBc= Received: from AM7PR02CA0011.eurprd02.prod.outlook.com (2603:10a6:20b:100::21) by DB7PR08MB3307.eurprd08.prod.outlook.com (2603:10a6:5:1b::32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.26; Wed, 29 Jul 2020 10:25:17 +0000 Received: from AM5EUR03FT008.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:100:cafe::a4) by AM7PR02CA0011.outlook.office365.com (2603:10a6:20b:100::21) 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 10:25:17 +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 AM5EUR03FT008.mail.protection.outlook.com (10.152.16.123) 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 10:25:17 +0000 Received: ("Tessian outbound 7de93d801f24:v62"); Wed, 29 Jul 2020 10:25:17 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: ec48e11c53c3bc0b X-CR-MTA-TID: 64aa7808 Received: from dffbf8ef15ef.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id C70766DE-D10F-4273-9FC6-26AF266DB9A0.1; Wed, 29 Jul 2020 10:25:12 +0000 Received: from EUR03-AM5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id dffbf8ef15ef.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 29 Jul 2020 10:25:11 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VsOmhYtJHIRdrEMIY8NpKmanpADZIfqL2ACRLCse2LWpmbtc7x0iMGCBtkfmhjFG7k953OJdEILtoZPMiRvfOa/o76B9ba3YTLpOeYXFrIDo06++VzDJP4nFMDQxq3xb2ajx1UAlcn5KLUvi610sf6Zku0Yj+LtdtFZVAI7Od4JHldgnkJT+bEikje1ikX+mOQWJrWJWgD2gddf0IDRCppygSwJoRdbX5vYSZEqsbvnqMSAC1GJHAMbyQ82yMUI5fK7wtw7T69hTC38f+zrt0B9FxErg4ppYvGU52lQXzSQkx9QYETRDRy9kpoaWAWSn6SlcqgwwmmltFwYnzxE37g== 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=w22RpISg58sfyKsahH+mtoro0+tGZy6ukUrH1r1/208=; b=E/b/2kQJsPmM2ktXpL2LrUOsWoORmGIn/exV1Xfw7VRcgfcxrzttQzk5jkkqsY1V6NIOT8vaV+97f0g8c4xkwe5+6kuJMuy+cYEkapSWcaRJFX0Zb4cpY6VHJlP0/FdqWI4sgEbcrlwg/ZznV+CszGroHwjaiFTw0yrvjAtDCyDm+0WHHUSvb8UGrRR/eCRkiboyKenkp//Lydm04nyh1ZhOBD7SZY8JtyML1yLZQKRKBxUK9tIdn7f5v689N8tiBd/0mRaqOVnX2iSClGMZNQ/dqIiHn3iWKdnu3tA2oHFJtHq6Vhpu1kRrmdu9ncd/Vz7JaPYU0Z6yGC2uyaN8/A== 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=w22RpISg58sfyKsahH+mtoro0+tGZy6ukUrH1r1/208=; b=QXhVj3/Valh3w0hNl0RCea5hL2t7lP0SrjnAz7YHs5LKNAFzPNhZZokRhdHZdHlZLDEZFbCUb1LzIlqcUoV9/JBy1zeT5pHioAMw3oxFTMbNcemek+QA1yewiPxS55+D0I2ZXUZTuxzNt0gMg/oHpcI8Az2X1Qam8K86dweCVBc= 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 AM6PR08MB3815.eurprd08.prod.outlook.com (2603:10a6:20b:8b::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3216.20; Wed, 29 Jul 2020 10:25:11 +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 10:25:10 +0000 Date: Wed, 29 Jul 2020 11:25:08 +0100 From: Szabolcs Nagy To: Florian Weimer Subject: Re: [PATCH] aarch64: update NEWS about branch protection Message-ID: <20200729102508.GU7127@arm.com> References: <20200729080850.26078-1-szabolcs.nagy@arm.com> <87bljyspte.fsf@oldenburg2.str.redhat.com> <20200729084930.GS7127@arm.com> <87lfj2r8z4.fsf@oldenburg2.str.redhat.com> <20200729091734.GT7127@arm.com> <878sf2r60p.fsf@oldenburg2.str.redhat.com> Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <878sf2r60p.fsf@oldenburg2.str.redhat.com> User-Agent: Mutt/1.9.4 (2018-02-28) X-ClientProxiedBy: LO2P123CA0019.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:a6::31) 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 LO2P123CA0019.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:a6::31) 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 10:25:10 +0000 X-Originating-IP: [217.140.106.52] X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-HT: Tenant X-MS-Office365-Filtering-Correlation-Id: 2c144467-90a4-4e5e-4435-08d833a9b06e X-MS-TrafficTypeDiagnostic: AM6PR08MB3815:|DB7PR08MB3307: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: DZikoMoq4MT6rTgkdXQ2K176sVo0BGa+Oyok7N53IQAJzTuE1lwR9lirIYOky2M2bGScjrNWR4kyEvKXvpRuDWYs9xpjmEGNRLf+vPqG405U6TyINxTKhf6LbKQMoJlGNVrL2j2/tyE1GjPdZDIh0zizbhVKSq2EP718uLQ2CFN30tW/3HIdWKNcSdtaaQHILVJDcPFebsJxY+kv65VvhPpoJTlqjUV2sbORnvhcJXj34wtovc5MVLt/kaQ53HJPX0sE9DH5VunPWiOdVA+/jwVGeq3wXBFKtLsDJt4cXFtC0daH/cJ7Fg+cvG7UERa3m7lZly08PR0MGKw746tYvg== 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)(366004)(136003)(376002)(346002)(39860400002)(396003)(4326008)(478600001)(8936002)(16526019)(54906003)(5660300002)(66556008)(26005)(186003)(2616005)(956004)(44832011)(7696005)(1076003)(52116002)(36756003)(8886007)(86362001)(66476007)(2906002)(15650500001)(66946007)(316002)(33656002)(83380400001)(55016002)(8676002)(6916009); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData: ZFtLmkHt+T0IMVEVNOu52GATbMKp5HOQDXXS+v4/xo720KeA95KAHRy7aoAqKZCN6oxhnwvwnZmsfjmpff10E9eSRXsTnmuIZPsREvXSLQWyOe08vbL/gtPdkRtvK4yCIZClepBs6kg1/ZNjCBVpjz9SuqWx+lYIiS4E9wL4Idpm4/8YU7zYsJkiFnwCf9wGJHja1OKlmucBiqia45pOteIRMK7aJ/DreFCkMGSw8fAh2nJ0I8XQTpuDh3i3+kknmx6pt/3KbQBjaryHM5AJmafVoD8mMAMNRCAu4tuaOXk+PtmwIdNW3Uj3Xqdoi4Y2SP52+7j75dVYMXjKfMY96AP7KQvDzbLUpgs6295C+pzEvxAut2yxygAoPcW6W870waB7aDZOS2d+K12x4ABaCNlCYYjGjOhc1KWuMiYpoWXRnJj1QxzAt4GD5fyB5djhhRk39Sm2KbmBCeBz3XYGRUmxI927CBTnNZ1luEz7tUGYqJrzkdh/TAQRGqWr6YXe X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3815 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: AM5EUR03FT008.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 636aae4d-cc70-43f7-08de-08d833a9ac51 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Jq4m3DyGrR8Yv84GD/u2hcra6zNdR3oa9sXgzk64IHSvgaUPdbudLuNdpI/aq8ynvyZgFhIgBtrdzl0VWBwKycG1W4PzgX4Eae940UthJg07w9/RwMZPs5c5qb7XD3DMMr4cZzv8yXrDUrEGcmgyyE1iBSuIdANPRtMqWwwuHInaobo6F0dc0eKpDOES56tw0kizIdrCBySo0Aw+BKP59cSCTSWOeZR1kWRa8co2kvWt81ONX4SfbsZEHxFR0UaEfEyGY3nvYSQpqRM3y7NEA7t6cVE3cd6ReI2qB/TqnXTi4JA3SLFS/JevqDcMjbMoB+iTzJWNSb8i8Pv0cpyIFbS9AVsnlT0o3aE7Zf69LzdpDRr8AmzacyGrKVFUGyMBI5hWp2tpZWCPOdudiDB6kw== 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)(396003)(376002)(136003)(346002)(46966005)(1076003)(86362001)(186003)(8936002)(26005)(478600001)(356005)(81166007)(83380400001)(2616005)(82310400002)(7696005)(5660300002)(4326008)(54906003)(336012)(33656002)(956004)(82740400003)(47076004)(16526019)(44832011)(36756003)(36906005)(8676002)(6862004)(15650500001)(70586007)(70206006)(8886007)(55016002)(316002)(2906002); DIR:OUT; SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Jul 2020 10:25:17.4791 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 2c144467-90a4-4e5e-4435-08d833a9b06e 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: AM5EUR03FT008.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3307 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 12:04, Florian Weimer wrote: > * Szabolcs Nagy: > > >> Are there any ELF notes I should watch out for? > > > > readelf should show > > > > GNU 0x00000010 NT_GNU_PROPERTY_TYPE_0 Properties: AArch64 feature: BTI > > > > (PAC may be missing in some libgcc asm, that's > > fixed up in gcc-trunk, but it's harmless.) > > Thanks. It looks like with the flags in CFLAGS, the notes are indeed > there in some cases, because RPM debugedit chokes on them: > > explicitly decompress any DWARF compressed ELF sections in /builddir/build/BUILDROOT/glibc-2.31.9000-23.fc33.aarch64/usr/bin/gencat > extracting debug info from /builddir/build/BUILDROOT/glibc-2.31.9000-23.fc33.aarch64/usr/bin/gencat > Failed to update file: invalid section entry size if it tries to parse the dwarf debug info then it may choke on the new dwarf op code that is used for PAC: DW_CFA_GNU_window_save > > I'll try to figure out what is going on there. It's a bit suspicious > that this is the first dynamically linked binary, so maybe the notes are > missing from the shared objects and statically linked binaries still. > > Thanks, > Florian > --