Skip to content

Commit

Permalink
make DEFAULT_MMAP_MIN_ADDR match LSM_MMAP_MIN_ADDR
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Micay <danielmicay@gmail.com>
  • Loading branch information
thestinger authored and anthraxx committed Apr 4, 2020
1 parent 9fbe5c8 commit f1fe0a6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion mm/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -304,7 +304,8 @@ config KSM
config DEFAULT_MMAP_MIN_ADDR
int "Low address space to protect from user allocation"
depends on MMU
default 4096
default 32768 if ARM || (ARM64 && COMPAT)
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
Expand Down

0 comments on commit f1fe0a6

Please sign in to comment.