sm7325-common: Address dubai's DT2W denials

Change-Id: I0a0f892185eb98017aafa948d103155780954367
This commit is contained in:
Marc Bourgoin 2022-09-24 17:40:53 -06:00
parent 357641de5b
commit 75dc802330
2 changed files with 7 additions and 3 deletions

View File

@ -78,8 +78,9 @@
/(vendor|system/vendor)/bin/hw/android\.hardware\.secure_element@1\.2-service\.st u:object_r:hal_secure_element_default_exec:s0 /(vendor|system/vendor)/bin/hw/android\.hardware\.secure_element@1\.2-service\.st u:object_r:hal_secure_element_default_exec:s0
# Touch # Touch
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.berlin u:object_r:hal_lineage_touch_default_exec:s0 /(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.berlin u:object_r:hal_lineage_touch_default_exec:s0
/(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.dubai u:object_r:hal_lineage_touch_default_exec:s0 /(vendor|system/vendor)/bin/hw/vendor\.lineage\.touch@1\.0-service\.dubai u:object_r:hal_lineage_touch_default_exec:s0
/sys/devices/platform/soc/a94000\.spi/spi_master/spi0/spi0\.0/touchscreen/primary(/.*)? u:object_r:vendor_sysfs_touchpanel:s0
# Thermal # Thermal
/dev/mmi_sys_temp u:object_r:vendor_thermal_device:s0 /dev/mmi_sys_temp u:object_r:vendor_thermal_device:s0

View File

@ -5,4 +5,7 @@ allow hal_sensors_default vendor_sysfs_input:dir r_dir_perms;
allow hal_sensors_default vendor_sysfs_input:file rw_file_perms; allow hal_sensors_default vendor_sysfs_input:file rw_file_perms;
allow hal_sensors_default vendor_sysfs_dt2w:dir r_dir_perms; allow hal_sensors_default vendor_sysfs_dt2w:dir r_dir_perms;
allow hal_sensors_default vendor_sysfs_dt2w:file rw_file_perms; allow hal_sensors_default vendor_sysfs_dt2w:file rw_file_perms;
allow hal_sensors_default vendor_sysfs_touchpanel:dir r_dir_perms;
allow hal_sensors_default vendor_sysfs_touchpanel:file rw_file_perms;