Merge "Allow traced_probes to subscribe to statsd atoms" am: c9ff8d010b
Original change: https://android-review.googlesource.com/c/platform/system/sepolicy/+/2501735 Change-Id: I4781ed0ec3bcdeee98c1301f8981e65e44b3e3ed Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
This commit is contained in:
commit
121da8e36f
3 changed files with 5 additions and 1 deletions
|
@ -56,4 +56,5 @@ neverallow {
|
|||
-system_app
|
||||
-system_server
|
||||
-traceur_app
|
||||
-traced_probes
|
||||
} stats_service:service_manager find;
|
||||
|
|
|
@ -100,8 +100,10 @@ hal_client_domain(traced_probes, hal_atrace)
|
|||
# On debug builds allow to ingest system logs into the trace.
|
||||
userdebug_or_eng(`read_logd(traced_probes)')
|
||||
|
||||
# Allow traced_probes to talk to statsd for logging metrics.
|
||||
# Allow traced_probes to talk to statsd for logging metrics and recording atoms.
|
||||
unix_socket_send(traced_probes, statsdw, statsd)
|
||||
binder_call(traced_probes, statsd)
|
||||
allow traced_probes stats_service:service_manager find;
|
||||
|
||||
###
|
||||
### Neverallow rules
|
||||
|
|
|
@ -34,6 +34,7 @@ allow statsd stats_config_data_file:file create_file_perms;
|
|||
binder_call(statsd, appdomain)
|
||||
binder_call(statsd, incidentd)
|
||||
binder_call(statsd, system_server)
|
||||
binder_call(statsd, traced_probes)
|
||||
|
||||
# Allow statsd to interact with gpuservice
|
||||
allow statsd gpu_service:service_manager find;
|
||||
|
|
Loading…
Reference in a new issue