Re: [PATCH v2] x86, kaslr: randomize module base load address

2014-02-25 Thread H. Peter Anvin
On 02/25/2014 04:34 PM, Kees Cook wrote: > Randomize the load address of modules in the kernel to make kASLR > effective for modules. Modules can only be loaded within a particular > range of virtual address space. This patch adds 10 bits of entropy to > the load address by adding 1-1024 * PAGE_S

[PATCH v2] x86, kaslr: randomize module base load address

2014-02-25 Thread Kees Cook
Randomize the load address of modules in the kernel to make kASLR effective for modules. Modules can only be loaded within a particular range of virtual address space. This patch adds 10 bits of entropy to the load address by adding 1-1024 * PAGE_SIZE to the beginning range where modules are load