ccaaae4289
As suggested by nnk@, I have moved the definition for usb_serial_device to system/sepolicy/public/device.te from /system/sepolicy/public/hal_can.te. See suggestion in aosp/1166865 Test: Manually bring up SLCAN device on test hardware with this change in place Change-Id: I0a11556a7eae0be2c9e4b090b051969566c2343e
9 lines
430 B
Text
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;
|