aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-04-23 20:26:56 -0700
committerElliott Hughes <enh@google.com>2015-04-23 20:26:56 -0700
commitc57453d5377a13445c4b1d3f73c0e0ab19aa0c1e (patch)
tree6413d841ff16f908a34ac0910c40f78cdc2857ed /etc
parent0de2351e6a6be685e1d68661dcf5f4902898cacd (diff)
downloadbootable_recovery-c57453d5377a13445c4b1d3f73c0e0ab19aa0c1e.zip
bootable_recovery-c57453d5377a13445c4b1d3f73c0e0ab19aa0c1e.tar.gz
bootable_recovery-c57453d5377a13445c4b1d3f73c0e0ab19aa0c1e.tar.bz2
init re-execs to set its security context now.
Change-Id: I0a014f8dddfe775159903b5d6fa632733fef692c
Diffstat (limited to 'etc')
-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