Re: [PATCH] x86, kaslr: randomize module base load address

From: H. Peter Anvin
Date: Fri Feb 21 2014 - 16:10:28 EST


On 02/21/2014 01:05 PM, Kees Cook wrote:
>
> I've been slapped down for adding more config options in the past, and
> I think it's unlikely that people using CONFIG_RANDOMIZE_BASE won't
> want the modules base randomized too. I think this is a safe default,
> but if you see it as a requirement, I can change it.
>

No, but I could totally see people wanting to randomize modules but not
the main kernel. Why? Because module addresses are already dynamic, so
there is no breakage. Whether or not it is *useful* is another matter.

-hpa

--
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/