Move usb_serial_device to device.te
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
This commit is contained in:
parent
5b1b423039
commit
ccaaae4289
@ -51,6 +51,7 @@ type uio_device, dev_type;
|
||||
type tun_device, dev_type, mlstrustedobject;
|
||||
type usbaccessory_device, dev_type, mlstrustedobject;
|
||||
type usb_device, dev_type, mlstrustedobject;
|
||||
type usb_serial_device, dev_type;
|
||||
type properties_device, dev_type;
|
||||
type properties_serial, dev_type;
|
||||
type property_info, dev_type;
|
||||
|
@ -7,6 +7,3 @@ allow hal_can_controller_client hal_can_controller_hwservice:hwservice_manager f
|
||||
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;
|
||||
|
||||
# USB serial type for SLCAN
|
||||
type usb_serial_device, dev_type;
|
||||
|
Loading…
Reference in New Issue
Block a user