Merge "snapshotctl: allow to write stats"

This commit is contained in:
Treehugger Robot 2020-02-16 14:14:51 +00:00 committed by Gerrit Code Review
commit 57ba84c959

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;