msm8226-common: sepolicy: Broaden sysfs_bluetooth_writable, resolve denials

Change-Id: Iff3645e36ece2126f3697bb0389394415be16529
This commit is contained in:
Kevin F. Haggerty 2018-11-15 19:55:06 -07:00 committed by Francescodario Cuzzocrea
parent 8a2f7414d2
commit 2a303c3bbc
2 changed files with 2 additions and 1 deletions

View file

@ -33,7 +33,7 @@
# sysfs
/sys/devices/[a-f0-9]+\.uart(/.*)? u:object_r:sysfs_msmuart_file:s0
/sys/devices/platform/bcm[0-9]+_bluetooth/rfkill/rfkill0/state u:object_r:sysfs_bluetooth_writable:s0
/sys/devices/platform/bcm[0-9]+_bluetooth/rfkill/rfkill0(/.*)? u:object_r:sysfs_bluetooth_writable:s0
/sys/devices/virtual/camera(/.*)? u:object_r:sysfs_camera:s0
/sys/devices/virtual/input(/.*)? u:object_r:sysfs_input:s0
/sys/devices/.*bcl.*(/.*)? u:object_r:sysfs_thermal:s0

View file

@ -10,6 +10,7 @@ allow init sysfs_graphics:file r_file_perms;
allow init {
sysfs_batteryinfo
sysfs_bluetooth_writable
sysfs_graphics
sysfs_iio
sysfs_input