Re: [PATCH v6 10/11] x86/KASLR: Add physical address randomization >4G

2016-05-08 Thread Baoquan He
On 05/06/16 at 08:31am, Kees Cook wrote: > On Fri, May 6, 2016 at 1:27 AM, Baoquan He wrote: > > Hi Kees, > > > > On 05/05/16 at 03:13pm, Kees Cook wrote: > >> From: Baoquan He > >> > >> This patch exchanges the prior slots[] array for the new slot_areas[] > >>

Re: [PATCH v6 10/11] x86/KASLR: Add physical address randomization >4G

2016-05-08 Thread Baoquan He
On 05/06/16 at 08:31am, Kees Cook wrote: > On Fri, May 6, 2016 at 1:27 AM, Baoquan He wrote: > > Hi Kees, > > > > On 05/05/16 at 03:13pm, Kees Cook wrote: > >> From: Baoquan He > >> > >> This patch exchanges the prior slots[] array for the new slot_areas[] > >> array, and lifts the limitation of

Re: [PATCH v6 10/11] x86/KASLR: Add physical address randomization >4G

2016-05-06 Thread Kees Cook
On Fri, May 6, 2016 at 1:27 AM, Baoquan He wrote: > Hi Kees, > > On 05/05/16 at 03:13pm, Kees Cook wrote: >> From: Baoquan He >> >> This patch exchanges the prior slots[] array for the new slot_areas[] >> array, and lifts the limitation of KERNEL_IMAGE_SIZE on

Re: [PATCH v6 10/11] x86/KASLR: Add physical address randomization >4G

2016-05-06 Thread Kees Cook
On Fri, May 6, 2016 at 1:27 AM, Baoquan He wrote: > Hi Kees, > > On 05/05/16 at 03:13pm, Kees Cook wrote: >> From: Baoquan He >> >> This patch exchanges the prior slots[] array for the new slot_areas[] >> array, and lifts the limitation of KERNEL_IMAGE_SIZE on the physical >> address offset for

Re: [PATCH v6 10/11] x86/KASLR: Add physical address randomization >4G

2016-05-06 Thread Baoquan He
Hi Kees, On 05/05/16 at 03:13pm, Kees Cook wrote: > From: Baoquan He > > This patch exchanges the prior slots[] array for the new slot_areas[] > array, and lifts the limitation of KERNEL_IMAGE_SIZE on the physical > address offset for 64-bit. As before, process_e820_entry()

Re: [PATCH v6 10/11] x86/KASLR: Add physical address randomization >4G

2016-05-06 Thread Baoquan He
Hi Kees, On 05/05/16 at 03:13pm, Kees Cook wrote: > From: Baoquan He > > This patch exchanges the prior slots[] array for the new slot_areas[] > array, and lifts the limitation of KERNEL_IMAGE_SIZE on the physical > address offset for 64-bit. As before, process_e820_entry() walks Sorry, I

[PATCH v6 10/11] x86/KASLR: Add physical address randomization >4G

2016-05-05 Thread Kees Cook
From: Baoquan He This patch exchanges the prior slots[] array for the new slot_areas[] array, and lifts the limitation of KERNEL_IMAGE_SIZE on the physical address offset for 64-bit. As before, process_e820_entry() walks memory and populates slot_areas[], splitting on any

[PATCH v6 10/11] x86/KASLR: Add physical address randomization >4G

2016-05-05 Thread Kees Cook
From: Baoquan He This patch exchanges the prior slots[] array for the new slot_areas[] array, and lifts the limitation of KERNEL_IMAGE_SIZE on the physical address offset for 64-bit. As before, process_e820_entry() walks memory and populates slot_areas[], splitting on any detected mem_avoid