Skip to content
Snippets Groups Projects
  • Stephen Smalley's avatar
    e6a7b37d
    Restrict mapping low memory. · e6a7b37d
    Stephen Smalley authored
    
    Label /proc/sys/vm/mmap_min_addr with proc_security to prevent
    writing it by any domain other than init.  Also remove memprotect
    mmap_zero permission from unconfineddomain so that it cannot pass
    the SELinux check over mapping low memory.
    
    Change-Id: Idc189feeb325a4aea26c93396fd0fa7225e79586
    Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>
    e6a7b37d
    History
    Restrict mapping low memory.
    Stephen Smalley authored
    
    Label /proc/sys/vm/mmap_min_addr with proc_security to prevent
    writing it by any domain other than init.  Also remove memprotect
    mmap_zero permission from unconfineddomain so that it cannot pass
    the SELinux check over mapping low memory.
    
    Change-Id: Idc189feeb325a4aea26c93396fd0fa7225e79586
    Signed-off-by: default avatarStephen Smalley <sds@tycho.nsa.gov>