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

From: Jiri Kosina
Date: Tue Feb 10 2015 - 18:13:37 EST


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
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/