diff options
| author | Elliott Hughes <enh@google.com> | 2015-04-22 18:39:58 -0700 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2015-04-23 15:20:51 -0700 |
| commit | adf0d1bbfa4bc560c2106f14afa8258a11c48bf6 (patch) | |
| tree | ffce4af31f881404111a124dc858d21996bfbfcb /rootdir | |
| parent | 876881b22ad5d735cdb3ae2ac1afa6c336378808 (diff) | |
| download | core-adf0d1bbfa4bc560c2106f14afa8258a11c48bf6.tar.gz core-adf0d1bbfa4bc560c2106f14afa8258a11c48bf6.tar.bz2 core-adf0d1bbfa4bc560c2106f14afa8258a11c48bf6.zip | |
Make init re-exec itself for its SELinux domain transition.
Change-Id: I38adabe5789d671e3f7d21936071a758ec8cea8a
Diffstat (limited to 'rootdir')
| -rw-r--r-- | rootdir/init.rc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc index a5ea60aaa..4d9c4f3f3 100644 --- a/rootdir/init.rc +++ b/rootdir/init.rc @@ -14,13 +14,6 @@ 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 - # Set the security context of /adb_keys if present. restorecon /adb_keys |
