am 5b8abdf6
: Merge "Apply strict SELinux checking of PROT_EXEC on mmap/mprotect calls."
* commit '5b8abdf6278a4142736d918d1371d10c54c91db3': Apply strict SELinux checking of PROT_EXEC on mmap/mprotect calls.
This commit is contained in:
commit
6bec36ecc9
1 changed files with 3 additions and 0 deletions
|
@ -13,6 +13,9 @@ on early-init
|
|||
# Set init and its forked children's oom_adj.
|
||||
write /proc/1/oom_adj -16
|
||||
|
||||
# Apply strict SELinux checking of PROT_EXEC on mmap/mprotect calls.
|
||||
write /sys/fs/selinux/checkreqprot 0
|
||||
|
||||
# Set the security context for the init process.
|
||||
# This should occur before anything else (e.g. ueventd) is started.
|
||||
setcon u:r:init:s0
|
||||
|
|
Loading…
Reference in a new issue