From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753288AbcLJMdz (ORCPT ); Sat, 10 Dec 2016 07:33:55 -0500 Received: from mx2.suse.de ([195.135.220.15]:43331 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752335AbcLJMdy (ORCPT ); Sat, 10 Dec 2016 07:33:54 -0500 Date: Sat, 10 Dec 2016 13:33:41 +0100 From: Borislav Petkov To: Baoquan He Cc: linux-kernel@vger.kernel.org, tglx@linutronix.de, hpa@zytor.com, mingo@redhat.com, x86@kernel.org, keescook@chromium.org, yinghai@kernel.org, thgarnie@google.com, kuleshovmail@gmail.com, luto@kernel.org, mcgrof@kernel.org, anderson@redhat.com, dyoung@redhat.com, xlpang@redhat.com Subject: Re: [PATCH v2 2/2] x86/KASLR/64: Determine kernel text mapping size at runtime Message-ID: <20161210123340.begeyyiegktangh2@pd.tnic> References: <1481294518-29595-1-git-send-email-bhe@redhat.com> <1481294518-29595-3-git-send-email-bhe@redhat.com> <20161210103151.56d7k2iwwwu5acmw@pd.tnic> <20161210122757.GE1034@x1> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20161210122757.GE1034@x1> User-Agent: NeoMutt/20161014 (1.7.1) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Dec 10, 2016 at 08:27:57PM +0800, Baoquan He wrote: > Whether CONFIG_RANDOMIZE_BASE is yes or not, with 'nokaslr' specified, > Kernel text mapping size should be 512M, just the same as no kaslr code > compiled in. "should be" still doesn't really explain what the problem is. What's wrong with it remaining 1G? IOW, something like "The problem is X and the issues it causes are Y. That's why we need to do Z." Now please replace X,Y and Z with the real content. -- Regards/Gruss, Boris. SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg) --