summaryrefslogtreecommitdiff
path: root/init.mako.rc
diff options
context:
space:
mode:
authorRobert Craig <rpcraig@tycho.ncsc.mil>2014-05-05 10:08:25 -0400
committerRobert Craig <rpcraig@tycho.ncsc.mil>2014-05-05 11:22:25 -0400
commit87391e81b16c348c20906a2704b9edcaff1b4b3b (patch)
tree30ded01c49b7e585f9de7b552aaf46cf411f59b3 /init.mako.rc
parent1905c0e6e90b11663822890f2e839b4f516a17db (diff)
downloadmako-87391e81b16c348c20906a2704b9edcaff1b4b3b.tar.gz
SELinux: Add system group to thermald to avoid dac_override denial.
Change helps resolve the following denial. avc: denied { dac_override } for capability=1 scontext=u:r:thermald:s0 tcontext=u:r:thermald:s0 tclass=capability A similar change already exists for the hammerhead policy. Future changes might need to be added here to accommodate additional dac_override denials that might happen beyond this change. Consult hammerhead change Ied2293d9effb1b2d9e043e01c08b5e7be407c868 for some additional insight. Change-Id: Ifdf82ac0a18b50690f55d7f3ba8565777e6612e4 Signed-off-by: rpcraig <rpcraig@tycho.ncsc.mil>
Diffstat (limited to 'init.mako.rc')
-rw-r--r--init.mako.rc2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.mako.rc b/init.mako.rc
index 5b4ce24..f8ea748 100644
--- a/init.mako.rc
+++ b/init.mako.rc
@@ -377,7 +377,7 @@ service sdcard /system/bin/sdcard -u 1023 -g 1023 -l /data/media /mnt/shell/emul
service thermald /system/bin/thermald
class main
- group radio
+ group radio system
service mpdecision /system/bin/mpdecision --no_sleep --avg_comp
class main