diff --git a/sepolicy/common/file_contexts b/sepolicy/common/file_contexts index e91a036..7c4bc58 100644 --- a/sepolicy/common/file_contexts +++ b/sepolicy/common/file_contexts @@ -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 diff --git a/sepolicy/common/init.te b/sepolicy/common/init.te index f1f062e..abe0a80 100644 --- a/sepolicy/common/init.te +++ b/sepolicy/common/init.te @@ -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