Re: [PATCH 3/3] x86: kernel base offset ASLR

From: Ingo Molnar
Date: Mon Apr 08 2013 - 07:58:32 EST



* H. Peter Anvin <hpa@xxxxxxxxx> wrote:

> On 04/05/2013 01:04 AM, Ingo Molnar wrote:
> >
> > Random runtime shuffling of the kernel image - is that possible with
> > existing toolchains?
> >
>
> Yes... the question is how much work we'd be willing to go through to make it
> happen.
>
> One approach: the kernel already contains a linker -- used for modules -- and
> the bulk of the kernel could actually be composed to a "pile of modules" that
> gets linked on boot. This would provide very large amounts of randomness.

Is there no code generation / micro-performance disadvantage to that?

Thanks,

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