From 1b233e89edff05f8ebb16d1500eb5b28d7fad853 Mon Sep 17 00:00:00 2001 From: Jan Altensen Date: Thu, 6 Oct 2022 09:36:29 +0200 Subject: [PATCH] universal8895: sepolicy: label sys input node for dreamlte * this was overlooked previously * this allows the powerhal to access the input node and properly enable/disable the touchscreen Change-Id: I2fc134ce4de721cf1772d63537f3bf361128818f --- sepolicy/vendor/genfs_contexts | 1 + 1 file changed, 1 insertion(+) diff --git a/sepolicy/vendor/genfs_contexts b/sepolicy/vendor/genfs_contexts index c51ca88..ab6e0e8 100644 --- a/sepolicy/vendor/genfs_contexts +++ b/sepolicy/vendor/genfs_contexts @@ -21,6 +21,7 @@ genfscon sysfs /class/video4linux u:object_r:sysfs_v4l:s0 # devices genfscon sysfs /devices/virtual/sec/led/led_blink u:object_r:sysfs_graphics:s0 +genfscon sysfs /devices/platform/108e0000.hsi2c/i2c-5/5-0048/input/ u:object_r:sysfs_touchscreen_writable:s0 genfscon sysfs /devices/platform/108e0000.hsi2c/i2c-5/5-0049/input/ u:object_r:sysfs_touchscreen_writable:s0 genfscon sysfs /devices/platform/10970000.spi/ u:object_r:sysfs_spi_writeable:s0 genfscon sysfs /devices/platform/108c0000.spi/ u:object_r:sysfs_spi_writeable:s0 -- GitLab