mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "Rafael J. Wysocki" <rjw@rjwysocki.net>
To: Kees Cook <keescook@chromium.org>
Cc: LKML <linux-kernel@vger.kernel.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" <x86@kernel.org>,
	Len Brown <len.brown@intel.com>,
	Wei Yongjun <yongjun_wei@trendmicro.com.cn>,
	"linux-doc@vger.kernel.org" <linux-doc@vger.kernel.org>,
	linux-pm@vger.kernel.org
Subject: Re: [PATCH v3 0/2] make kASLR vs hibernation boot-time selectable
Date: Tue, 17 Jun 2014 23:07:23 +0200	[thread overview]
Message-ID: <4620697.7oeP2zTOEF@vostro.rjw.lan> (raw)
In-Reply-To: <CAGXu5jKpSqu6-AeHoiEhBzEYSujthT_UeHNSUKQ6TXhg-S=SPg@mail.gmail.com>

On Friday, June 13, 2014 11:09:15 PM Kees Cook wrote:
> On Fri, Jun 13, 2014 at 4:25 PM, Rafael J. Wysocki <rjw@rjwysocki.net> wrote:
> > On Friday, June 13, 2014 01:30:34 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).
> >>
> >> 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)
> >
> > That looks kind of OK.
> >
> > Do you want me to push this through my tree?
> 
> Thanks, yes, that would be great.

OK, both applied, thanks!

-- 
I speak only for myself.
Rafael J. Wysocki, Intel Open Source Technology Center.

      reply	other threads:[~2014-06-17 20:49 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-06-13 20:30 Kees Cook
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 [this message]

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=4620697.7oeP2zTOEF@vostro.rjw.lan \
    --to=rjw@rjwysocki.net \
    --cc=hpa@zytor.com \
    --cc=jwboyer@fedoraproject.org \
    --cc=keescook@chromium.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=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®