Re: [kernel-hardening] Re: [PATCH 3/6] x86: kaslr: return location from decompress_kernel

2013-04-29 Thread Kees Cook
On Sun, Apr 28, 2013 at 6:25 PM, James Morris wrote: > On Fri, 26 Apr 2013, H. Peter Anvin wrote: > >> > + noaslr [X86] >> > + Disable kernel base offset ASLR (Address Space >> > + Layout Randomization) if built into the kernel. >> > + >> > noauto

Re: [kernel-hardening] Re: [PATCH 3/6] x86: kaslr: return location from decompress_kernel

2013-04-28 Thread James Morris
On Fri, 26 Apr 2013, H. Peter Anvin wrote: > > + noaslr [X86] > > + Disable kernel base offset ASLR (Address Space > > + Layout Randomization) if built into the kernel. > > + > > noautogroup Disable scheduler automatic task group creation. > >

Re: [PATCH 3/6] x86: kaslr: return location from decompress_kernel

2013-04-26 Thread H. Peter Anvin
On 04/26/2013 12:03 PM, Kees Cook wrote: > This allows decompress_kernel to return a new location for the kernel to > be relocated to. With CONFIG_RANDOMIZE_BASE, the choose_kernel_location > routine will select a new location to decompress the kernel, and is > presently a no-op. The logic for bypa

[PATCH 3/6] x86: kaslr: return location from decompress_kernel

2013-04-26 Thread Kees Cook
This allows decompress_kernel to return a new location for the kernel to be relocated to. With CONFIG_RANDOMIZE_BASE, the choose_kernel_location routine will select a new location to decompress the kernel, and is presently a no-op. The logic for bypassing this routine with "noaslr" on the kernel co

[PATCH 3/6] x86: kaslr: return location from decompress_kernel

2013-04-25 Thread Kees Cook
This allows decompress_kernel to return a new location for the kernel to be relocated to. With CONFIG_RANDOMIZE_BASE, the choose_kernel_location routine will select a new location to decompress the kernel, and is presently a no-op. The logic for bypassing this routine with "noaslr" on the kernel co