Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp11150424imu; Thu, 6 Dec 2018 12:23:08 -0800 (PST) X-Google-Smtp-Source: AFSGD/V7Iy9mb+RdPyWjRwk0PjL2LiiqNjyk6DyURWjq/oVZ8RoTJwOm1hoTSJXOYf+/PdiBPxMG X-Received: by 2002:a17:902:4124:: with SMTP id e33mr29571490pld.236.1544127788775; Thu, 06 Dec 2018 12:23:08 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544127788; cv=none; d=google.com; s=arc-20160816; b=RKN7L0hmF7QD9FUcVpP0CB6YWX2Oc0Atc/0H2aoVOFm7LOS97wqXnMxo9ubPEq7omE aA7ANxsmh5EkdalMEn1GWrVFhsNQbSU6o+NcO8VnheqsAH/JHoK7qg2BmC1EKjth+TeS MWi5Nj+7zpn2Jci1+Gxsu9QcW2TJldjVbdI3gBIH6Ukeisti6K7EP4Nc8evdxfUEFJQg PLJg7NgYeB7EG0Q38Za/XMs3sZw/MgAOCbkJzWOZF2XJTeOjZBYcjHTERCoAIuh2K6ep irHzYc74vzYaRwWecgkkNdLSehccnOjREHpRiGH25baNpHPf2C09sTgreOdEn7rOx0yF xWYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:references :message-id:date:thread-index:thread-topic:subject:cc:to:from; bh=zu6kT39TmlKdDn8OC+7nbv9ZFdjmd1GKbWzsVTr5IsU=; b=FAO+2dnwgruUKj7lKR0+eWgRydOED0NyY9QkoGa0rlYosfGq8t5+rYVpdf+3D0J06z wmYXtEoYBFoX9xMaLEEdEgERgnUAiqv50K9qPMATpetwpBmeOvZyvkSXTU27OmaIeuYK W+eiMA2UjRKxO2E6L2XnPZfYwiD/kGmiYv/i8rxRGhsmUWh9fAU+ivJveH4dnZ9OLUkd UoIoHkY2QwM91lsdNsFiSwnxfU8URrS74kLkmbDFmiIeRP1ob2IqVKNdKCcFbhVhMwbx CGAQ9ameD94/nM49ZnJ93akhdnvBo91yItmy/HJr17kWRHB8X38YTmjrNJ3rSIaZZCg6 20Lg== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y20si994840plr.106.2018.12.06.12.22.52; Thu, 06 Dec 2018 12:23:08 -0800 (PST) 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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726021AbeLFUV7 (ORCPT + 99 others); Thu, 6 Dec 2018 15:21:59 -0500 Received: from mga04.intel.com ([192.55.52.120]:18664 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725916AbeLFUV6 (ORCPT ); Thu, 6 Dec 2018 15:21:58 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 06 Dec 2018 12:21:58 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,323,1539673200"; d="scan'208";a="116275220" Received: from orsmsx108.amr.corp.intel.com ([10.22.240.6]) by orsmga002.jf.intel.com with ESMTP; 06 Dec 2018 12:21:57 -0800 Received: from orsmsx112.amr.corp.intel.com ([169.254.3.8]) by ORSMSX108.amr.corp.intel.com ([169.254.2.228]) with mapi id 14.03.0415.000; Thu, 6 Dec 2018 12:21:57 -0800 From: "Edgecombe, Rick P" To: "luto@kernel.org" , "jeyu@kernel.org" , "namit@vmware.com" CC: "linux-kernel@vger.kernel.org" , "peterz@infradead.org" , "linux-integrity@vger.kernel.org" , "tglx@linutronix.de" , "dave.hansen@linux.intel.com" , "nadav.amit@gmail.com" , "linux-security-module@vger.kernel.org" , "x86@kernel.org" , "hpa@zytor.com" , "mingo@redhat.com" , "linux_dti@icloud.com" , "will.deacon@arm.com" , "bp@alien8.de" Subject: Re: [PATCH v7 13/14] module: Do not set nx for module memory before freeing Thread-Topic: [PATCH v7 13/14] module: Do not set nx for module memory before freeing Thread-Index: AQHUjHfdlDHY/m4L4UaauCLlR8W7nKVylssAgAAZkoA= Date: Thu, 6 Dec 2018 20:21:57 +0000 Message-ID: <55a4fb61164d7ecf5950e29d1fa2aea52a1b958f.camel@intel.com> References: <20181205013408.47725-1-namit@vmware.com> <20181205013408.47725-14-namit@vmware.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.54.75.141] Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org T24gVGh1LCAyMDE4LTEyLTA2IGF0IDEwOjUyIC0wODAwLCBBbmR5IEx1dG9taXJza2kgd3JvdGU6 DQo+IE9uIFdlZCwgRGVjIDUsIDIwMTggYXQgMTI6NTIgQU0gTmFkYXYgQW1pdCA8bmFtaXRAdm13 YXJlLmNvbT4gd3JvdGU6DQo+ID4gDQo+ID4gV2hlbiBtb2R1bGUgbWVtb3J5IGlzIGFib3V0IHRv IGJlIGZyZWVkLCB0aGVyZSBpcyBubyBhcHBhcmVudCByZWFzb24gdG8NCj4gPiBtYWtlIGl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