Re: [PATCH] Prefer kASLR over Hibernation
From: Linus Torvalds
Date: Wed Apr 06 2016 - 16:56:42 EST
On Wed, Apr 6, 2016 at 1:17 PM, Pavel Machek <pavel@xxxxxxx> wrote:
>
> Why is kASLR incompatible with hibernation? We can hibernate have
> 4.3 kernel resume hibernation image of 4.2 kernel (on x86-64, and I
> have patches for x86). Resuming kernel with different randomization
> does not look that much different...
Oh, I'd absolutely prefer to just allow kaslr together with
hibernation if it actually works.
Could the people who piped up to say that they actually use
hibernation just try passing in the "kaslr" command line option on
their machine, and see if it works for them? We could just remove the
"no kaslr with hibername" code - or at least limit it to 32-bit for
now..
Because that would be lovely.
Linus