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

From: H. Peter Anvin
Date: Sat May 28 2011 - 21:15:26 EST


On 05/28/2011 05:18 AM, Ingo Molnar wrote:
>
> Having half a megabyte of '__init buffer' at the beginning or end of
> the kernel image is no big deal, it's more than enough for good
> randomization and makes the whole thing image-loader invariant: we
> can freely shift the 'real' kernel image within this larger boundary
> without consulting RAM maps.
>

Sure, but you're also blowing any attempt at PMD alignment to kingdom come.

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

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