diff options
-rw-r--r-- | sepolicy/device.te | 1 | ||||
-rw-r--r-- | sepolicy/file_contexts | 3 | ||||
-rw-r--r-- | sepolicy/vis.te | 2 |
3 files changed, 1 insertions, 5 deletions
diff --git a/sepolicy/device.te b/sepolicy/device.te index db470f0..6fb408e 100644 --- a/sepolicy/device.te +++ b/sepolicy/device.te @@ -3,4 +3,3 @@ type rtc, dev_type; type hwspinlock_dev, dev_type; type uio_dev, dev_type; type cmem_dev, dev_type; -type i2c_dev, dev_type; diff --git a/sepolicy/file_contexts b/sepolicy/file_contexts index dc20edc..8988df2 100644 --- a/sepolicy/file_contexts +++ b/sepolicy/file_contexts @@ -36,9 +36,6 @@ #VIS (RadioApp) /system/bin/RadioApp u:object_r:vis_exec:s0 -#I2C -/dev/i2c-[0-9]+ u:object_r:i2c_dev:s0 - #CMEM /dev/cmem u:object_r:cmem_dev:s0 diff --git a/sepolicy/vis.te b/sepolicy/vis.te index d8cbb7a..7f1356c 100644 --- a/sepolicy/vis.te +++ b/sepolicy/vis.te @@ -17,4 +17,4 @@ allow vis cmem_dev:chr_file { rw_file_perms }; allow vis hwspinlock_dev:chr_file { rw_file_perms }; # Allow access to I2C for audio codec configuration -allow vis i2c_dev:chr_file { rw_file_perms }; +allow vis i2c_device:chr_file { rw_file_perms }; |