aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/dmlog.te
diff options
context:
space:
mode:
authorMister Oyster <oysterized@gmail.com>2017-01-02 12:44:35 +0100
committerMister Oyster <oysterized@gmail.com>2017-01-02 12:44:35 +0100
commita184d985bf43d3fe6eeba971bc6b32f79ea38b37 (patch)
tree6f6e56e090777cc149bc1ab39e5987cc2b03e867 /sepolicy/dmlog.te
initial releasecm-13.0
Diffstat (limited to 'sepolicy/dmlog.te')
-rw-r--r--sepolicy/dmlog.te29
1 files changed, 29 insertions, 0 deletions
diff --git a/sepolicy/dmlog.te b/sepolicy/dmlog.te
new file mode 100644
index 0000000..ea8f25a
--- /dev/null
+++ b/sepolicy/dmlog.te
@@ -0,0 +1,29 @@
+# ==============================================
+# Policy File of /system/bin/dmlog Executable File
+
+
+# ==============================================
+# Type Declaration
+# ==============================================
+
+type dmlog_exec , exec_type, file_type;
+type dmlog ,domain;
+
+# ==============================================
+# MTK Policy Rule
+# ==============================================
+
+#permissive dmlog;
+init_daemon_domain(dmlog)
+
+# Date : 2014/09/23
+# Operation : Migration
+# Purpose : for mtk debug mechanism
+allow dmlog aed_device:chr_file read;
+allow dmlog debuggerd:fd use;
+allow dmlog debuggerd:unix_stream_socket { read write };
+allow dmlog expdb_device:chr_file { read write };
+allow dmlog fuse:file { write getattr };
+allow dmlog sysfs:file write;
+allow dmlog aee_exp_data_file:file write;
+allow dmlog platformblk_device:blk_file { read write };