platform_system_sepolicy/private/perfprofd.te
Tri Vo dac2a4a3a4 Sepolicy for system suspend HAL.
Bug: 78888165
Test: device can boot with HAL running.
Change-Id: I3bf7c8203e038b892176c97ec006152a2904c7be
2018-08-13 17:26:34 -07:00

15 lines
429 B
Text

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;