blob: f52794496948e2ed9f0569a34077689ea8abfde6 [file] [log] [blame]
Keith Moka216b0d2021-06-01 20:13:02 +00001# 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
Yu Shand5af7b72022-04-29 16:12:14 -070011# allow reading the binding property from HIDL VHAL.
Keith Moka216b0d2021-06-01 20:13:02 +000012hwbinder_use(vehicle_binding_util)
Yu Shand5af7b72022-04-29 16:12:14 -070013# allow reading the binding property from AIDL VHAL.
14binder_use(vehicle_binding_util)
Keith Moka216b0d2021-06-01 20:13:02 +000015hal_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