Re: [RFC][PATCH] Randomize kernel base address on boot

H. Peter Anvin
2011-05-24T23:14:33Z

On 05/24/2011 03:31 PM, H. Peter Anvin wrote:
>
> Arguably this is really something that would be *much* better done in
> the bootloader, but given that the dominant boot loader for Linux is
> Grub, I don't expect that anything will ever happen until the cows come
> home :(
>

This pretty much means we need an opt-out for this. I think we need
this both in the form of a boot protocol flag bit (for the case where
the boot loader knows what it's doing, and what the kernel to stay put;
perhaps it has already randomized) and a kernel command-line option
(which can be parsed early and set the above flag.)

-hpa