Merge "Allow update_engine to write snapshotctl log data" am: f58e6777b2

Change-Id: I8f67eca8af03b625b71ecee017c5e795cab08f90
This commit is contained in:
Automerger Merge Worker 2020-02-05 18:04:30 +00:00
commit deda3c9203

View file

@ -75,3 +75,10 @@ set_prop(update_engine, ota_prop)
# gsi_metadata_file. We never apply OTAs when GSI is running, so just deny
# the access.
dontaudit update_engine gsi_metadata_file:dir search;
# Allow to write to snapshotctl_log logs.
# TODO(b/148818798) revert when parent bug is fixed.
userdebug_or_eng(`
allow update_engine snapshotctl_log_data_file:dir rw_dir_perms;
allow update_engine snapshotctl_log_data_file:file create_file_perms;
')