Re: [PATCH 04/42] x86, kaslr: Kill not needed and wrong run_size calculation code.

2015-07-07 Thread Kees Cook
On Tue, Jul 7, 2015 at 1:19 PM, Yinghai Lu wrote: > We use simple and correct version to get run_size now, remove code for > wrong run_size calculation. I feel like this should be merged with the prior patch, but I'm on the fence. The prior patch fixes the calculation. Why leave the clean up unti

[PATCH 04/42] x86, kaslr: Kill not needed and wrong run_size calculation code.

2015-07-07 Thread Yinghai Lu
We use simple and correct version to get run_size now, remove code for wrong run_size calculation. Fixes: e6023367d779 ("x86, kaslr: Prevent .bss from overlaping initrd") Cc: "H. Peter Anvin" Cc: Josh Triplett Cc: Matt Fleming Cc: Kees Cook Cc: Andrew Morton Cc: Ard Biesheuvel Cc: Junjie Mao