aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-24 03:34:40 +0000
committerAndroid Git Automerger <android-git-automerger@android.com>2015-04-24 03:34:40 +0000
commit7058b89f02bc367bc2cd4e9c3ee70404e71cf48c (patch)
tree6413d841ff16f908a34ac0910c40f78cdc2857ed
parent0391820cde1f27515e9fc8f556b72c3922af9d45 (diff)
parent38a82cace581a888c5bc475754a20d8e92992fb2 (diff)
downloadbootable_recovery-7058b89f02bc367bc2cd4e9c3ee70404e71cf48c.zip
bootable_recovery-7058b89f02bc367bc2cd4e9c3ee70404e71cf48c.tar.gz
bootable_recovery-7058b89f02bc367bc2cd4e9c3ee70404e71cf48c.tar.bz2
am 38a82cac: Merge "init re-execs to set its security context now."
* commit '38a82cace581a888c5bc475754a20d8e92992fb2': init re-execs to set its security context now.
-rw-r--r--etc/init.rc7
1 files changed, 0 insertions, 7 deletions
diff --git a/etc/init.rc b/etc/init.rc
index c78a44a..6c07c60 100644
--- a/etc/init.rc
+++ b/etc/init.rc
@@ -1,13 +1,6 @@
import /init.recovery.${ro.hardware}.rc
on early-init
- # 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
-
start ueventd
start healthd