Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 88454
b: refs/heads/master
c: 5f46ce1
h: refs/heads/master
v: v3
  • Loading branch information
maximilian attems authored and James Morris committed Apr 18, 2008
1 parent a7d7b35 commit 96bd7ea
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 27cc2a6e572e1a86a08a02918517558f175f6974
refs/heads/master: 5f46ce14bd432cf52bf91079270af164ca48f821
10 changes: 6 additions & 4 deletions trunk/security/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -113,10 +113,12 @@ config SECURITY_DEFAULT_MMAP_MIN_ADDR
from userspace allocation. Keeping a user from writing to low pages
can help reduce the impact of kernel NULL pointer bugs.

For most users with lots of address space a value of 65536 is
reasonable and should cause no problems. Programs which use vm86
functionality would either need additional permissions from either
the LSM or the capabilities module or have this protection disabled.
For most ia64, ppc64 and x86 users with lots of address space
a value of 65536 is reasonable and should cause no problems.
On arm and other archs it should not be higher than 32768.
Programs which use vm86 functionality would either need additional
permissions from either the LSM or the capabilities module or have
this protection disabled.

This value can be changed after boot using the
/proc/sys/vm/mmap_min_addr tunable.
Expand Down

0 comments on commit 96bd7ea

Please sign in to comment.