Loading sepolicy/vendor/file.te +1 −0 Original line number Diff line number Diff line Loading @@ -45,6 +45,7 @@ type sysfs_dsm, fs_type, sysfs_type, mlstrustedobject; type sysfs_graphics, sysfs_type, fs_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; type sysfs_jack, sysfs_type, fs_type, mlstrustedobject; type sysfs_lhd, fs_type, sysfs_type, mlstrustedobject; type sysfs_light, fs_type, sysfs_type, mlstrustedobject; Loading sepolicy/vendor/file_contexts +3 −0 Original line number Diff line number Diff line Loading @@ -175,6 +175,9 @@ # HMT relay mode node /sys/devices/virtual/relay_on u:object_r:sysfs_hmt:s0 # HRM /sys/devices/virtual/input/input4(/.*)? u:object_r:sysfs_hrm:s0 # IIO /sys/bus/iio/devices(/.*)? u:object_r:sysfs_iio:s0 /sys/devices/[a-f0-9]+\.adc/iio:device[0-9](/.*)? u:object_r:sysfs_iio:s0 Loading sepolicy/vendor/hal_sensors_default.te +6 −1 Original line number Diff line number Diff line Loading @@ -15,13 +15,18 @@ allow hal_sensors_default { }:file r_file_perms; allow hal_sensors_default { sysfs_hrm sysfs_spi_writeable sysfs_ssp }:dir r_dir_perms; allow hal_sensors_default { sysfs_hrm sysfs_spi_writeable sysfs_ssp }:file rw_file_perms; allow hal_sensors_default sysfs_iio:lnk_file r_file_perms; allow hal_sensors_default { 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 @@ -45,6 +45,7 @@ type sysfs_dsm, fs_type, sysfs_type, mlstrustedobject; type sysfs_graphics, sysfs_type, fs_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; type sysfs_jack, sysfs_type, fs_type, mlstrustedobject; type sysfs_lhd, fs_type, sysfs_type, mlstrustedobject; type sysfs_light, fs_type, sysfs_type, mlstrustedobject; Loading
sepolicy/vendor/file_contexts +3 −0 Original line number Diff line number Diff line Loading @@ -175,6 +175,9 @@ # HMT relay mode node /sys/devices/virtual/relay_on u:object_r:sysfs_hmt:s0 # HRM /sys/devices/virtual/input/input4(/.*)? u:object_r:sysfs_hrm:s0 # IIO /sys/bus/iio/devices(/.*)? u:object_r:sysfs_iio:s0 /sys/devices/[a-f0-9]+\.adc/iio:device[0-9](/.*)? u:object_r:sysfs_iio:s0 Loading
sepolicy/vendor/hal_sensors_default.te +6 −1 Original line number Diff line number Diff line Loading @@ -15,13 +15,18 @@ allow hal_sensors_default { }:file r_file_perms; allow hal_sensors_default { sysfs_hrm sysfs_spi_writeable sysfs_ssp }:dir r_dir_perms; allow hal_sensors_default { sysfs_hrm sysfs_spi_writeable sysfs_ssp }:file rw_file_perms; allow hal_sensors_default sysfs_iio:lnk_file r_file_perms; allow hal_sensors_default { sysfs_hrm sysfs_iio }:lnk_file r_file_perms;