Messages in this thread | | | Subject | Re: [PATCH 3/3] x86: kernel base offset ASLR | From | "H. Peter Anvin" <> | Date | Mon, 08 Apr 2013 07:58:23 -0700 |
| |
Not if we do it right, but there is a huge potential boot time penalty.
Ingo Molnar <mingo@kernel.org> wrote:
> >* H. Peter Anvin <hpa@zytor.com> 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
-- Sent from my mobile phone. Please excuse brevity and lack of formatting.
| |