Merge "Statsd: Allow statsd to contact perfprofd in userdebug"
This commit is contained in:
commit
b862c7aeeb
3 changed files with 8 additions and 5 deletions
|
@ -2,3 +2,7 @@ userdebug_or_eng(`
|
|||
typeattribute perfprofd coredomain;
|
||||
init_daemon_domain(perfprofd)
|
||||
')
|
||||
|
||||
# Only servicemanager, statsd, su and systemserver can communicate.
|
||||
neverallow { domain userdebug_or_eng(`-statsd') } perfprofd:binder call;
|
||||
neverallow perfprofd { domain userdebug_or_eng(`-servicemanager -statsd -su -system_server') }:binder call;
|
||||
|
|
|
@ -30,6 +30,9 @@ allow statsd stats_data_file:file create_file_perms;
|
|||
binder_call(statsd, appdomain)
|
||||
binder_call(statsd, healthd)
|
||||
binder_call(statsd, incidentd)
|
||||
userdebug_or_eng(`
|
||||
binder_call(statsd, perfprofd)
|
||||
')
|
||||
binder_call(statsd, statscompanion_service)
|
||||
binder_call(statsd, system_server)
|
||||
|
||||
|
|
|
@ -113,9 +113,5 @@ userdebug_or_eng(`
|
|||
|
||||
# Allow perfprofd to submit to dropbox.
|
||||
allow perfprofd dropbox_service:service_manager find;
|
||||
allow perfprofd system_server:binder call;
|
||||
|
||||
# Only servicemanager, su and systemserver can communicate.
|
||||
neverallow domain perfprofd:binder call;
|
||||
neverallow perfprofd { domain -servicemanager -su -system_server }:binder call;
|
||||
binder_call(perfprofd, system_server)
|
||||
')
|
||||
|
|
Loading…
Reference in a new issue