aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/dex2oat.te
blob: 92fbdb128130658dd42a54c56ac6db1a5a013c44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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;