aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-24 03:27:53 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2015-04-24 03:27:53 +0000
commit38a82cace581a888c5bc475754a20d8e92992fb2 (patch)
tree6413d841ff16f908a34ac0910c40f78cdc2857ed
parent0de2351e6a6be685e1d68661dcf5f4902898cacd (diff)
parentc57453d5377a13445c4b1d3f73c0e0ab19aa0c1e (diff)
downloadbootable_recovery-38a82cace581a888c5bc475754a20d8e92992fb2.zip
bootable_recovery-38a82cace581a888c5bc475754a20d8e92992fb2.tar.gz
bootable_recovery-38a82cace581a888c5bc475754a20d8e92992fb2.tar.bz2
Merge "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