Commit Graph

4 Commits

Author SHA1 Message Date
Dave Jones fff25a2ad1 exec-randomization: brk away from exec rand area
This is a fix for the NX emulation patch to force the brk area well
outside of the exec randomization area to avoid future allocation or brk
growth collisions. Normally this isn't a problem, except when the text
region has been loaded from a PIE binary and the CS limit can't be put
just above bss.

A test-case that will show failures without this patch can be found here:
http://bazaar.launchpad.net/~ubuntu-bugcontrol/qa-regression-testing/master/annotate/head%3A/scripts/kernel-aslr-collisions/explode-brk.c

Signed-off-by: Kees Cook <kees.cook@canonical.com>
2010-09-03 11:48:57 -04:00
Dave Jones 55f50f1d14 Remove the execshield boot parameter.
Based on a patch from Kees Cook
2010-09-03 11:22:06 -04:00
Chuck Ebbert f7c7ff50b7 Linux 2.6.36-rc1-git4 2010-08-22 08:22:19 -04:00
Jesse Keating 7a32965a10 initial srpm import 2010-07-29 16:46:31 -07:00