Allow vehicle_binding_util to access AIDL VHAL.

AIDL service requires binder_use not hwbinder_use.

Test: None
Bug: None
Change-Id: Ic2245c4b1961cc3a5bbd61a1cb6134d92b8752c1
This commit is contained in:
Yu Shan 2022-04-29 16:12:14 -07:00
parent a77c2963e9
commit d5af7b7cea

View file

@ -8,8 +8,10 @@ init_daemon_domain(vehicle_binding_util)
# allow writing to kmsg during boot # allow writing to kmsg during boot
allow vehicle_binding_util kmsg_device:chr_file { getattr w_file_perms }; allow vehicle_binding_util kmsg_device:chr_file { getattr w_file_perms };
# allow reading the binding property from vhal # allow reading the binding property from HIDL VHAL.
hwbinder_use(vehicle_binding_util) hwbinder_use(vehicle_binding_util)
# allow reading the binding property from AIDL VHAL.
binder_use(vehicle_binding_util)
hal_client_domain(vehicle_binding_util, hal_vehicle) hal_client_domain(vehicle_binding_util, hal_vehicle)
# allow executing vdc # allow executing vdc