Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933184Ab1EXXBc (ORCPT ); Tue, 24 May 2011 19:01:32 -0400 Received: from mx1.vsecurity.com ([209.67.252.12]:59671 "EHLO mx1.vsecurity.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751555Ab1EXXBb (ORCPT ); Tue, 24 May 2011 19:01:31 -0400 Subject: Re: [RFC][PATCH] Randomize kernel base address on boot From: Dan Rosenberg To: Brian Gerst Cc: Tony Luck , linux-kernel@vger.kernel.org, davej@redhat.com, kees.cook@canonical.com, davem@davemloft.net, eranian@google.com, torvalds@linux-foundation.org, adobriyan@gmail.com, penberg@kernel.org, hpa@zytor.com, Arjan van de Ven , Andrew Morton , Valdis.Kletnieks@vt.edu, Ingo Molnar , pageexec@freemail.hu In-Reply-To: References: <1306269105.21443.20.camel@dan> Content-Type: text/plain; charset="UTF-8" Date: Tue, 24 May 2011 19:01:22 -0400 Message-ID: <1306278082.1921.6.camel@dan> Mime-Version: 1.0 X-Mailer: Evolution 2.28.3 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 642 Lines: 23 > > This trick doesn't work as you may expect on 64-bit. You are > relocating the physical image of the kernel, but the kernel actually > runs from a fixed virtual mapping. This would require adding the > relocation code that 32-bit uses, so the virtual address can be > changed. > Noted, thanks, I'll be sure to not waste my time when I start working on 64-bit. -Dan > -- > Brian Gerst -- 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/