platform_system_sepolicy/public/hal_can.te
Tomasz Wasilczyk 602b30302a SEPolicy rules for CAN bus HAL
Bug: 135918744
Test: VTS (separate new change)
Change-Id: Idd3ca882e3bd36b95a5412bdfbf6fe9d6e911ba9
2019-08-01 10:24:00 -07:00

9 lines
430 B
Text

# CAN controller
binder_call(hal_can_controller_client, hal_can_controller_server)
add_hwservice(hal_can_controller_server, hal_can_controller_hwservice)
allow hal_can_controller_client hal_can_controller_hwservice:hwservice_manager find;
# CAN bus
binder_call(hal_can_bus_client, hal_can_bus_server)
add_hwservice(hal_can_bus_server, hal_can_bus_hwservice)
allow hal_can_bus_client hal_can_bus_hwservice:hwservice_manager find;