Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758366Ab1EaUbZ (ORCPT ); Tue, 31 May 2011 16:31:25 -0400 Received: from terminus.zytor.com ([198.137.202.10]:37121 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1758190Ab1EaUbY (ORCPT ); Tue, 31 May 2011 16:31:24 -0400 Message-ID: <4DE54FFF.4010500@zytor.com> Date: Tue, 31 May 2011 13:30:55 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Thunderbird/3.1.10 MIME-Version: 1.0 To: Ingo Molnar CC: Dan Rosenberg , Matthew Garrett , Tony Luck , linux-kernel@vger.kernel.org, kees.cook@canonical.com, davej@redhat.com, torvalds@linux-foundation.org, adobriyan@gmail.com, eranian@google.com, penberg@kernel.org, davem@davemloft.net, Arjan van de Ven , Valdis.Kletnieks@vt.edu, Andrew Morton , pageexec@freemail.hu, Vivek Goyal Subject: Re: [RFC][PATCH] Randomize kernel base address on boot References: <1306269105.21443.20.camel@dan> <1306442367.2279.25.camel@dan> <20110531165252.GB8971@srcf.ucam.org> <4DE5360D.5070809@zytor.com> <20110531185122.GA11998@srcf.ucam.org> <1306868609.6317.25.camel@dan> <20110531195551.GC26970@elte.hu> <4DE54C66.10106@zytor.com> <20110531202712.GB28731@elte.hu> In-Reply-To: <20110531202712.GB28731@elte.hu> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 734 Lines: 20 On 05/31/2011 01:27 PM, Ingo Molnar wrote: > >> Other than that, Ingo's idea at least have the merit that it would >> break only older bootloaders doing things wrong. > > I'm wondering, why would it break older bootloaders? It's just a > slightly larger than usual kernel image, nothing is visible to the > bootloader. > Older boot loaders did not know how big the kernel image was, therefore had no way to avoid memory space collision. That is fixed in boot protocol 2.10. -hpa -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/