Merge "Allow init to read apex-info-list.xml" am: 945c072d12

Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2093007

Change-Id: I2792bd8e3ecc80b81ad8e7c75cb04160ab322ee9
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
Jooyung Han 2022-05-13 03:13:08 +00:00 committed by Automerger Merge Worker
commit ae70159c94

View file

@ -254,6 +254,10 @@ allow init {
allow init tracefs_type:file { create_file_perms relabelfrom };
# Allow init to read /apex/apex-info-list.xml for preinstalled paths of APEXes to determine
# subcontext for action/service defined in APEXes.
allow init apex_info_file:file r_file_perms;
allow init {
file_type
-app_data_file