msm8974-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
5d817ed103
commit
5c15bb5833
@ -31,6 +31,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
|
||||
|
@ -15,6 +15,7 @@ allow init {
|
||||
sysfs_input
|
||||
sysfs_leds
|
||||
sysfs_mdnie
|
||||
sysfs_msmuart_file
|
||||
sysfs_sec_bamdmux
|
||||
sysfs_sec_barcode_emul
|
||||
sysfs_sec_epen
|
||||
|
Loading…
Reference in New Issue
Block a user