Merge "Allow Perfetto to log to statsd"

This commit is contained in:
Hector Dearman 2019-11-04 13:04:11 +00:00 committed by Gerrit Code Review
commit 5b43f023dc

View file

@ -34,9 +34,12 @@ allow perfetto { statsd shell su }:fifo_file { getattr read write };
allow perfetto adbd:fd use;
allow perfetto adbd:unix_stream_socket { read write };
# Allow adbd to reap perfetto
# Allow adbd to reap perfetto.
allow perfetto adbd:process { sigchld };
# Allow perfetto to write to statsd.
unix_socket_send(perfetto, statsdw, statsd)
# Allow to access /dev/pts when launched in an adb shell.
allow perfetto devpts:chr_file rw_file_perms;