linux-pm.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/2] make kASLR vs hibernation boot-time selectable
@ 2014-06-12 21:00 Kees Cook
  2014-06-12 21:00 ` [PATCH v2 1/2] hibernate: create "nohibernate" boot parameter Kees Cook
  2014-06-12 21:00 ` [PATCH v2 2/2] x86, kaslr: boot-time selectable with hibernation Kees Cook
  0 siblings, 2 replies; 5+ messages in thread
From: Kees Cook @ 2014-06-12 21:00 UTC (permalink / raw)
  To: linux-kernel
  Cc: Kees Cook, Rafael J. Wysocki, H. Peter Anvin, Randy Dunlap,
	Thomas Gleixner, Ingo Molnar, x86, Len Brown, Pavel Machek,
	Wei Yongjun, linux-doc, linux-pm

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).

This also has the benefit of being able to entirely disable hibernation
from the kernel command line, regardless of kASLR, which is a separately
desired feature as well.

v2:
- rework using kernel command line instead of hibernation_mode (rjw)


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2014-06-13 11:43 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-06-12 21:00 [PATCH v2 0/2] make kASLR vs hibernation boot-time selectable Kees Cook
2014-06-12 21:00 ` [PATCH v2 1/2] hibernate: create "nohibernate" boot parameter Kees Cook
2014-06-13 10:56   ` Pavel Machek
2014-06-13 11:43   ` Josh Boyer
2014-06-12 21:00 ` [PATCH v2 2/2] x86, kaslr: boot-time selectable with hibernation Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).