aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/muxreport.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/muxreport.te')
-rw-r--r--sepolicy/muxreport.te25
1 files changed, 25 insertions, 0 deletions
diff --git a/sepolicy/muxreport.te b/sepolicy/muxreport.te
new file mode 100644
index 0000000..159ff71
--- /dev/null
+++ b/sepolicy/muxreport.te
@@ -0,0 +1,25 @@
+# ==============================================
+# Policy File of /system/binmuxreport Executable File
+
+
+# ==============================================
+# Type Declaration
+# ==============================================
+
+type muxreport_exec , exec_type, file_type;
+type muxreport ,domain;
+
+# ==============================================
+# MTK Policy Rule
+# ==============================================
+
+#permissive muxreport;
+init_daemon_domain(muxreport)
+allow muxreport ccci_device:chr_file { read write ioctl open };
+allow muxreport ril_mux_report_case_prop:property_service set;
+allow muxreport init:unix_stream_socket connectto;
+allow muxreport property_socket:sock_file write;
+allow muxreport devpts:chr_file { read write getattr ioctl };
+allow muxreport self:capability dac_override;
+allow muxreport eemcs_device:chr_file { read write ioctl open };
+allow muxreport emd_device:chr_file { read write open };