summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPIPIPIG233666 <pig.priv@gmail.com>2020-01-02 19:28:47 +0100
committerMichael Bestas <mkbestas@lineageos.org>2020-04-30 00:48:53 +0300
commit8917c7f6bfa975c9e4f60056c7bfa60dd2b8f072 (patch)
tree686354b5f47936e6d3333ecb5860ff9b7c5ada9f
parentac69b5cccff2b4769e1ad12d4428de4748138285 (diff)
sdm660-common: Address thermal-engine denials
Change-Id: I7d824f1066638ec6e73ae80093737b380436ba80
-rw-r--r--sepolicy/vendor/thermal-engine.te4
1 files changed, 4 insertions, 0 deletions
diff --git a/sepolicy/vendor/thermal-engine.te b/sepolicy/vendor/thermal-engine.te
index 0e03308..00922f8 100644
--- a/sepolicy/vendor/thermal-engine.te
+++ b/sepolicy/vendor/thermal-engine.te
@@ -4,3 +4,7 @@ allow thermal-engine self:capability { chown fowner };
dontaudit thermal-engine self:capability dac_override;
set_prop(thermal-engine, thermal_engine_prop);
+
+r_dir_file(thermal-engine sysfs_devfreq)
+r_dir_file(thermal-engine sysfs_graphics)
+r_dir_file(thermal-engine sysfs_thermal)