Skip to content
Snippets Groups Projects
Commit 59019fd7 authored by Bruce Beare's avatar Bruce Beare
Browse files

Define the i2C device policy


Change-Id: I93d9cfea2f2148bb042d1cb8af3649524ad31034
Signed-off-by: default avatarBruce Beare <bruce.j.beare@intel.com>
parent 9ba8ade5
No related branches found
No related tags found
No related merge requests found
...@@ -54,6 +54,7 @@ type usbaccessory_device, dev_type, mlstrustedobject; ...@@ -54,6 +54,7 @@ type usbaccessory_device, dev_type, mlstrustedobject;
type usb_device, dev_type, mlstrustedobject; type usb_device, dev_type, mlstrustedobject;
type klog_device, dev_type; type klog_device, dev_type;
type properties_device, dev_type; type properties_device, dev_type;
type i2c_device, dev_type;
# All devices have a uart for the hci # All devices have a uart for the hci
# attach service. The uart dev node # attach service. The uart dev node
......
...@@ -70,6 +70,7 @@ ...@@ -70,6 +70,7 @@
/dev/fuse u:object_r:fuse_device:s0 /dev/fuse u:object_r:fuse_device:s0
/dev/graphics(/.*)? u:object_r:graphics_device:s0 /dev/graphics(/.*)? u:object_r:graphics_device:s0
/dev/hw_random u:object_r:hw_random_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/input(/.*) u:object_r:input_device:s0
/dev/iio:device[0-9]+ u:object_r:iio_device:s0 /dev/iio:device[0-9]+ u:object_r:iio_device:s0
/dev/ion u:object_r:ion_device:s0 /dev/ion u:object_r:ion_device:s0
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment