summaryrefslogtreecommitdiffstats
path: root/rootdir/init.rc
diff options
context:
space:
mode:
authorNick Kralevich <nnk@google.com>2014-07-08 12:41:16 -0700
committerNick Kralevich <nnk@google.com>2014-07-08 12:41:16 -0700
commita1d97e5d1c15e0adf40b5853f2f85db7008baa77 (patch)
tree2c512f4d24077978775c371bcbf84c96bec2c34f /rootdir/init.rc
parent9f3a11edde07af068217581cf11c004f1cdca3f0 (diff)
downloadsystem_core-a1d97e5d1c15e0adf40b5853f2f85db7008baa77.tar.gz
system_core-a1d97e5d1c15e0adf40b5853f2f85db7008baa77.tar.bz2
system_core-a1d97e5d1c15e0adf40b5853f2f85db7008baa77.zip
init.rc: add seclabel to flash_recovery
Make sure flash_recovery is always running in the install_recovery SELinux domain. Change-Id: I9495eedd03f6b5dfcf2e78c03d1102f6032b327a
Diffstat (limited to 'rootdir/init.rc')
-rw-r--r--rootdir/init.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index b3ccae1aa..153cdcf44 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -612,6 +612,7 @@ service installd /system/bin/installd
service flash_recovery /system/bin/install-recovery.sh
class main
+ seclabel u:r:install_recovery:s0
oneshot
service racoon /system/bin/racoon