mirror of
https://github.com/S3NEO/android_device_samsung_msm8226-common.git
synced 2024-11-06 21:55:45 +00:00
msm8226-common: sepolicy: Label sysfs_msmuart_file, resolve denials
* avc: denied { setattr } for name="clock" dev="sysfs" ino=18914 scontext=u:r:init:s0 tcontext=u:object_r:sysfs_msmuart_file:s0 tclass=file permissive=1 Change-Id: Iaf5fe6791344dcf419242599eb6c9272c61cd707
This commit is contained in:
parent
d290aaa200
commit
8a2f7414d2
2 changed files with 2 additions and 0 deletions
|
@ -32,6 +32,7 @@
|
|||
/data/cam_socket3 u:object_r:camera_socket:s0
|
||||
|
||||
# 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/virtual/camera(/.*)? u:object_r:sysfs_camera:s0
|
||||
/sys/devices/virtual/input(/.*)? u:object_r:sysfs_input:s0
|
||||
|
|
|
@ -14,6 +14,7 @@ allow init {
|
|||
sysfs_iio
|
||||
sysfs_input
|
||||
sysfs_leds
|
||||
sysfs_msmuart_file
|
||||
sysfs_sec_bamdmux
|
||||
sysfs_sec_barcode_emul
|
||||
sysfs_sec_epen
|
||||
|
|
Loading…
Reference in a new issue