From: Kees Cook <keescook@chromium.org>
To: linux-kernel@vger.kernel.org
Cc: Kees Cook <keescook@chromium.org>, Pavel Machek <pavel@ucw.cz>,
Josh Boyer <jwboyer@fedoraproject.org>,
"H. Peter Anvin" <hpa@zytor.com>,
Randy Dunlap <rdunlap@infradead.org>,
Thomas Gleixner <tglx@linutronix.de>,
Ingo Molnar <mingo@redhat.com>,
x86@kernel.org, "Rafael J. Wysocki" <rjw@rjwysocki.net>,
Len Brown <len.brown@intel.com>,
Wei Yongjun <yongjun_wei@trendmicro.com.cn>,
linux-doc@vger.kernel.org, linux-pm@vger.kernel.org
Subject: [PATCH v3 0/2] make kASLR vs hibernation boot-time selectable
Date: Fri, 13 Jun 2014 13:30:34 -0700 [thread overview]
Message-ID: <1402691436-20138-1-git-send-email-keescook@chromium.org> (raw)
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.
v3:
- switch from EINVAL to EPERM (pavel, jwboyer)
v2:
- rework using kernel command line instead of hibernation_mode (rjw)
next reply other threads:[~2014-06-13 20:31 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-06-13 20:30 Kees Cook [this message]
2014-06-13 20:30 ` [PATCH v3 1/2] hibernate: create "nohibernate" boot parameter Kees Cook
2014-06-13 20:30 ` [PATCH v3 2/2] x86, kaslr: boot-time selectable with hibernation Kees Cook
2014-06-13 20:39 ` Pavel Machek
2014-06-13 23:25 ` [PATCH v3 0/2] make kASLR vs hibernation boot-time selectable Rafael J. Wysocki
2014-06-14 6:09 ` Kees Cook
2014-06-17 21:07 ` Rafael J. Wysocki
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1402691436-20138-1-git-send-email-keescook@chromium.org \
--to=keescook@chromium.org \
--cc=hpa@zytor.com \
--cc=jwboyer@fedoraproject.org \
--cc=len.brown@intel.com \
--cc=linux-doc@vger.kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-pm@vger.kernel.org \
--cc=mingo@redhat.com \
--cc=pavel@ucw.cz \
--cc=rdunlap@infradead.org \
--cc=rjw@rjwysocki.net \
--cc=tglx@linutronix.de \
--cc=x86@kernel.org \
--cc=yongjun_wei@trendmicro.com.cn \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®