Define the i2C device policy am: 59019fd72a

am: 5a3132bbeb

* commit '5a3132bbeb16107e637890b6abc7ccc1cf648771':
  Define the i2C device policy
This commit is contained in:
Bruce Beare 2015-10-28 00:05:06 +00:00 committed by android-build-merger
commit 4516643186
2 changed files with 2 additions and 0 deletions

View file

@ -54,6 +54,7 @@ type usbaccessory_device, dev_type, mlstrustedobject;
type usb_device, dev_type, mlstrustedobject;
type klog_device, dev_type;
type properties_device, dev_type;
type i2c_device, dev_type;
# All devices have a uart for the hci
# attach service. The uart dev node

View file

@ -70,6 +70,7 @@
/dev/fuse u:object_r:fuse_device:s0
/dev/graphics(/.*)? u:object_r:graphics_device:s0
/dev/hw_random u:object_r:hw_random_device:s0
/dev/i2c-[0-9]+ u:object_r:i2c_device:s0
/dev/input(/.*) u:object_r:input_device:s0
/dev/iio:device[0-9]+ u:object_r:iio_device:s0
/dev/ion u:object_r:ion_device:s0