aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/thermal.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/thermal.te')
-rw-r--r--sepolicy/thermal.te33
1 files changed, 33 insertions, 0 deletions
diff --git a/sepolicy/thermal.te b/sepolicy/thermal.te
new file mode 100644
index 0000000..f35bfcc
--- /dev/null
+++ b/sepolicy/thermal.te
@@ -0,0 +1,33 @@
+# ==============================================
+# Policy File of /system/binthermal Executable File
+
+
+# ==============================================
+# Type Declaration
+# ==============================================
+
+type thermal_exec , exec_type, file_type;
+type thermal ,domain;
+
+# ==============================================
+# Android Policy Rule
+# ==============================================
+
+# ==============================================
+# NSA Policy Rule
+# ==============================================
+
+# ==============================================
+# MTK Policy Rule
+# ==============================================
+
+init_daemon_domain(thermal)
+
+allow thermal mtkrild:unix_stream_socket connectto;
+allow thermal proc_thermal:dir search;
+allow thermal proc_thermal:file { read write open };
+allow thermal rild_oem_socket:sock_file write;
+allow thermal netd_socket:sock_file write;
+allow thermal netd:unix_stream_socket connectto;
+
+