blob: dfe4c3c32d662614e2acd36dc3b3d77402efa861 [file] [log] [blame]
userdebug_or_eng(`
typeattribute perfprofd coredomain;
init_daemon_domain(perfprofd)
')
neverallow {
domain
-hal_system_suspend_server
userdebug_or_eng(`-statsd -system_server -hal_health_server -hwservicemanager')
} perfprofd:binder call;
neverallow perfprofd {
domain
-hal_system_suspend_server
userdebug_or_eng(`-servicemanager -statsd -su -system_server -hal_health_server -hwservicemanager')
}:binder call;