sm7325-common: Address dubai's DT2W denials
Change-Id: I0a0f892185eb98017aafa948d103155780954367
This commit is contained in:
parent
357641de5b
commit
75dc802330
1
sepolicy/vendor/file_contexts
vendored
1
sepolicy/vendor/file_contexts
vendored
@ -80,6 +80,7 @@
|
|||||||
# 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
|
||||||
|
3
sepolicy/vendor/hal_sensors_default.te
vendored
3
sepolicy/vendor/hal_sensors_default.te
vendored
@ -6,3 +6,6 @@ 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;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user