aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/zygote.te
blob: 2d4a7ae637457c1d82d40cf6ed2af54e946bd6c1 (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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
# ==============================================
# MTK Policy Rule
# ==============================================


# Date : WK14.31
# Operation : Migration 
# Purpose : for MTK boot performance profiling, for access /proc/bootprof
allow zygote devmap_device:chr_file { read ioctl open };
allow zygote proc:file write;

# Date : WK14.34
# Operation : Migration 
# Purpose : 6571/6572 LCA external memory access(/dev/exm0)
allow zygote exm0_device:chr_file { read write ioctl open };

# Date : WK14.34
# Operation : Migration 
# Purpose : for CIP project (access /custom partition)
allow zygote custom_file:dir rw_dir_perms;
allow zygote custom_file:file create_file_perms;

# Date : WK14.34
# Operation : Migration 
# Purpose : for untrusted app to use ptrace (e.g. 360Mobile, taobao)
dontaudit zygote untrusted_app:process ptrace;

# Date : WK14.43
# Operation : Migration 
# Purpose : for dump hprof when OOME
allow zygote anr_data_file:dir *;

# Date : WK14.43
# Operation : SQC2
# Purpose : found in FST Auto Test (ALPS01774709)
allow zygote platform_app:fd use;

# Date : WK14.44
# Operation : SQC
# Purpose : found in WLAN test (ALPS01784932)
allow zygote platform_app_tmpfs:file write;

# Date : WK14.46
# Operation : SQC
# Purpose : found in sanity test (ALPS01825280)
allow zygote servicemanager:binder call;

# Date : WK14.49
# Operation : SQC
# Purpose : for isolated_app to use fd (ex: share image by gmail)
allow zygote isolated_app:fd use;

# Date : WK15.02
# Operation : SQC
# Purpose : for Chrome search (ALPS01897864)
allow zygote isolated_app_tmpfs:file write;

# Date : WK15.02
# Operation : SQC
# Purpose : for "theScore Sports & Scores" app to play video(ALPS01897019)
allow zygote untrusted_app:fd use;

# Date : WK15.03
# Operation : SQC
# Purpose : for FB webpage loading
allow zygote untrusted_app_tmpfs:file write;

# Date : WK15.08
# Operation : SQC
# Purpose : for TTLIA
allow zygote radio:fd use;
allow zygote radio_tmpfs:file create_file_perms;