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=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=no 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 04A1CC2BA83 for ; Wed, 12 Feb 2020 09:28:14 +0000 (UTC) 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 mail.kernel.org (Postfix) with ESMTPS id BFDD221569 for ; Wed, 12 Feb 2020 09:28:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="fKHl+EcT" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org BFDD221569 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=arm.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-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=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject: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=3HCAarUVOaZqvUDy1e7hmdPyS3kC0L1l0A5o8HKkJzw=; b=fKHl+EcTY3/VSl sPKSNTcHA+OBsl33QzRyhXN62lyl40F95RXhWBk3N3nGTJU/cJXZPIhLnfhVrgKgyeozDSHnAmiju upQNrnpPTfA4a4sSkh8YwkDICbHd22stGtIN35KaHKOF6zoSdSvJNANSJfnmMsR7qF2/V5+3SaQeI VrYRQiBdTD7hbHrIueI7dmG5wJ3i4X9kj5kUmiuVgOgzO6x1q85upVKjk8uCvZr63nPTeNw1fPD14 c4JMjKYLfWFvUMlNzPZPEvumXVvB5TTu65qxQTN+txWLRZsr3u7KU/2ECduVsDjkYsha6H+t8/XzS 00l6Fsp1K6EJMo8vOMwQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j1oJU-0001Ft-CK; Wed, 12 Feb 2020 09:28:08 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1j1oJQ-0001Ed-Gy for linux-arm-kernel@lists.infradead.org; Wed, 12 Feb 2020 09:28:05 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id E75D430E; Wed, 12 Feb 2020 01:28:03 -0800 (PST) Received: from arrakis.emea.arm.com (arrakis.cambridge.arm.com [10.1.196.71]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 5C2143F6CF; Wed, 12 Feb 2020 01:28:02 -0800 (PST) Date: Wed, 12 Feb 2020 09:28:00 +0000 From: Catalin Marinas To: Kees Cook Subject: Re: [PATCH v3 6/7] arm64, elf: Disable automatic READ_IMPLIES_EXEC for 64-bit address spaces Message-ID: <20200212092800.GD488264@arrakis.emea.arm.com> References: <20200210193049.64362-1-keescook@chromium.org> <20200210193049.64362-7-keescook@chromium.org> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200210193049.64362-7-keescook@chromium.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200212_012804_607094_B86C82AA X-CRM114-Status: UNSURE ( 8.29 ) X-CRM114-Notice: Please train this message. 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: Jann Horn , Hector Marco-Gisbert , x86@kernel.org, Will Deacon , Russell King , linux-kernel@vger.kernel.org, Jason Gunthorpe , linux-kselftest@vger.kernel.org, kernel-hardening@lists.openwall.com, Ingo Molnar , linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Feb 10, 2020 at 11:30:48AM -0800, Kees Cook wrote: > With arm64 64-bit environments, there should never be a need for automatic > READ_IMPLIES_EXEC, as the architecture has always been execute-bit aware > (as in, the default memory protection should be NX unless a region > explicitly requests to be executable). > > Suggested-by: Hector Marco-Gisbert > Signed-off-by: Kees Cook Reviewed-by: Catalin Marinas _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel