Merge "Allow composd to delete ART staging files" am: 3a7e19c3d4

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

Change-Id: I792b82b3bdbf0aaf53aac0e82a36dd38b0aa85c0
This commit is contained in:
Treehugger Robot 2022-01-04 11:25:23 +00:00 committed by Automerger Merge Worker
commit 87e317d603

View file

@ -16,6 +16,7 @@ virtualizationservice_use(composd)
# Prepare staging directory for odrefresh # Prepare staging directory for odrefresh
allow composd apex_art_data_file:dir { create_dir_perms relabelfrom }; allow composd apex_art_data_file:dir { create_dir_perms relabelfrom };
allow composd apex_art_staging_data_file:dir { create_dir_perms relabelto }; allow composd apex_art_staging_data_file:dir { create_dir_perms relabelto };
allow composd apex_art_staging_data_file:file { getattr unlink };
# Delete files in the odrefresh target directory # Delete files in the odrefresh target directory
allow composd apex_art_data_file:file unlink; allow composd apex_art_data_file:file unlink;