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 X-Spam-Level: X-Spam-Status: No, score=-12.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,MAILING_LIST_MULTI,MENTIONS_GIT_HOSTING,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 08DA8C43457 for ; Thu, 15 Oct 2020 20:42:07 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 7F0BC206C1 for ; Thu, 15 Oct 2020 20:42:06 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="r1DnNLLA"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="NUhETey5" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7F0BC206C1 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=kernel.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=NTrTlvuA0XVFiCjc4rQucShW3xG9rZs/8QDrimHMJzY=; b=r1DnNLLAG/A296hToULpUROsD bEgvhzJrgSQD9FWTEnHOFmDbDv5LTQY2nGjt8LsfNSFpFceuq4LoumfZUpVSDaDBn4f3aidsraYZ+ b0q80oU4x0T9+jIBYAtQG6/AEPmhUU6jExkG7b6KtrB+kv734HHxhZzRooHsJE1L8O/i0OdbCI7ZB 0wIJPy19xOLRRvaujwpCM8jsYmflBXu7gqAchVEjbDM7ZANLPMG+hqmO9FxZ10AZ4ag0cDw/jRcVG 7UTv8LXg2TcmX84tAHWs/BUISLPnJTOCLFnRyfT4mP4RyVqRlDAY/fSmh/vq3Wll2p7qousiWXawC 8U0wdWVJg==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kTA3V-0000vE-Pt; Thu, 15 Oct 2020 20:40:57 +0000 Received: from mail.kernel.org ([198.145.29.99]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kTA3O-0000sl-VG for linux-arm-kernel@lists.infradead.org; Thu, 15 Oct 2020 20:40:52 +0000 Received: from localhost.localdomain (236.31.169.217.in-addr.arpa [217.169.31.236]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 8E9E5207BC; Thu, 15 Oct 2020 20:40:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1602794450; bh=CnLZeiWjeUmuwq4Luy4NuE3YOJXlFzafRe2Jgo1ZUhA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=NUhETey5GE/kBiZOpt7rQxLIU4zP4Aim2g/yacXgBJyvThyWBNcxsdFOt1AFTmKC+ 8vPWSAW/+N0zTj7WYZ7Xs9DGCgTPCHI7QbgO3Xm44D4ui2WTSncXYwrShEmh1EPmF4 ci1TKRw1xyENcnbtnVHFJJRVoRFhm+XVK9jHH8/0= From: Will Deacon To: Kristina Martsenko , Catalin Marinas , Vincenzo Frascino , Dave Martin , Peter Collingbourne Subject: Re: [PATCH] arm64: reject prctl(PR_PAC_RESET_KEYS) on compat tasks Date: Thu, 15 Oct 2020 21:40:31 +0100 Message-Id: <160275496946.2218843.12679003210827914081.b4-ty@kernel.org> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20201014052430.11630-1-pcc@google.com> References: <20201014052430.11630-1-pcc@google.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201015_164051_138847_73A42321 X-CRM114-Status: GOOD ( 13.40 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Will Deacon , kernel-team@android.com, Linux ARM 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 On Tue, 13 Oct 2020 22:24:30 -0700, Peter Collingbourne wrote: > It doesn't make sense to issue prctl(PR_PAC_RESET_KEYS) on a > compat task because the 32-bit instruction set does not offer PAuth > instructions. For consistency with other 64-bit only prctls such as > {SET,GET}_TAGGED_ADDR_CTRL, reject the prctl on compat tasks. > > Although this is a userspace-visible change, maybe it isn't too late > to make this change given that the hardware isn't available yet and > it's very unlikely that anyone has 32-bit software that actually > depends on this succeeding. Applied to arm64 (for-next/core), thanks! [1/1] arm64: reject prctl(PR_PAC_RESET_KEYS) on compat tasks https://git.kernel.org/arm64/c/de7ae1c57273 Please check my changes if you get a chance. Cheers, -- Will https://fixes.arm64.dev https://next.arm64.dev https://will.arm64.dev _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel