Merge "snapshotctl: allow to write stats" am: 57ba84c959

Change-Id: I5d58b5864eac3ae6cc653612e2a5e08fe282ae60
This commit is contained in:
Treehugger Robot 2020-02-16 14:28:08 +00:00
commit 67fc52130c

View File

@ -35,6 +35,9 @@ allow snapshotctl self:global_capability_class_set sys_admin;
hwbinder_use(snapshotctl)
hal_client_domain(snapshotctl, hal_bootctl)
# Allow snapshotctl to write to statsd socket.
unix_socket_send(snapshotctl, statsdw, statsd)
# Logging
userdebug_or_eng(`
allow snapshotctl snapshotctl_log_data_file:dir rw_dir_perms;