summaryrefslogtreecommitdiff
path: root/sepolicy/thermal-engine.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/thermal-engine.te')
-rw-r--r--sepolicy/thermal-engine.te6
1 files changed, 6 insertions, 0 deletions
diff --git a/sepolicy/thermal-engine.te b/sepolicy/thermal-engine.te
new file mode 100644
index 0000000..0e03308
--- /dev/null
+++ b/sepolicy/thermal-engine.te
@@ -0,0 +1,6 @@
+allow thermal-engine thermal_data_file:dir rw_dir_perms;
+allow thermal-engine thermal_data_file:file create_file_perms;
+allow thermal-engine self:capability { chown fowner };
+dontaudit thermal-engine self:capability dac_override;
+
+set_prop(thermal-engine, thermal_engine_prop);