summaryrefslogtreecommitdiff
path: root/init.shamu.rc
diff options
context:
space:
mode:
authorChris Fries <cfries@motorola.com>2014-10-21 13:24:22 -0500
committerVineeta Srivastava <vsrivastava@google.com>2014-10-21 19:01:30 +0000
commit09f79979656ae14dc030099c93140f9d872f3a6d (patch)
tree134e4585659267d934e0f3f22baf8fe78d4a6722 /init.shamu.rc
parentebf987d8c817b32e863c172b1d09a6659df1f7de (diff)
downloadshamu-09f79979656ae14dc030099c93140f9d872f3a6d.tar.gz
init.shamu.rc: Give "log" group to charger service
[ 2.916928] type=1400 audit(697947.599:4): avc: denied { dac_override } for pid=215 comm="charger" capability=1 scontext=u:r:healthd:s0 tcontext=u:r:healthd:s0 tclass=capability permissive=0 [ 2.916953] type=1400 audit(697947.599:5): avc: denied { dac_read_search } for pid=215 comm="charger" capability=2 scontext=u:r:healthd:s0 tcontext=u:r:healthd:s0 tclass=capability permissive=0 Address these logs when booting into charger mode. Bug: 18044677 Change-Id: Iae67544ba885f4e332eb535823f497ba5207e944
Diffstat (limited to 'init.shamu.rc')
-rw-r--r--init.shamu.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/init.shamu.rc b/init.shamu.rc
index e5b5afbd..e4d73957 100644
--- a/init.shamu.rc
+++ b/init.shamu.rc
@@ -513,6 +513,7 @@ on charger
service charger /charger
class charger
+ group log
seclabel u:r:healthd:s0
# Allow usb charging to be disabled peristently