platform_system_sepolicy/private/perfprofd.te
Yifan Hong 65c568d0dd perfprofd: talk to health HAL.
Test: perfprofd tests
Bug: 110890430
Change-Id: I0f7476d76b8d35b6b48fe6b77544ca8ccc71534d
2018-07-17 11:37:26 -07:00

8 lines
458 B
Text

userdebug_or_eng(`
typeattribute perfprofd coredomain;
init_daemon_domain(perfprofd)
')
# Only servicemanager, statsd, su, systemserver, hwservicemanager, health HAL can communicate.
neverallow { domain userdebug_or_eng(`-statsd -system_server -hal_health_server -hwservicemanager') } perfprofd:binder call;
neverallow perfprofd { domain userdebug_or_eng(`-servicemanager -statsd -su -system_server -hal_health_server -hwservicemanager') }:binder call;