Fix benign statsd selinux violations

These two selinux policy violations keep showing up from statsd's CTS
tests, although statsd and the CTS test seemed to function fine despite
them. Nonetheless, they seem reasonable to add to the list.

Bug: 73548694
Test: N/A. It didn't seem to be causing any issues in the first place.
Change-Id: Id36c5229c0d7de83675166caeb07c87b719dc374
This commit is contained in:
Bookatz 2018-02-23 12:54:13 -08:00
parent 869562e9e3
commit c9f205b56a

View file

@ -74,8 +74,8 @@ hal_client_domain(statsd, hal_power)
# Allow 'adb shell cmd' to upload configs and download output.
allow statsd adbd:fd use;
allow statsd adbd:unix_stream_socket { read write };
allow statsd shell:fifo_file read;
allow statsd adbd:unix_stream_socket { getattr read write };
allow statsd shell:fifo_file { getattr read };
###
### neverallow rules