Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S935431Ab3DPChH (ORCPT ); Mon, 15 Apr 2013 22:37:07 -0400 Received: from terminus.zytor.com ([198.137.202.10]:34796 "EHLO mail.zytor.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934994Ab3DPChE (ORCPT ); Mon, 15 Apr 2013 22:37:04 -0400 Message-ID: <516CB937.2000305@zytor.com> Date: Mon, 15 Apr 2013 19:36:39 -0700 From: "H. Peter Anvin" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130311 Thunderbird/17.0.4 MIME-Version: 1.0 To: Yinghai Lu CC: Kees Cook , Eric Northup , Linux Kernel Mailing List , "kernel-hardening@lists.openwall.com" , Thomas Gleixner , Ingo Molnar , the arch/x86 maintainers , Jarkko Sakkinen , Matthew Garrett , Matt Fleming , Dan Rosenberg , Julien Tinnes , Will Drewry Subject: Re: [PATCH 6/6] x86: kaslr: relocate base offset at boot References: <1365797627-20874-1-git-send-email-keescook@chromium.org> <1365797627-20874-7-git-send-email-keescook@chromium.org> <516A1D49.1050100@zytor.com> <516C702C.2030209@zytor.com> <516C751B.4020505@zytor.com> In-Reply-To: X-Enigmail-Version: 1.5.1 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 693 Lines: 23 On 04/15/2013 03:00 PM, Yinghai Lu wrote: > > looks you are trying redo the work for bootloader to pick loaded phys addr. > Well, that is exactly what they are doing. On top of that they also need to randomize the 64-bit virtual mapping. I wonder if we need a bootloader bit to inhibit kaslr in addition to the command line... -hpa -- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf. -- 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/