Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1161837Ab3DEHg2 (ORCPT ); Fri, 5 Apr 2013 03:36:28 -0400 Received: from mail-bk0-f51.google.com ([209.85.214.51]:37717 "EHLO mail-bk0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1161824Ab3DEHgZ (ORCPT ); Fri, 5 Apr 2013 03:36:25 -0400 Date: Fri, 5 Apr 2013 09:36:21 +0200 From: Ingo Molnar To: Kees Cook Cc: linux-kernel@vger.kernel.org, kernel-hardening@lists.openwall.com, "H. Peter Anvin" , Thomas Gleixner , Ingo Molnar , x86@kernel.org, Jarkko Sakkinen , Matthew Garrett , Matt Fleming , Eric Northup , Dan Rosenberg , Julien Tinnes , Will Drewry , Linus Torvalds Subject: Re: [PATCH 1/3] x86: routines to choose random kernel base offset Message-ID: <20130405073621.GA27843@gmail.com> References: <1365106055-22939-1-git-send-email-keescook@chromium.org> <1365106055-22939-2-git-send-email-keescook@chromium.org> <20130405072405.GD26889@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20130405072405.GD26889@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 892 Lines: 26 * Ingo Molnar wrote: > > * Kees Cook wrote: > > > This provides routines for selecting a randomized kernel base offset, > > bounded by e820 details. It tries to use RDRAND and falls back to RDTSC. > > If "noaslr" is on the kernel command line, no offset will be used. > > Would it make sense to also add three other sources of entropy: In any case, would it be possible to also mix these bootup sources of entropy into our regular random pool? That would improve random pool entropy on all Linux systems, not just those that choose to enable kernel-base-address randomization. Thanks, Ingo -- 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/