sm8350-common: sepolicy: Add fod_press_status rules

Change-Id: I60d18f2c9ab2f3b7da5c80d9a2b21236dae3d36e
This commit is contained in:
FlowerSea0208 2023-07-14 18:16:49 +08:00 committed by Flower sea
parent bc476fbaca
commit 6f2ec9d60e
2 changed files with 2 additions and 0 deletions

View File

@ -60,6 +60,7 @@
/sys/devices/platform/soc/soc:qcom,dsi-display-primary/fod_hbm u:object_r:vendor_sysfs_udfps:s0 /sys/devices/platform/soc/soc:qcom,dsi-display-primary/fod_hbm u:object_r:vendor_sysfs_udfps:s0
/sys/devices/platform/soc/soc:qcom,dsi-display-primary/fod_ui u:object_r:vendor_sysfs_udfps:s0 /sys/devices/platform/soc/soc:qcom,dsi-display-primary/fod_ui u:object_r:vendor_sysfs_udfps:s0
/sys/devices/virtual/touch/tp_dev/fod_status u:object_r:vendor_sysfs_udfps:s0 /sys/devices/virtual/touch/tp_dev/fod_status u:object_r:vendor_sysfs_udfps:s0
/sys/devices/virtual/touch/touch_dev/fod_press_status u:object_r:vendor_sysfs_udfps:s0
# Thermal # Thermal
/data/vendor/thermal(/.*)? u:object_r:thermal_data_file:s0 /data/vendor/thermal(/.*)? u:object_r:thermal_data_file:s0

View File

@ -7,6 +7,7 @@ allow hal_sensors_default hal_audio_default:unix_stream_socket connectto;
allow hal_sensors_default iio_device:chr_file r_file_perms; allow hal_sensors_default iio_device:chr_file r_file_perms;
allow hal_sensors_default vendor_sysfs_iio:dir r_dir_perms; allow hal_sensors_default vendor_sysfs_iio:dir r_dir_perms;
allow hal_sensors_default vendor_sysfs_iio:file rw_file_perms; allow hal_sensors_default vendor_sysfs_iio:file rw_file_perms;
allow hal_sensors_default vendor_sysfs_udfps:file rw_file_perms;
hal_client_domain(hal_sensors_default, hal_audio) hal_client_domain(hal_sensors_default, hal_audio)
allow hal_sensors_default hal_audio_hwservice:hwservice_manager find; allow hal_sensors_default hal_audio_hwservice:hwservice_manager find;