diff --git a/file_contexts b/file_contexts index b2d253ab990a110ba7a9add0a4a33c98431c3704..3b207c9f03c7f8e789e2e1f5d92c28cbdc9fda0c 100644 --- a/file_contexts +++ b/file_contexts @@ -55,6 +55,8 @@ /dev/log(/.*)? u:object_r:log_device:s0 /dev/mem u:object_r:kmem_device:s0 /dev/modem.* u:object_r:radio_device:s0 +/dev/mpu u:object_r:gps_device:s0 +/dev/mpuirq u:object_r:gps_device:s0 /dev/mtd(/.*)? u:object_r:mtd_device:s0 /dev/mtd/mtd5 u:object_r:radio_device:s0 /dev/mtd/mtd5ro u:object_r:radio_device:s0 diff --git a/system.te b/system.te index 3ede14a2c1825e98904e82f1dbadf467618255b7..192b14fbe8606597dbfc6aef30ecd546fabb31e4 100644 --- a/system.te +++ b/system.te @@ -143,7 +143,6 @@ allow system sysfs_nfc_power_writable:file rw_file_perms; # Access devices. allow system device:dir r_dir_perms; -allow system device:chr_file rw_file_perms; allow system device:sock_file rw_file_perms; allow system akm_device:chr_file rw_file_perms; allow system accelerometer_device:chr_file rw_file_perms;