Loading sepolicy/vendor/file.te +1 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,7 @@ type sysfs_codec, sysfs_type, fs_type, mlstrustedobject; type sysfs_devfreq, fs_type, sysfs_type, mlstrustedobject; type sysfs_dsm, fs_type, sysfs_type, mlstrustedobject; type sysfs_graphics, sysfs_type, fs_type, mlstrustedobject; type sysfs_grip, fs_type, sysfs_type, mlstrustedobject; type sysfs_hall, sysfs_type, fs_type, mlstrustedobject; type sysfs_hmt, fs_type, sysfs_type, mlstrustedobject; type sysfs_hrm, fs_type, sysfs_type, mlstrustedobject; Loading sepolicy/vendor/file_contexts +3 −0 Original line number Diff line number Diff line Loading @@ -169,6 +169,9 @@ /sys/devices/[0-9]+\.dsim/lcd/panel(/.*)? u:object_r:sysfs_graphics:s0 /sys/class/lcd/panel/smart_on u:object_r:sysfs_graphics:s0 # Grip /sys/devices/virtual/input/input2(/.*)? u:object_r:sysfs_grip:s0 # GPU /sys/devices/[a-f0-9]+\.mali(/.*)? u:object_r:sysfs_mali:s0 Loading sepolicy/vendor/hal_sensors_default.te +3 −0 Original line number Diff line number Diff line Loading @@ -15,18 +15,21 @@ allow hal_sensors_default { }:file r_file_perms; allow hal_sensors_default { sysfs_grip sysfs_hrm sysfs_spi_writeable sysfs_ssp }:dir r_dir_perms; allow hal_sensors_default { sysfs_grip sysfs_hrm sysfs_spi_writeable sysfs_ssp }:file rw_file_perms; allow hal_sensors_default { sysfs_grip sysfs_hrm sysfs_iio }:lnk_file r_file_perms; Loading
sepolicy/vendor/file.te +1 −0 Original line number Diff line number Diff line Loading @@ -43,6 +43,7 @@ type sysfs_codec, sysfs_type, fs_type, mlstrustedobject; type sysfs_devfreq, fs_type, sysfs_type, mlstrustedobject; type sysfs_dsm, fs_type, sysfs_type, mlstrustedobject; type sysfs_graphics, sysfs_type, fs_type, mlstrustedobject; type sysfs_grip, fs_type, sysfs_type, mlstrustedobject; type sysfs_hall, sysfs_type, fs_type, mlstrustedobject; type sysfs_hmt, fs_type, sysfs_type, mlstrustedobject; type sysfs_hrm, fs_type, sysfs_type, mlstrustedobject; Loading
sepolicy/vendor/file_contexts +3 −0 Original line number Diff line number Diff line Loading @@ -169,6 +169,9 @@ /sys/devices/[0-9]+\.dsim/lcd/panel(/.*)? u:object_r:sysfs_graphics:s0 /sys/class/lcd/panel/smart_on u:object_r:sysfs_graphics:s0 # Grip /sys/devices/virtual/input/input2(/.*)? u:object_r:sysfs_grip:s0 # GPU /sys/devices/[a-f0-9]+\.mali(/.*)? u:object_r:sysfs_mali:s0 Loading
sepolicy/vendor/hal_sensors_default.te +3 −0 Original line number Diff line number Diff line Loading @@ -15,18 +15,21 @@ allow hal_sensors_default { }:file r_file_perms; allow hal_sensors_default { sysfs_grip sysfs_hrm sysfs_spi_writeable sysfs_ssp }:dir r_dir_perms; allow hal_sensors_default { sysfs_grip sysfs_hrm sysfs_spi_writeable sysfs_ssp }:file rw_file_perms; allow hal_sensors_default { sysfs_grip sysfs_hrm sysfs_iio }:lnk_file r_file_perms;