summaryrefslogtreecommitdiffstats
path: root/rootdir
diff options
context:
space:
mode:
authorStephen Smalley <sds@tycho.nsa.gov>2013-12-23 14:11:02 -0500
committerStephen Smalley <sds@tycho.nsa.gov>2013-12-23 14:11:44 -0500
commit610653fe930d016e1d962661c4fcbe2a8747e5ac (patch)
treee371962cbab41db0c6f77e46ac00178d178b75fa /rootdir
parentcd8b953ede50f68dff5ea049e72aee130dc4a3cb (diff)
downloadsystem_core-610653fe930d016e1d962661c4fcbe2a8747e5ac.zip
system_core-610653fe930d016e1d962661c4fcbe2a8747e5ac.tar.gz
system_core-610653fe930d016e1d962661c4fcbe2a8747e5ac.tar.bz2
Run the console service shell in the shell domain.
This allows it to be permissive in userdebug/eng builds but confined/enforcing in user builds. Change-Id: Ie322eaa0acdbefea2de4e71ae386778c929d042b Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov>
Diffstat (limited to 'rootdir')
-rw-r--r--rootdir/init.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/rootdir/init.rc b/rootdir/init.rc
index 9706c89..56e0d92 100644
--- a/rootdir/init.rc
+++ b/rootdir/init.rc
@@ -431,6 +431,7 @@ service console /system/bin/sh
disabled
user shell
group log
+ seclabel u:r:shell:s0
on property:ro.debuggable=1
start console