From mboxrd@z Thu Jan 1 00:00:00 1970 From: "H. Peter Anvin" Subject: Re: [PATCH 0/2] make kASLR vs hibernation boot-time selectable Date: Thu, 12 Jun 2014 12:48:50 -0700 Message-ID: <539A0422.9010000@zytor.com> References: <1402602419-27934-1-git-send-email-keescook@chromium.org> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <1402602419-27934-1-git-send-email-keescook@chromium.org> Sender: linux-doc-owner@vger.kernel.org To: Kees Cook , linux-kernel@vger.kernel.org Cc: Randy Dunlap , Thomas Gleixner , Ingo Molnar , x86@kernel.org, "Rafael J. Wysocki" , Len Brown , Pavel Machek , Wei Yongjun , linux-doc@vger.kernel.org, linux-pm@vger.kernel.org List-Id: linux-pm@vger.kernel.org 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? -hpa