Split off ART rules for new ART APEX.

Test: Build & boot
Bug: 135753770
Change-Id: Iab56f6b5bb7a59fbeaad214a64fbd959060574f4
This commit is contained in:
Martin Stjernholm 2019-07-05 22:55:06 +01:00
parent 1abe83ca51
commit 9d9df06aff
4 changed files with 7 additions and 3 deletions

View file

@ -5,7 +5,6 @@
/bin/dex2oat(d)? u:object_r:dex2oat_exec:s0
/bin/dexoptanalyzer(d)? u:object_r:dexoptanalyzer_exec:s0
/bin/profman(d)? u:object_r:profman_exec:s0
/bin/linker(64)? u:object_r:system_linker_exec:s0
/lib(64)?(/.*)? u:object_r:system_lib_file:s0
/bin/art_preinstall_hook(.*)? u:object_r:art_apex_preinstall_exec:s0
/bin/art_postinstall_hook(.*)? u:object_r:art_apex_postinstall_exec:s0

View file

@ -5,5 +5,4 @@
/bin/dex2oat u:object_r:dex2oat_exec:s0
/bin/dexoptanalyzer u:object_r:dexoptanalyzer_exec:s0
/bin/profman u:object_r:profman_exec:s0
/bin/linker(64)? u:object_r:system_linker_exec:s0
/lib(64)?(/.*)? u:object_r:system_lib_file:s0

View file

@ -0,0 +1,6 @@
#############################
# System files
#
(/.*)? u:object_r:system_file:s0
/bin/linker(64)? u:object_r:system_linker_exec:s0
/lib(64)?(/.*)? u:object_r:system_lib_file:s0

View file

@ -180,7 +180,7 @@
# System files
#
/system(/.*)? u:object_r:system_file:s0
/system/apex/com.android.runtime u:object_r:runtime_apex_dir:s0
/system/apex/com.android.art u:object_r:runtime_apex_dir:s0
/system/lib(64)?(/.*)? u:object_r:system_lib_file:s0
/system/lib(64)?/bootstrap(/.*)? u:object_r:system_bootstrap_lib_file:s0
/system/bin/atrace u:object_r:atrace_exec:s0