From 09f79979656ae14dc030099c93140f9d872f3a6d Mon Sep 17 00:00:00 2001 From: Chris Fries Date: Tue, 21 Oct 2014 13:24:22 -0500 Subject: 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 --- init.shamu.rc | 1 + 1 file changed, 1 insertion(+) (limited to 'init.shamu.rc') 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 -- cgit v1.2.3