platform_system_sepolicy/private/canhalconfigurator.te
chrisweir 7063650dbb Enable CAN HAL Configuration Service
Enable the CAN HAL configuration service to start on boot.

Bug: 142653776
Test: Manual
Change-Id: If4180ab729cf92be05ab817ae1fb27d3151d32f9
2020-07-24 14:43:31 -07:00

11 lines
559 B
Text

type canhalconfigurator, domain, coredomain;
type canhalconfigurator_exec, exec_type, system_file_type, file_type;
init_daemon_domain(canhalconfigurator)
# This allows the configurator to look up the CAN HAL controller via
# hwservice_manager and communicate with it.
allow canhalconfigurator hal_can_controller_hwservice:hwservice_manager find;
binder_call(canhalconfigurator, hal_can_controller);
allow canhalconfigurator hidl_manager_hwservice:hwservice_manager find;
hwbinder_use(canhalconfigurator);
get_prop(canhalconfigurator, hwservicemanager_prop);