mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
msm8226-common: sepolicy: Broaden sysfs_bluetooth_writable, resolve denials
Change-Id: Iff3645e36ece2126f3697bb0389394415be16529
This commit is contained in:
parent
8a2f7414d2
commit
2a303c3bbc
2 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue