From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752581AbaFLTzh (ORCPT ); Thu, 12 Jun 2014 15:55:37 -0400 Received: from v094114.home.net.pl ([79.96.170.134]:49793 "HELO v094114.home.net.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1752098AbaFLTze (ORCPT ); Thu, 12 Jun 2014 15:55:34 -0400 From: "Rafael J. Wysocki" To: "H. Peter Anvin" Cc: Kees Cook , linux-kernel@vger.kernel.org, Randy Dunlap , Thomas Gleixner , Ingo Molnar , x86@kernel.org, Len Brown , Pavel Machek , Wei Yongjun , linux-doc@vger.kernel.org, linux-pm@vger.kernel.org Subject: Re: [PATCH 0/2] make kASLR vs hibernation boot-time selectable Date: Thu, 12 Jun 2014 22:13 +0200 Message-ID: <1567399.Tu2Noof0fr@vostro.rjw.lan> User-Agent: KMail/4.11.5 (Linux/3.15.0-rc5+; KDE/4.11.5; x86_64; ; ) In-Reply-To: <539A0422.9010000@zytor.com> References: <1402602419-27934-1-git-send-email-keescook@chromium.org> <539A0422.9010000@zytor.com> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday, June 12, 2014 12:48:50 PM H. Peter Anvin wrote: > On 06/12/2014 12:46 PM, Kees Cook wrote: > > Distros want to be able to offer CONFIG_RANDOMIZE_BASE as well as > > CONFIG_HIBERNATION in a single kernel. Instead of making kASLR depend on > > !HIBERNATION at compile time, allow kaslr to be selectable at boot time > > (via "kaslr" kernel command line), which will disable hibernation in the > > kernel. In this way the end user can choose which feature they want more > > with hibernation continuing to stay enabled by default (no surprises). > > Any way we can make them work together instead? Yeah, and that too. Rafael