1# vehicle binding util startup application 2type vehicle_binding_util, domain, coredomain; 3 4# allow init to start vehicle_binding_util 5type vehicle_binding_util_exec, exec_type, file_type, system_file_type; 6init_daemon_domain(vehicle_binding_util) 7 8# allow writing to kmsg during boot 9allow vehicle_binding_util kmsg_device:chr_file { getattr w_file_perms }; 10 11# allow reading the binding property from HIDL VHAL. 12hwbinder_use(vehicle_binding_util) 13# allow reading the binding property from AIDL VHAL. 14binder_use(vehicle_binding_util) 15hal_client_domain(vehicle_binding_util, hal_vehicle) 16 17# allow executing vdc 18domain_auto_trans(vehicle_binding_util, vdc_exec, vdc) 19 20# devpts is needed to redirect output from vdc 21allow vehicle_binding_util devpts:chr_file rw_file_perms; 22 23