aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/MtkCodecService.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/MtkCodecService.te')
-rwxr-xr-xsepolicy/MtkCodecService.te36
1 files changed, 36 insertions, 0 deletions
diff --git a/sepolicy/MtkCodecService.te b/sepolicy/MtkCodecService.te
new file mode 100755
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