Patchwork [3/6] UBUNTU: Enforce DEFAULT_MMAP_MIN_ADDR on armhf

login
register
mail settings
Submitter Loïc Minier
Date March 16, 2011, 12:30 a.m.
Message ID <1300235418-19872-4-git-send-email-loic.minier@linaro.org>
Download mbox | patch
Permalink /patch/87133/
State New
Headers show

Comments

Loïc Minier - March 16, 2011, 12:30 a.m.
Also enforce CONFIG_DEFAULT_MMAP_MIN_ADDR=32768 on armhf.

Signed-off-by: Loïc Minier <loic.minier@linaro.org>
---
 debian.master/config/enforce |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

Patch

diff --git a/debian.master/config/enforce b/debian.master/config/enforce
index bd98fd9..88822e6 100644
--- a/debian.master/config/enforce
+++ b/debian.master/config/enforce
@@ -21,8 +21,8 @@  value CONFIG_DEFAULT_SECURITY_APPARMOR y
 !exists CONFIG_STRICT_DEVMEM | value CONFIG_STRICT_DEVMEM y
 # For architectures which support this option ensure it is disabled.
 !exists CONFIG_COMPAT_VDSO | value CONFIG_COMPAT_VDSO n
-# Default to 32768 for armel, 65536 for everything else.
-( arch armel & value CONFIG_DEFAULT_MMAP_MIN_ADDR 32768 ) | \
+# Default to 32768 on ARM, 65536 for everything else.
+( ( arch armel | arch armhf ) & value CONFIG_DEFAULT_MMAP_MIN_ADDR 32768 ) | \
 	( value CONFIG_DEFAULT_MMAP_MIN_ADDR 65536)
 
 # CONFIG_USB_DEVICE_FS breaks udev USB firmware loading and is deprecated