Merge "Allow update_engine to search metadata_file:dir."

This commit is contained in:
Yifan Hong 2020-03-05 16:41:16 +00:00 committed by Gerrit Code Review
commit fe45425667

View File

@ -81,5 +81,6 @@ unix_socket_send(update_engine_common, statsdw, statsd)
get_prop(update_engine_common, virtual_ab_prop)
# Allow to read/write/create OTA metadata files for snapshot status and COW file status.
allow update_engine_common metadata_file:dir search;
allow update_engine_common ota_metadata_file:dir rw_dir_perms;
allow update_engine_common ota_metadata_file:file create_file_perms;