Merge "snapshotctl: allow to write stats" am: 57ba84c959 am: 67fc52130c am: 6ade1f9380

Change-Id: I5df6145664a4e552a0ea3ede7f4db0ad3e27750b
This commit is contained in:
Treehugger Robot 2020-02-17 10:12:37 +00:00
commit 6e3051f212

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;