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 vhal 12hwbinder_use(vehicle_binding_util) 13hal_client_domain(vehicle_binding_util, hal_vehicle) 14 15# allow executing vdc 16domain_auto_trans(vehicle_binding_util, vdc_exec, vdc) 17 18# devpts is needed to redirect output from vdc 19allow vehicle_binding_util devpts:chr_file rw_file_perms; 20 21