msm8974-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
parent 5c15bb5833
commit a0c32871a9
No known key found for this signature in database
GPG Key ID: 6D95512933112729
2 changed files with 2 additions and 1 deletions

View File

@ -32,7 +32,7 @@
# sysfs # sysfs
/sys/devices/[a-f0-9]+\.uart(/.*)? u:object_r:sysfs_msmuart_file:s0 /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/camera(/.*)? u:object_r:sysfs_camera:s0
/sys/devices/virtual/input(/.*)? u:object_r:sysfs_input:s0 /sys/devices/virtual/input(/.*)? u:object_r:sysfs_input:s0
/sys/module/dhd/parameters/firmware_path u:object_r:sysfs_wifi_writeable:s0 /sys/module/dhd/parameters/firmware_path u:object_r:sysfs_wifi_writeable:s0

View File

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