Merge "Allow Perfetto to log to statsd"
This commit is contained in:
commit
5b43f023dc
1 changed files with 4 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue