Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp12196imu; Mon, 26 Nov 2018 16:20:39 -0800 (PST) X-Google-Smtp-Source: AJdET5f/L2N1WXAqI7Oawf4ArwQS9En6pwpugDoWK2RF4nZjzCCM/o5iZzPaYKvsr157A8PH9aUW X-Received: by 2002:a62:e0d8:: with SMTP id d85mr30019101pfm.214.1543278039373; Mon, 26 Nov 2018 16:20:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543278039; cv=none; d=google.com; s=arc-20160816; b=iYob1Dae7Gx2Ac/W5KrzNrDm1D/7QSnL1s3V+0Ad7mBKqS22vPV0woIC9OPhMb5PwC 9A1t3RER4lxlrAajepVBnqVCA+4hJp8Eql1Xi+DuWitcdGAXAR7VRTgq9ySHxl2M1+Q9 DbOuIICx0jnOf4x98ZmIEpNDNNMj1Exvy7cj+P4kdObWppUM3Asio3hMMBP9upDZ8wG/ xkDjhKYD0zHqqRlcaAKNYS7KcUmZj8DWmTg2OpUhu4Xz65KE6zBq57vfqVhtGo0zelTY WOHhmmP6kMhq/TlsMSKFvOO2azs471il8Ts34uJ9DviILO4sXId/4jEQyI3J0yznCWrn cVIw== 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=0dc1bDOywPX6Hm0LHpJMNE8vrarRluwUwOZ2ob7TKE0=; b=TS5IctkxWRaThXVn/z6Zw3xCv76A7G3VHxfet53ZEnj0m6/JH67UzEcD1R+o4Sccix zctsE+lejPyCECVBmPEjc+R2HZeYZSbWXwORFc2mLVV5F4DN9AAaqpKK53OFwHiYJp+F aq/9Zv1Hdq9VwVn21EpsYkPaC/+54KmmQojuPzZwnlhbcw12tum5YRVfL4+zssZFa6OU 82RE7nrj4PEOTYpKME1omhV/Dj0ByMW8d2YjID88AVtiTTHlA3iizZb7jxb3y8AOiGUo n2S5cFFaL19+G5dJcABYUWvM9g7ukdNa9ZecWAs5qvzdVX4mstvQM2d5+NnCQFnOW8n/ MZZQ== 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 g21si1748928plo.435.2018.11.26.16.20.22; Mon, 26 Nov 2018 16:20:39 -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 S1727662AbeK0LPQ (ORCPT + 99 others); Tue, 27 Nov 2018 06:15:16 -0500 Received: from mga04.intel.com ([192.55.52.120]:7638 "EHLO mga04.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726448AbeK0LPQ (ORCPT ); Tue, 27 Nov 2018 06:15:16 -0500 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga104.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Nov 2018 16:19:20 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,284,1539673200"; d="scan'208";a="94359788" Received: from orsmsx107.amr.corp.intel.com ([10.22.240.5]) by orsmga006.jf.intel.com with ESMTP; 26 Nov 2018 16:19:20 -0800 Received: from orsmsx157.amr.corp.intel.com (10.22.240.23) by ORSMSX107.amr.corp.intel.com (10.22.240.5) with Microsoft SMTP Server (TLS) id 14.3.408.0; Mon, 26 Nov 2018 16:19:20 -0800 Received: from orsmsx112.amr.corp.intel.com ([169.254.3.8]) by ORSMSX157.amr.corp.intel.com ([169.254.9.136]) with mapi id 14.03.0415.000; Mon, 26 Nov 2018 16:19:19 -0800 From: "Edgecombe, Rick P" To: "jeyu@kernel.org" CC: "linux-kernel@vger.kernel.org" , "daniel@iogearbox.net" , "jannh@google.com" , "keescook@chromium.org" , "willy@infradead.org" , "tglx@linutronix.de" , "linux-mm@kvack.org" , "arjan@linux.intel.com" , "x86@kernel.org" , "akpm@linux-foundation.org" , "hpa@zytor.com" , "kristen@linux.intel.com" , "mingo@redhat.com" , "kernel-hardening@lists.openwall.com" , "Hansen, Dave" Subject: Re: [PATCH v9 RESEND 0/4] KASLR feature to randomize each loadable module Thread-Topic: [PATCH v9 RESEND 0/4] KASLR feature to randomize each loadable module Thread-Index: AQHUgSfgmNHk8ka4hkuDmzvB70p4/KViv1EAgACSuAA= Date: Tue, 27 Nov 2018 00:19:19 +0000 Message-ID: <54dafdec825859afc85a3bd651f9e850e57a59dc.camel@intel.com> References: <20181120232312.30037-1-rick.p.edgecombe@intel.com> <20181126153611.GA17169@linux-8ccs> In-Reply-To: <20181126153611.GA17169@linux-8ccs> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.54.75.128] 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 T24gTW9uLCAyMDE4LTExLTI2IGF0IDE2OjM2ICswMTAwLCBKZXNzaWNhIFl1IHdyb3RlOg0KPiAr KysgUmljayBFZGdlY29tYmUgWzIwLzExLzE4IDE1OjIzIC0wODAwXToNCltzbmlwXQ0KPiBIaSBS aWNrIQ0KPiANCj4gU29ycn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