aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/thermald.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/thermald.te')
-rw-r--r--sepolicy/thermald.te35
1 files changed, 35 insertions, 0 deletions
diff --git a/sepolicy/thermald.te b/sepolicy/thermald.te
new file mode 100644
index 0000000..6d7ec00
--- /dev/null
+++ b/sepolicy/thermald.te
@@ -0,0 +1,35 @@
+# ==============================================
+# Policy File of /system/binthermald Executable File
+
+
+# ==============================================
+# Type Declaration
+# ==============================================
+
+type thermald_exec , exec_type, file_type;
+type thermald ,domain;
+
+# ==============================================
+# Android Policy Rule
+# ==============================================
+
+# ==============================================
+# NSA Policy Rule
+# ==============================================
+
+# ==============================================
+# MTK Policy Rule
+# ==============================================
+
+init_daemon_domain(thermald)
+
+# Date : WK14.39
+# Operation : SQC
+# Purpose : for thermal management to shutdown the phone
+binder_use(thermald)
+allow thermald proc_thermal:dir search;
+allow thermald proc_thermal:file { read getattr open write };
+allow thermald system_server:binder call;
+
+
+