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

H. Peter Anvin
2014-02-21T21:10:22Z

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