Merge "Allow statsd to write to priv app FDs" am: 47ff63e60e am: 6a13e5bbce am: 6c4251d006

Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/1786611

Change-Id: I6b8d1b52ebf69579d9eb5473c7d0e58125ee9791
This commit is contained in:
Jeffrey Huang 2021-10-29 16:55:00 +00:00 committed by Automerger Merge Worker
commit 2855cfa52a

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);