Received: by 10.213.65.68 with SMTP id h4csp647827imn; Fri, 23 Mar 2018 12:28:37 -0700 (PDT) X-Google-Smtp-Source: AG47ELsHMkFQrndMXf2G1kfGit4/XaxgQOT8cYrAK9YjtfCSCSBM82+IxHKXoB99uYBftQTzYCfK X-Received: by 2002:a17:902:5388:: with SMTP id c8-v6mr19836143pli.90.1521833317558; Fri, 23 Mar 2018 12:28:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521833317; cv=none; d=google.com; s=arc-20160816; b=xG70PgkH+GzJGrdaSoUTIqsAnUcgjsoC2Xasg+Pz1WhxIzlasi8Cfp7eKeO+zHuro0 Na9u5Z85a3TZWwHxJzasytx/QMAHh8lwb+pwW7YW016XpIJO+7MgitsocV4L/sgI3pj/ 0N2gxCOHzOdjvS96gOQCooXJ+8/NGuEOMlcppsziwppMGnb4pEK1S45M8cpPKU93aHbm FrDDDgH6FHJVw2jTLW9VdLmX8suDpWkWf1btwT8ueYbDFeSOJOE2szE4tOGnfjAv0/jw v5nmxgi+R21hKDBZp+BjcjAHmtbexe60QSae8CTBsQK0VBvwKXCd+AHHqrcS+W4kqknH dI8g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=RPvl1zYatE/ZK6ZO3i0Li0EPG9pU7wTzYz8dFD71JDU=; b=M7yolWxK622eHkyPwvc7sx/0yozw5fwtJ1JhH+iZV3SYfXmoOfjQPrC2+DyaBGxgjk 2+yuGSuluCFzLR0+P4HwKppiZuRI7oAt06BqGfWTDW0EvyePh9/jw02BO+puMcGxGzk6 u7Ikc5RFBe3ppyNEcLQqiTJ+hlKkp0SBST0XVipsgCphTOyYN8HnT262FDGl5iTqL8Yv UroutjTZK5B8dLUTX3EP+d40zzrlHuKTnqwrRHarii0GONUyzOUMinTaazhjlpAxhK91 Fe3jHhsFf8166kBzEhuNV4Qf85tuhtesSd2z2DM9QmOX/U+/+ZykHyOxAxeSitK9DAz5 0v/Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=tEZ6033z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id j23-v6si5320244pll.150.2018.03.23.12.28.23; Fri, 23 Mar 2018 12:28:37 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=tEZ6033z; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752569AbeCWT1Q (ORCPT + 99 others); Fri, 23 Mar 2018 15:27:16 -0400 Received: from mail-wr0-f194.google.com ([209.85.128.194]:46984 "EHLO mail-wr0-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751930AbeCWT1O (ORCPT ); Fri, 23 Mar 2018 15:27:14 -0400 Received: by mail-wr0-f194.google.com with SMTP id d1so1184423wrj.13 for ; Fri, 23 Mar 2018 12:27:13 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=RPvl1zYatE/ZK6ZO3i0Li0EPG9pU7wTzYz8dFD71JDU=; b=tEZ6033zJ02pwFF4mvFLbCPZUM2e/MHADibwDuTSlF0LBkm3P57NBDyQPJUQXb/jAh 5r8ncbND9nMmgpeIICspKjDwneaypawp+3Nif0iEOuAukmcrwtFm2uHhSjMLSq36JHK3 4lJ6CNbph3pZdO1ueoeGGQTdX+kyRd3yOtJOOQLPtZ+jZVTxRabZ/Kdmj4hfVHE9z/y2 XS/X4lDwqi0069b/ITg/HKTfXAOYwR2WUcn1NaJSJa6KFWC8VhCZognv4FVC8v8pvpzh XGLBLYjLIItbbfCPCeEyrWPBad8rJ33FIN8t90g6fPsYd10AppkFu3UtP8ILNCdx2cth BrLw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=RPvl1zYatE/ZK6ZO3i0Li0EPG9pU7wTzYz8dFD71JDU=; b=In2m33OA89Png+iIkCaZURZDALAgDVyXqXMNlHoWTJgR/ahmlYsSYvrYy6I5J3lYTQ 8rW4dO5EEypELQVpoXCNkK17CM6S0OqMomDZONCtv6r0hbvIKXHNwGaqFini55mHSref xIT0OeIK0Gi2XEoiCaCeKA4I6N+AAz3ukKW2J8wxfIiMiuTb9c9wUc/bdEb0QkE980Vt XL+wmkEvhbSE4aq6HQhUbjswoGRzDueUhNZqsp28uuZOZHb7MwNXVXuoOkzeCpECJhIa 8QzyhxaBwyYygRXdQOSRS7XEnM7jOLiDpKLtsNrEKtpS4ss3QzAIyPL9jvMo/y6OTOe3 BzeQ== X-Gm-Message-State: AElRT7E20w2PyR5Tl0A32w3DCtjCWCO7F3VCLIg40hT4POY6b5XLgrXQ JcY3eiYMmuwZLvAcDyhqRug1nfF/arun1LPFo52aQw== X-Received: by 10.223.144.35 with SMTP id h32mr25309722wrh.2.1521833232805; Fri, 23 Mar 2018 12:27:12 -0700 (PDT) MIME-Version: 1.0 Received: by 10.28.184.12 with HTTP; Fri, 23 Mar 2018 12:27:11 -0700 (PDT) In-Reply-To: References: <20180323180903.33B17168@viggo.jf.intel.com> <20180323180911.E43ACAB8@viggo.jf.intel.com> From: Shakeel Butt Date: Fri, 23 Mar 2018 12:27:11 -0700 Message-ID: Subject: Re: [PATCH 4/9] x86, pkeys: override pkey when moving away from PROT_EXEC To: Dave Hansen Cc: Dave Hansen , LKML , Linux MM , linuxram@us.ibm.com, Thomas Gleixner , mpe@ellerman.id.au, Ingo Molnar , Andrew Morton , shuah@kernel.org Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 23, 2018 at 12:23 PM, Dave Hansen wrote: > 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? > I think for stable 'Fixes' is usually preferable.