Merge "Allow statsd to write stats log events to perfd(running as shell) via pipes."

am: 2ec03cb5cb

Change-Id: Ie9f3f66cedc3628a045ed467cb70970969d7877c
This commit is contained in:
Yao Chen 2018-12-19 18:39:55 -08:00 committed by android-build-merger
commit d31cae1585

View file

@ -66,7 +66,7 @@ hal_client_domain(statsd, hal_thermal)
# Allow 'adb shell cmd' to upload configs and download output. # Allow 'adb shell cmd' to upload configs and download output.
allow statsd adbd:fd use; allow statsd adbd:fd use;
allow statsd adbd:unix_stream_socket { getattr read write }; allow statsd adbd:unix_stream_socket { getattr read write };
allow statsd shell:fifo_file { getattr read }; allow statsd shell:fifo_file { getattr read write };
unix_socket_send(statsd, statsdw, statsd) unix_socket_send(statsd, statsdw, statsd)