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:
Kevin F. Haggerty 2018-11-16 17:39:18 -07:00 committed by Francescodario Cuzzocrea
parent d290aaa200
commit 8a2f7414d2
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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