Merge "Allow statsd to read file descriptors from any app" into main
This commit is contained in:
commit
bfcc43e84e
1 changed files with 5 additions and 2 deletions
|
@ -19,8 +19,11 @@ allow statsd incidentd:fifo_file write;
|
||||||
# Allow StatsCompanionService to pipe data to statsd.
|
# Allow StatsCompanionService to pipe data to statsd.
|
||||||
allow statsd system_server:fifo_file { read write getattr };
|
allow statsd system_server:fifo_file { read write getattr };
|
||||||
|
|
||||||
# Allow Statsd to pipe data to privileged apps.
|
# Allow any app to pipe data to statsd.
|
||||||
allow statsd priv_app:fifo_file { read write getattr };
|
# Access control to all statsd APIs inherit from system_api_service, so
|
||||||
|
# appdomain permissions are granted to avoid listing each individual
|
||||||
|
# service that can access system_api_service.
|
||||||
|
allow statsd appdomain:fifo_file { read write getattr };
|
||||||
|
|
||||||
# Allow statsd to retrieve SF statistics over binder
|
# Allow statsd to retrieve SF statistics over binder
|
||||||
binder_call(statsd, surfaceflinger);
|
binder_call(statsd, surfaceflinger);
|
||||||
|
|
Loading…
Reference in a new issue