aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/dex2oat.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/dex2oat.te')
-rw-r--r--sepolicy/dex2oat.te29
1 files changed, 29 insertions, 0 deletions
diff --git a/sepolicy/dex2oat.te b/sepolicy/dex2oat.te
new file mode 100644
index 0000000..92fbdb1
--- /dev/null
+++ b/sepolicy/dex2oat.te
@@ -0,0 +1,29 @@
+# ==============================================
+# MTK Policy Rule
+# ==============================================
+
+# Date : WK14.34
+# Operation : Migration
+# Purpose : 6571/6572 LCA external memory access(/dev/exm0)
+allow dex2oat exm0_device:chr_file { read write ioctl open };
+
+# Date : WK14.36
+# Operation : Migration
+# Purpose : for CIP project (access /custom partition)
+allow dex2oat custom_file:dir { search getattr };
+allow dex2oat custom_file:file { getattr read open };
+
+# Date : WK14.38
+# Operation : Sanity Test
+# Purpose : avoid SELinux warning after dex2oat execv failed
+allow dex2oat dex2oat_exec:file x_file_perms;
+
+# Date : WK15.03
+# Operation : MTBF Test
+# Purpose : for K35V1_64_OP02 project MTBF test (ALPS01905764)
+allow dex2oat platform_app:fd use;
+
+# Date : WK15.04
+# Operation : MTBF Test
+# Purpose : for K35V1_64_OP02 project MTBF test (ALPS01920449)
+allow dex2oat platform_app_tmpfs:file write;