2017-12-11 16:19:23 -08:00
|
|
|
type traceur_app, domain;
|
|
|
|
|
2018-01-09 12:24:47 -08:00
|
|
|
allow traceur_app servicemanager:service_manager list;
|
|
|
|
allow traceur_app hwservicemanager:hwservice_manager list;
|
2017-12-11 16:19:23 -08:00
|
|
|
|
2019-04-25 23:59:06 -07:00
|
|
|
# Allow Traceur to enable traced if necessary.
|
|
|
|
set_prop(traceur_app, traced_enabled_prop)
|
|
|
|
|
2018-01-09 12:24:47 -08:00
|
|
|
set_prop(traceur_app, debug_prop)
|
2017-12-11 16:19:23 -08:00
|
|
|
|
2018-01-09 12:24:47 -08:00
|
|
|
allow traceur_app {
|
|
|
|
service_manager_type
|
2018-08-17 00:35:42 -07:00
|
|
|
-apex_service
|
2019-02-25 04:12:15 -08:00
|
|
|
-dnsresolver_service
|
2018-01-09 12:24:47 -08:00
|
|
|
-gatekeeper_service
|
|
|
|
-incident_service
|
|
|
|
-installd_service
|
2018-10-05 14:48:29 -07:00
|
|
|
-iorapd_service
|
2019-03-14 15:45:03 -07:00
|
|
|
-lpdump_service
|
2018-01-09 12:24:47 -08:00
|
|
|
-netd_service
|
|
|
|
-virtual_touchpad_service
|
|
|
|
-vold_service
|
|
|
|
-vr_hwc_service
|
|
|
|
}:service_manager find;
|
2017-12-11 16:19:23 -08:00
|
|
|
|
2018-09-27 10:52:14 -07:00
|
|
|
# Allow traceur_app to use atrace HAL
|
|
|
|
hal_client_domain(traceur_app, hal_atrace)
|
|
|
|
|
2018-01-09 12:24:47 -08:00
|
|
|
dontaudit traceur_app service_manager_type:service_manager find;
|
|
|
|
dontaudit traceur_app hwservice_manager_type:hwservice_manager find;
|
|
|
|
dontaudit traceur_app domain:binder call;
|