From c57453d5377a13445c4b1d3f73c0e0ab19aa0c1e Mon Sep 17 00:00:00 2001 From: Elliott Hughes Date: Thu, 23 Apr 2015 20:26:56 -0700 Subject: init re-execs to set its security context now. Change-Id: I0a014f8dddfe775159903b5d6fa632733fef692c --- etc/init.rc | 7 ------- 1 file changed, 7 deletions(-) (limited to 'etc') 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 -- cgit v1.1