mmap randomization for executable mappings on 32-bit
authorRoland McGrath <roland@redhat.com>
Wed, 14 Jul 2010 07:55:23 +0000 (00:55 -0700)
committerLeann Ogasawara <leann.ogasawara@canonical.com>
Mon, 28 Mar 2011 13:50:18 +0000 (06:50 -0700)
commit4a52f7d4e6820384b8b69e885961ca2b02f60245
tree073f130301caa155fe6a71514b31bc8910d32f18
parent89e914925cc410c49a973d27831f582e4e62f5d8
mmap randomization for executable mappings on 32-bit

This code is originally from Ingo, with some later rebasing and
fixes to respect all the randomization-disabling knobs.

It provides a new address randomization algorithm that's preferable
for executable mappings in 32-bit processes.

Signed-off-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Kees Cook <kees.cook@canonical.com>
Signed-off-by: Andy Whitcroft <apw@canonical.com>
arch/x86/mm/mmap.c
arch/x86/vdso/vdso32-setup.c
include/linux/mm.h
include/linux/mm_types.h
include/linux/sched.h
mm/mmap.c
mm/mremap.c