Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a58578e4 authored by Dave Jones's avatar Dave Jones Committed by James Morris
Browse files

security: Make LSM_MMAP_MIN_ADDR default match its help text.



Commit 788084ab 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: default avatarDave Jones <davej@redhat.com>
Acked-by: default avatarEric Paris <eparis@redhat.com>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent df4ecf15
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -116,7 +116,7 @@ config SECURITY_ROOTPLUG
config LSM_MMAP_MIN_ADDR
config LSM_MMAP_MIN_ADDR
	int "Low address space for LSM to from user allocation"
	int "Low address space for LSM to from user allocation"
	depends on SECURITY && SECURITY_SELINUX
	depends on SECURITY && SECURITY_SELINUX
	default 65535
	default 65536
	help
	help
	  This is the portion of low virtual memory which should be protected
	  This is the portion of low virtual memory which should be protected
	  from userspace allocation.  Keeping a user from writing to low pages
	  from userspace allocation.  Keeping a user from writing to low pages