diff options
author | Nick Kralevich <nnk@google.com> | 2014-01-02 21:08:36 +0000 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2014-01-02 21:08:36 +0000 |
commit | cb1f0147d729d1a3e9b4898ea98de3e6761233e4 (patch) | |
tree | b7ee1a5bb55a036b72cd0aaf95ee49f06328cc83 /rootdir | |
parent | dab375bcba96315af1e388dcaa9c9b92c4a81248 (diff) | |
parent | 88d040a32feac727a7e11658198c32d9cc563d8e (diff) | |
download | system_core-cb1f0147d729d1a3e9b4898ea98de3e6761233e4.zip system_core-cb1f0147d729d1a3e9b4898ea98de3e6761233e4.tar.gz system_core-cb1f0147d729d1a3e9b4898ea98de3e6761233e4.tar.bz2 |
am 88d040a3: am 3df76c0c: am 6bec36ec: am 5b8abdf6: Merge "Apply strict SELinux checking of PROT_EXEC on mmap/mprotect calls."
* commit '88d040a32feac727a7e11658198c32d9cc563d8e':
Apply strict SELinux checking of PROT_EXEC on mmap/mprotect calls.
Diffstat (limited to 'rootdir')
-rw-r--r-- | rootdir/init.rc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index b2b904b..5aae3fb 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -13,6 +13,9 @@ on early-init # Set init and its forked children's oom_adj. write /proc/1/oom_score_adj -1000 + # 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 |