sm6225-common: sepolicy: Label rhode touchscreen nodes

avc: denied { read } for name="vendor" dev="sysfs" ino=51521
scontext=u:r:vendor_init_touch:s0 tcontext=u:object_r:sysfs:s0
tclass=file permissive=0

avc: denied { read } for name="vendor" dev="sysfs" ino=51520
scontext=u:r:vendor_init_touch:s0 tcontext=u:object_r:sysfs:s0
tclass=file permissive=0

Change-Id: I038d821fd603c89c37020fa491c60b806b91f35d
This commit is contained in:
Tommaso Fonda 2023-07-30 13:48:44 +02:00 committed by Dhina17
parent 4b0fcbf205
commit bdc1988602

View file

@ -43,6 +43,7 @@ genfscon proc /sys/kernel/sched_lib_name
# Touchscreen
genfscon sysfs /class/touchscreen u:object_r:vendor_sysfs_touchpanel:s0
genfscon sysfs /devices/platform/soc/4a80000.spi/spi_master/spi0/spi0.0 u:object_r:vendor_sysfs_touchpanel:s0
genfscon sysfs /devices/platform/soc/4a88000.spi/spi_master/spi0/spi0.0 u:object_r:vendor_sysfs_touchpanel:s0
genfscon sysfs /devices/platform/soc/4a88000.i2c/i2c-2/2-0038/touchscreen/ft3519 u:object_r:vendor_sysfs_touchpanel:s0
genfscon sysfs /devices/virtual/touchscreen/NVT-ts u:object_r:vendor_sysfs_touchpanel:s0
genfscon sysfs /devices/virtual/touchscreen/ft8726 u:object_r:vendor_sysfs_touchpanel:s0