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:
Kevin F. Haggerty 2018-11-16 17:39:18 -07:00
parent 5d817ed103
commit 5c15bb5833
No known key found for this signature in database
GPG Key ID: 6D95512933112729
2 changed files with 2 additions and 0 deletions

View File

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

View File

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