Skip to content

Commit 7028de1

Browse files
author
android-build-team Robot
committed
Snap for 6703926 from 0bee120 to rvc-qpr1-release
Change-Id: Id30fef085c4667f6b7f60514a31517334fe38d7e
2 parents e4a0ed6 + 0bee120 commit 7028de1

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

prebuilts/api/30.0/private/coredomain.te

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ full_treble_only(`
2222
coredomain
2323
-appdomain
2424
-dex2oat
25+
-dexoptanalyzer
2526
-idmap
2627
-init
2728
-installd
@@ -38,6 +39,7 @@ full_treble_only(`
3839
coredomain
3940
-appdomain
4041
-dex2oat
42+
-dexoptanalyzer
4143
-idmap
4244
-init
4345
-installd

prebuilts/api/30.0/private/dexoptanalyzer.te

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ type dexoptanalyzer, domain, coredomain, mlstrustedsubject;
33
type dexoptanalyzer_exec, system_file_type, exec_type, file_type;
44
type dexoptanalyzer_tmpfs, file_type;
55

6+
r_dir_file(dexoptanalyzer, apk_data_file)
7+
# Access to /vendor/app
8+
r_dir_file(dexoptanalyzer, vendor_app_file)
9+
610
# Reading an APK opens a ZipArchive, which unpack to tmpfs.
711
# Use tmpfs_domain() which will give tmpfs files created by dexoptanalyzer their
812
# own label, which differs from other labels created by other processes.

private/coredomain.te

+2
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ full_treble_only(`
2222
coredomain
2323
-appdomain
2424
-dex2oat
25+
-dexoptanalyzer
2526
-idmap
2627
-init
2728
-installd
@@ -38,6 +39,7 @@ full_treble_only(`
3839
coredomain
3940
-appdomain
4041
-dex2oat
42+
-dexoptanalyzer
4143
-idmap
4244
-init
4345
-installd

private/dexoptanalyzer.te

+4
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@ type dexoptanalyzer, domain, coredomain, mlstrustedsubject;
33
type dexoptanalyzer_exec, system_file_type, exec_type, file_type;
44
type dexoptanalyzer_tmpfs, file_type;
55

6+
r_dir_file(dexoptanalyzer, apk_data_file)
7+
# Access to /vendor/app
8+
r_dir_file(dexoptanalyzer, vendor_app_file)
9+
610
# Reading an APK opens a ZipArchive, which unpack to tmpfs.
711
# Use tmpfs_domain() which will give tmpfs files created by dexoptanalyzer their
812
# own label, which differs from other labels created by other processes.

0 commit comments

Comments
 (0)