Allow statsd to write to priv app FDs

Bug: 160810755
Test: manual
Change-Id: Idc033ca206855424affa04351f946dda42d087a8
This commit is contained in:
Jeffrey Huang 2021-08-04 13:22:46 -07:00
parent 4dcefe8898
commit 5d5e539bbf

View file

@ -17,7 +17,10 @@ allow statsd {
allow statsd incidentd:fifo_file write;
# Allow StatsCompanionService to pipe data to statsd.
allow statsd system_server:fifo_file { read getattr };
allow statsd system_server:fifo_file { read write getattr };
# Allow Statsd to pipe data to privileged apps.
allow statsd priv_app:fifo_file { read write getattr };
# Allow statsd to retrieve SF statistics over binder
binder_call(statsd, surfaceflinger);