summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Jones <davej@redhat.com>2009-08-18 13:47:37 -0400
committerJames Morris <jmorris@namei.org>2009-08-19 08:38:29 +1000
commita58578e47f004017cf47803ad372490806630e58 (patch)
treef815076f1956aa50d0eea5d0323eaae9c27b3424
parentdf4ecf1524c7793de3121b2d4e5fc6bcc0da3bfb (diff)
downloadlinux-a58578e47f004017cf47803ad372490806630e58.tar.gz
linux-a58578e47f004017cf47803ad372490806630e58.tar.bz2
linux-a58578e47f004017cf47803ad372490806630e58.zip
security: Make LSM_MMAP_MIN_ADDR default match its help text.
Commit 788084aba2ab7348257597496befcbccabdc98a3 added the LSM_MMAP_MIN_ADDR option, whose help text states "For most ia64, ppc64 and x86 users with lots of address space a value of 65536 is reasonable and should cause no problems." Which implies that it's default setting was typoed. Signed-off-by: Dave Jones <davej@redhat.com> Acked-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <jmorris@namei.org>
-rw-r--r--security/Kconfig2
1 files changed, 1 insertions, 1 deletions
diff --git a/security/Kconfig b/security/Kconfig
index 9c60c346a91d..bba92689b567 100644
--- a/security/Kconfig
+++ b/security/Kconfig
@@ -116,7 +116,7 @@ config SECURITY_ROOTPLUG
config LSM_MMAP_MIN_ADDR
int "Low address space for LSM to from user allocation"
depends on SECURITY && SECURITY_SELINUX
- default 65535
+ default 65536
help
This is the portion of low virtual memory which should be protected
from userspace allocation. Keeping a user from writing to low pages