aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/MtkCodecService.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/MtkCodecService.te
initial releasecm-13.0
Diffstat (limited to 'sepolicy/MtkCodecService.te')
-rw-r--r--sepolicy/MtkCodecService.te36
1 files changed, 36 insertions, 0 deletions
diff --git a/sepolicy/MtkCodecService.te b/sepolicy/MtkCodecService.te
new file mode 100644
index 0000000..f373487
--- /dev/null
+++ b/sepolicy/MtkCodecService.te
@@ -0,0 +1,36 @@
+# ==============================================
+# Policy File of /system/bin/MtkCodecService Executable File
+
+
+# ==============================================
+# Type Declaration
+# ==============================================
+
+type MtkCodecService_exec , exec_type, file_type;
+type MtkCodecService ,domain;
+
+
+# ==============================================
+# MTK Policy Rule
+# ==============================================
+
+
+# Date : 2014/09/10
+# Operation : Migration
+# Purpose : allow Binder IPC
+binder_use(MtkCodecService)
+
+# Date :
+# Operation : Migration
+# Purpose : allow Binder IPC
+
+# Date : W14.43
+# Operation : selinux inforce
+# Purpose : for L : add for ape playback
+
+init_daemon_domain(MtkCodecService)
+allow MtkCodecService mediaserver:binder call;
+allow MtkCodecService mediaserver:fd use;
+allow MtkCodecService mtk_codec_service_service:service_manager add;
+allow MtkCodecService self:capability{setuid sys_nice};
+allow MtkCodecService dumpstate:fd use; \ No newline at end of file