Merge "[SfStats] sepolicy for SfStats' global puller"
This commit is contained in:
commit
41a1b4af9c
3 changed files with 8 additions and 0 deletions
|
@ -47,6 +47,7 @@ neverallow {
|
|||
-shell
|
||||
-stats
|
||||
-statsd
|
||||
-surfaceflinger
|
||||
-system_app
|
||||
-system_server
|
||||
-traceur_app
|
||||
|
|
|
@ -19,3 +19,6 @@ allow statsd incidentd:fifo_file write;
|
|||
|
||||
# Allow StatsCompanionService to pipe data to statsd.
|
||||
allow statsd system_server:fifo_file { read getattr };
|
||||
|
||||
# Allow statsd to retrieve SF statistics over binder
|
||||
binder_call(statsd, surfaceflinger);
|
||||
|
|
|
@ -114,6 +114,10 @@ pdx_server(surfaceflinger, display_vsync)
|
|||
pdx_client(surfaceflinger, bufferhub_client)
|
||||
pdx_client(surfaceflinger, performance_client)
|
||||
|
||||
# Allow supplying timestats statistics to statsd
|
||||
allow surfaceflinger stats_service:service_manager find;
|
||||
binder_call(surfaceflinger, statsd);
|
||||
|
||||
###
|
||||
### Neverallow rules
|
||||
###
|
||||
|
|
Loading…
Reference in a new issue