Re: Randomize link of kernel, and unmap startup code

2017-05-30 Thread Theo de Raadt
> This change relinks kernel objects randomly, and unmaps the bootcode > component of locore during boot. This makes gadgets harder to find. > > The current linker layout is: > > locore.o [bring-up code + asm runtime] > rest of kernel .o, in order supplied by config(8) > > The new l

Re: Randomize link of kernel, and unmap startup code

2017-05-30 Thread Mike Larkin
On Tue, May 30, 2017 at 02:16:45AM -0600, Theo de Raadt wrote: > This change relinks kernel objects randomly, and unmaps the bootcode > component of locore during boot. This makes gadgets harder to find. > > The current linker layout is: > > locore.o [bring-up code + asm runtime] > r

Randomize link of kernel, and unmap startup code

2017-05-30 Thread Theo de Raadt
This change relinks kernel objects randomly, and unmaps the bootcode component of locore during boot. This makes gadgets harder to find. The current linker layout is: locore.o [bring-up code + asm runtime] rest of kernel .o, in order supplied by config(8) The new linker layout i