2015-04-30 21:27:36 +02:00
|
|
|
userdebug_or_eng(`
|
2017-03-24 17:30:19 +01:00
|
|
|
typeattribute perfprofd coredomain;
|
2015-04-30 21:27:36 +02:00
|
|
|
init_daemon_domain(perfprofd)
|
2016-12-10 05:14:31 +01:00
|
|
|
')
|
2018-01-30 18:48:35 +01:00
|
|
|
|
|
|
|
# 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;
|