summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuK1337 <priv.luk@gmail.com>2018-02-28 09:53:30 +0000
committerMichael Bestas <mkbestas@lineageos.org>2018-04-20 18:51:35 +0300
commit4504f04ea69d7f712fbb9f18eee9e50dc1f4a97a (patch)
treeb228f42e78cdcc690309051136c2d0af0c9cb7b3
parent4dd1cb231b59d848b744c7e37d4879a577b70ef9 (diff)
downloadandroid_device_qcom_sepolicy-4504f04ea69d7f712fbb9f18eee9e50dc1f4a97a.tar.gz
android_device_qcom_sepolicy-4504f04ea69d7f712fbb9f18eee9e50dc1f4a97a.tar.bz2
android_device_qcom_sepolicy-4504f04ea69d7f712fbb9f18eee9e50dc1f4a97a.zip
legacy: Allow thermal-engine to read sysfs_spmi_dev
Change-Id: I11b65ea2a853b7b71652ef8bc4447bc554a8393a
-rw-r--r--legacy-common/thermal-engine.te2
1 files changed, 2 insertions, 0 deletions
diff --git a/legacy-common/thermal-engine.te b/legacy-common/thermal-engine.te
index c320b8e4..5185e6eb 100644
--- a/legacy-common/thermal-engine.te
+++ b/legacy-common/thermal-engine.te
@@ -1,2 +1,4 @@
# Label the thermal sockets correctly
type_transition thermal-engine socket_device:sock_file thermal_socket;
+
+r_dir_file(thermal-engine, sysfs_spmi_dev)