aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/md_ctrl.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/md_ctrl.te')
-rwxr-xr-xsepolicy/md_ctrl.te23
1 files changed, 23 insertions, 0 deletions
diff --git a/sepolicy/md_ctrl.te b/sepolicy/md_ctrl.te
new file mode 100755
index 0000000..b286493
--- /dev/null
+++ b/sepolicy/md_ctrl.te
@@ -0,0 +1,23 @@
+# ==============================================
+# Policy File of /system/bin/md_ctrl Executable File
+
+# ==============================================
+# Type Declaration
+# ==============================================
+type md_ctrl, domain;
+type md_ctrl_exec, exec_type, file_type;
+
+# ==============================================
+# MTK Policy Rule
+# ==============================================
+# Date : WK14.46
+# Operation : Migration
+# Purpose : Start md_ctrl
+
+init_daemon_domain(md_ctrl)
+allow md_ctrl ccci_device:chr_file { read write ioctl open };
+allow md_ctrl devpts:chr_file { read write getattr open ioctl };
+allow md_ctrl muxreport_exec:file { read execute open execute_no_trans };
+allow md_ctrl self:capability dac_override;
+allow md_ctrl emd_device:chr_file { read write open };
+