Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 88d040a3 authored by Nick Kralevich's avatar Nick Kralevich Committed by Android Git Automerger
Browse files

am 3df76c0c: am 6bec36ec: am 5b8abdf6: Merge "Apply strict SELinux checking of...

am 3df76c0c: am 6bec36ec: am 5b8abdf6: Merge "Apply strict SELinux checking of PROT_EXEC on mmap/mprotect calls."

* commit '3df76c0c':
  Apply strict SELinux checking of PROT_EXEC on mmap/mprotect calls.
parents 764daa33 3df76c0c
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -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