From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl0-f70.google.com (mail-pl0-f70.google.com [209.85.160.70]) by kanga.kvack.org (Postfix) with ESMTP id CA2FD6B002E for ; Fri, 23 Mar 2018 15:23:05 -0400 (EDT) Received: by mail-pl0-f70.google.com with SMTP id 69-v6so8188594plc.18 for ; Fri, 23 Mar 2018 12:23:05 -0700 (PDT) Received: from mga17.intel.com (mga17.intel.com. [192.55.52.151]) by mx.google.com with ESMTPS id w9si4099758pfk.14.2018.03.23.12.23.04 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Mar 2018 12:23:04 -0700 (PDT) Subject: Re: [PATCH 4/9] x86, pkeys: override pkey when moving away from PROT_EXEC References: <20180323180903.33B17168@viggo.jf.intel.com> <20180323180911.E43ACAB8@viggo.jf.intel.com> From: Dave Hansen Message-ID: Date: Fri, 23 Mar 2018 12:23:02 -0700 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Shakeel Butt , Dave Hansen Cc: LKML , Linux MM , linuxram@us.ibm.com, Thomas Gleixner , mpe@ellerman.id.au, Ingo Molnar , Andrew Morton , shuah@kernel.org On 03/23/2018 12:15 PM, Shakeel Butt wrote: >> We had a check for PROT_READ/WRITE, but it did not work >> for PROT_NONE. This entirely removes the PROT_* checks, >> which ensures that PROT_NONE now works. >> >> Reported-by: Shakeel Butt >> Signed-off-by: Dave Hansen > Should there be a 'Fixes' tag? Also should this patch go to stable? There could be, but I'm to lazy to dig up the original commit. Does it matter? And, yes, I think it probably makes sense for -stable. I'll add that if I resend this series.