aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/dex2oat.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/dex2oat.te
initial releasecm-13.0
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;