Skip to content
Commit e0a94c2a authored by Christoph Lameter's avatar Christoph Lameter Committed by James Morris
Browse files

security: use mmap_min_addr indepedently of security models



This patch removes the dependency of mmap_min_addr on CONFIG_SECURITY.
It also sets a default mmap_min_addr of 4096.

mmapping of addresses below 4096 will only be possible for processes
with CAP_SYS_RAWIO.

Signed-off-by: default avatarChristoph Lameter <cl@linux-foundation.org>
Acked-by: default avatarEric Paris <eparis@redhat.com>
Looks-ok-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: default avatarJames Morris <jmorris@namei.org>
parent 7d2948b1
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment