Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp11063966imu; Thu, 6 Dec 2018 10:57:19 -0800 (PST) X-Google-Smtp-Source: AFSGD/XDRPWJ+wGyuUH0TxABd+0GZsrq9wUf4x6GVmjKfhInlSPZPd1astFgh3LFqufpYtwQ6ldR X-Received: by 2002:a62:4d81:: with SMTP id a123mr30627770pfb.122.1544122639731; Thu, 06 Dec 2018 10:57:19 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544122639; cv=none; d=google.com; s=arc-20160816; b=SXjXTatrIAQuOjnsK7AJzNMQ89Pog3PluqR31WfFCl50JzCBLjtCxVfqbQgOASX9a0 N5/RXdcF5FIoIR6FrslcPXincE5SVKsaEpNoHF9c+ztjZafAMpaey7hcbF/sR7YBvfBj 769dXz/afpY0VW2rG4/4a1zkZr9pjbz5tKjwdTiyEp0WkaQeHWjJEiIoPT1NPp8nydBZ EQZIkuuY6bW+OMUWqb9KXC2EbbS3BY6VXIhj1lv2kDti/spjBj1PO3bCdWSuw/uUGxeI j7Xjiu/zn9loUUMH7t80VDwhpXCx9iGnEIdrMGWIF1VOZYrdDbdwY5sjNs4jNIDRE0i1 0aEQ== 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:spamdiagnosticmetadata:spamdiagnosticoutput :content-language:accept-language:in-reply-to:references:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=lrw7TZRi2J4aeGLogDH8fBlRcTU8fsNZuZ8fgl5rR4U=; b=xzEWFoaT7nThGN2eZz2/JvUGDuUNWvvEr1UDlDP5yY1GWEspsDyjd2cTGuv5aVOktH QNsy837oVaLfUQuQNX3B+XZUYhliWM5QBVuTUCIyUqmS8RRNmFOQ/ddVKgdxu+TTTSk5 XKQjzv88vVrTR4XynGXHwGqG0v9zOuSkhlDBJhGZarILTMtsZq+2CN8ZMjiGURCd1/M5 iADDvjg4HeANT/aXiJKSYdGaG/ZELNDDpFKDaIMiWc1z7jsBpsHR4gJlsbs97uujFFps Cq/ZqKRK+alrMdxe/9k38vgADDZtfbQA6AvIhNQ3HABd+2POJlvRnlpxNkrkPUes99jT rdvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@vmware.com header.s=selector1 header.b=j6Xy78WX; 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=NONE sp=NONE dis=NONE) header.from=vmware.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v69si862142pgb.3.2018.12.06.10.57.03; Thu, 06 Dec 2018 10:57:19 -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; dkim=pass header.i=@vmware.com header.s=selector1 header.b=j6Xy78WX; 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=NONE sp=NONE dis=NONE) header.from=vmware.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725949AbeLFS4U (ORCPT + 99 others); Thu, 6 Dec 2018 13:56:20 -0500 Received: from mail-eopbgr800071.outbound.protection.outlook.com ([40.107.80.71]:53152 "EHLO NAM03-DM3-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725908AbeLFS4U (ORCPT ); Thu, 6 Dec 2018 13:56:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=vmware.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=lrw7TZRi2J4aeGLogDH8fBlRcTU8fsNZuZ8fgl5rR4U=; b=j6Xy78WXSjIBnp+HynMyNpEMz9Mc2qyPihJQW64gmC07uPxXGIvAnSvrRWXqRFT0yJg8CmI2Kb6TPst6wLCuVzVYxXJvjpLic3kkTxOZA598EYK/3m3m+uKTZ4peDnVZP/o8VU+wcDbqX/foVWZR8udZZG4oTaOjDj2R1I9K2c4= Received: from BYAPR05MB4776.namprd05.prod.outlook.com (52.135.233.146) by BYAPR05MB4325.namprd05.prod.outlook.com (52.135.202.25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1404.13; Thu, 6 Dec 2018 18:56:14 +0000 Received: from BYAPR05MB4776.namprd05.prod.outlook.com ([fe80::9155:fea7:9c0c:68c7]) by BYAPR05MB4776.namprd05.prod.outlook.com ([fe80::9155:fea7:9c0c:68c7%3]) with mapi id 15.20.1425.006; Thu, 6 Dec 2018 18:56:14 +0000 From: Nadav Amit To: Andy Lutomirski CC: Ingo Molnar , LKML , X86 ML , "H. Peter Anvin" , Thomas Gleixner , Borislav Petkov , Dave Hansen , Peter Zijlstra , "linux_dti@icloud.com" , linux-integrity , LSM List , Rick Edgecombe , Will Deacon 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: AQHUjHgCm5HQo9wG+kmVhMEM5+sZ86VyEK8AgAABGIA= Date: Thu, 6 Dec 2018 18:56:14 +0000 Message-ID: <7B410C6F-A811-41DB-ADCE-4E4BF07CA96A@vmware.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: [208.91.2.1] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1;BYAPR05MB4325;20:3rjaTuoqu+A0QLzAAkouoF0mdJCUV8KWB3ij0nEDpFvpaEg48q5xz7sQLyQtymG048MZkpCIAYLIkKLPZ30QkFr1MFJV5k9V5FVmymF8OuMeHG8sgZZ1QzzhhVdS9mkiKUDbpinOG1O4bNzCOmuT8c5pxD1ncH2GJcUHGVENjog= x-ms-exchange-antispam-srfa-diagnostics: SOS; x-ms-office365-filtering-correlation-id: a5cc12e5-8ece-4295-20a0-08d65bac7f61 x-microsoft-antispam: BCL:0;PCL:0;RULEID:(2390098)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600074)(711020)(2017052603328)(7153060)(7193020);SRVR:BYAPR05MB4325; x-ms-traffictypediagnostic: BYAPR05MB4325: authentication-results: spf=none (sender IP is ) smtp.mailfrom=namit@vmware.com; x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-exchange-antispam-report-cfa-test: BCL:0;PCL:0;RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(3231455)(999002)(944501520)(52105112)(3002001)(93006095)(93001095)(10201501046)(148016)(149066)(150057)(6041310)(20161123562045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123564045)(20161123558120)(201708071742011)(7699051)(76991095);SRVR:BYAPR05MB4325;BCL:0;PCL:0;RULEID:;SRVR:BYAPR05MB4325; x-forefront-prvs: 087894CD3C x-forefront-antispam-report: SFV:NSPM;SFS:(10009020)(396003)(136003)(376002)(366004)(346002)(39860400002)(199004)(189003)(82746002)(7416002)(186003)(76176011)(102836004)(71200400001)(8936002)(81166006)(81156014)(8676002)(66066001)(33656002)(316002)(6486002)(5660300001)(71190400001)(53546011)(86362001)(26005)(68736007)(99286004)(14454004)(11346002)(256004)(3846002)(478600001)(229853002)(6116002)(6506007)(446003)(83716004)(4326008)(6916009)(2616005)(476003)(7736002)(36756003)(2906002)(486006)(305945005)(39060400002)(25786009)(53936002)(54906003)(6246003)(106356001)(6512007)(6436002)(97736004)(105586002);DIR:OUT;SFP:1101;SCL:1;SRVR:BYAPR05MB4325;H:BYAPR05MB4776.namprd05.prod.outlook.com;FPR:;SPF:None;LANG:en;PTR:InfoNoRecords;A:1;MX:1; received-spf: None (protection.outlook.com: vmware.com does not designate permitted sender hosts) x-microsoft-antispam-message-info: lrpYzDVK+DX1krpJW4FvOiRlt2M+zufONeh86s6B4vdzxPiiMJubCAs7YJfkD62+58clr8QiI6jCijEAq4zYbjp0rIfT/VTLtutInK0UqSx/OksSS+w/ZVv+DfL3MclWfu0TZJphgikVc5ZFufOKx8wFZpgbaDWPzyA3rL3nCM07UlD2aHRXEWii89ALZKyPSGvDZSezVtDdbtExq015pNCfmXF4gbaIKIJFETK11/aq9Cp4mKk+AHxjNDfxc6NnuhDKGe5NboZIh0Odt7Fkh2LZKYQ0XE2wLIZhWNeUldgZ3BgUpuG2gV3+SehPYOyJu150VaeayQeYuN+DYPpAnhLHoh5A6U5NEKtW9xJp7To= spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-ID: <0183567F9F5D6A44A513C76E780FED2A@namprd05.prod.outlook.com> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: vmware.com X-MS-Exchange-CrossTenant-Network-Message-Id: a5cc12e5-8ece-4295-20a0-08d65bac7f61 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Dec 2018 18:56:14.7359 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: b39138ca-3cee-4b4a-a4d6-cd83d9dd62f0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BYAPR05MB4325 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBPbiBEZWMgNiwgMjAxOCwgYXQgMTA6NTIgQU0sIEFuZHkgTHV0b21pcnNraSA8bHV0b0BrZXJu ZWwub3JnPiB3cm90ZToNCj4gDQo+IE9uIFdlZCwgRGVjIDUsIDIwMTggYXQgMTI6NTIgQU0gTmFk YXYgQW1pdCA8bmFtaXRAdm13YXJlL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