2767f9d359
Give statsd rights to connect to perfprofd in userdebug.
(cherry picked from commit 488030ee6f
)
Bug: 73175642
Test: mmma system/extras/perfprofd
Merged-In: Idea0a6b757d1b16ec2e6c8719e24900f1e5518fd
Change-Id: Idea0a6b757d1b16ec2e6c8719e24900f1e5518fd
8 lines
342 B
Text
8 lines
342 B
Text
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;
|