Re: [PATCH] x86, kaslr: propagate base load address calculation

Jiri Kosina
2015-02-10T23:13:33Z

On Wed, 11 Feb 2015, Jiri Kosina wrote:

> Alternatively, we can forbid zero-sized randomization, and always enforce
> at least some minimal offset to be chosen in case zero would be chosen.

Okay, I see, that might not be always possible, depending on the memory
map layout.

So I'll just send you a respin of my previous patch tomorrow that would,
instead of defining __KERNEL_OFFSET as a particular value, introduce a
simple global flag which would indicate whether kaslr is in place or not.

--
Jiri Kosina
SUSE Labs