Allows StatsCompanionService to pipe data to statsd.

This fixes presubmit failures for
[1] https://googleplex-android-review.git.corp.google.com/c/platform/frameworks/base/+/7555609/8
Presubmit failure before the CL:
https://android-build.googleplex.com/builds/where-is-my-cl/googleplex-android-review/7555609?revision=9&workplanId=L35600000315868357

Test: Created the same CL in internal master (https://googleplex-android-review.git.corp.google.com/c/platform/system/sepolicy/+/7622337) and put it under the same
topic as [1]. Presubmit passes now:
https://android-build.googleplex.com/builds/where-is-my-cl/googleplex-android-review/7622337?revision=4&workplanId=L42800000317195093

Change-Id: I9e5f0a9d501a6728af3f27241300b3bb5c5c2123
This commit is contained in:
Max Dashouk 2019-05-17 13:12:36 -07:00
parent 5dda7f70db
commit febfa8f22d

View file

@ -18,3 +18,6 @@ allow statsd {
# Allow incidentd to obtain the statsd incident section. # Allow incidentd to obtain the statsd incident section.
allow statsd incidentd:fifo_file write; allow statsd incidentd:fifo_file write;
# Allow StatsCompanionService to pipe data to statsd.
allow statsd system_server:fifo_file { read getattr };