From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758543AbbCDPyi (ORCPT ); Wed, 4 Mar 2015 10:54:38 -0500 Received: from cantor2.suse.de ([195.135.220.15]:33365 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752677AbbCDPyg (ORCPT ); Wed, 4 Mar 2015 10:54:36 -0500 Date: Wed, 4 Mar 2015 16:54:33 +0100 (CET) From: Jiri Kosina To: Borislav Petkov cc: Yinghai Lu , Matt Fleming , "H. Peter Anvin" , Bjorn Helgaas , Thomas Gleixner , Ingo Molnar , Borislav Petkov , Baoquan He , linux-kernel@vger.kernel.org, linux-efi@vger.kernel.org, linux-pci@vger.kernel.org, Kees Cook Subject: Re: [PATCH v2 04/15] x86, kaslr: get kaslr_enabled back correctly In-Reply-To: <20150304101649.GA3663@pd.tnic> Message-ID: References: <1425456048-16236-1-git-send-email-yinghai@kernel.org> <1425456048-16236-5-git-send-email-yinghai@kernel.org> <20150304101649.GA3663@pd.tnic> User-Agent: Alpine 2.00 (LNX 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 4 Mar 2015, Borislav Petkov wrote: > On Wed, Mar 04, 2015 at 12:00:37AM -0800, Yinghai Lu wrote: > > commit f47233c2d34f ("x86/mm/ASLR: Propagate base load address calculation") > > is using address as value for kaslr_enabled. > > > > That will random kaslr_enabled get that set or cleared. > > Will have problem for system really have kaslr enabled. > > > > -v2: update changelog. > > This is still not good enough. Please do this: > > In commit f47233c2d34f we did A. The problem with that is B. Change the > code to do C. > > Now you only have to fill out the A,B and C variables with the > respective text which is understandable even for people who don't know > this code. Also this 15-patch series needs to be separated into two patchsets. The whole series is not appropriate for -rc3, but this particular one at least is a regression fix that has to go in. Thanks, -- Jiri Kosina SUSE Labs