Re: [PATCH] x86: Enable full randomization on i386 and X86_32.

2016-03-11 Thread Kees Cook
On Fri, Mar 11, 2016 at 12:53 AM, Ingo Molnar wrote: > > * Kees Cook wrote: > >> On Thu, Mar 10, 2016 at 12:53 PM, Arjan van de Ven >> wrote: >> >> Arjan, or other folks, can you remember why x86_32 disabled mmap >> >> randomization here? There doesn't seem to be a good reason for it that >> >>

Re: [PATCH] x86: Enable full randomization on i386 and X86_32.

2016-03-11 Thread Ingo Molnar
* Kees Cook wrote: > On Thu, Mar 10, 2016 at 12:53 PM, Arjan van de Ven > wrote: > >> Arjan, or other folks, can you remember why x86_32 disabled mmap > >> randomization here? There doesn't seem to be a good reason for it that > >> I see. > > > > > > for unlimited stack it got really messy with

Re: [PATCH] x86: Enable full randomization on i386 and X86_32.

2016-03-11 Thread Ingo Molnar
* Hector Marco-Gisbert wrote: > Currently on i386 and on X86_64 when emulating X86_32 in legacy mode, only > the stack and the executable are randomized but not other mmapped files > (libraries, vDSO, etc.). This patch enables randomization for the > libraries, vDSO and mmap requests on i386 and

Re: [PATCH] x86: Enable full randomization on i386 and X86_32.

2016-03-10 Thread Kees Cook
On Thu, Mar 10, 2016 at 12:53 PM, Arjan van de Ven wrote: >> Arjan, or other folks, can you remember why x86_32 disabled mmap >> randomization here? There doesn't seem to be a good reason for it that >> I see. > > > for unlimited stack it got really messy with threaded apps. Seems like it'd only

Re: [PATCH] x86: Enable full randomization on i386 and X86_32.

2016-03-10 Thread Arjan van de Ven
Arjan, or other folks, can you remember why x86_32 disabled mmap randomization here? There doesn't seem to be a good reason for it that I see. for unlimited stack it got really messy with threaded apps. anyway, I don't mind seeing if this will indeed work, with time running out where 32 bit is

Re: [PATCH] x86: Enable full randomization on i386 and X86_32.

2016-03-10 Thread Kees Cook
On Thu, Mar 10, 2016 at 11:51 AM, Hector Marco-Gisbert wrote: > Currently on i386 and on X86_64 when emulating X86_32 in legacy mode, only > the stack and the executable are randomized but not other mmapped files > (libraries, vDSO, etc.). This patch enables randomization for the > libraries, vDSO

[PATCH] x86: Enable full randomization on i386 and X86_32.

2016-03-10 Thread Hector Marco-Gisbert
Currently on i386 and on X86_64 when emulating X86_32 in legacy mode, only the stack and the executable are randomized but not other mmapped files (libraries, vDSO, etc.). This patch enables randomization for the libraries, vDSO and mmap requests on i386 and in X86_32 in legacy mode. By default o