From 9d1c38d6abb4d6560c925aa9f957fbaa689c8a68 Mon Sep 17 00:00:00 2001 From: "Kevin F. Haggerty" Date: Wed, 28 Feb 2018 06:53:10 -0700 Subject: [PATCH] klte-common: sepolicy: Label sysfs nodes for power HAL Change-Id: I0fa2297ebb219421ad59a49836b9a39ece0843af --- sepolicy/common/file_contexts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sepolicy/common/file_contexts b/sepolicy/common/file_contexts index dd883fc..d2c1c11 100644 --- a/sepolicy/common/file_contexts +++ b/sepolicy/common/file_contexts @@ -4,3 +4,6 @@ # device nodes /dev/ttyHS3 u:object_r:audio_device:s0 /dev/vfsspi u:object_r:vcs_device:s0 + +# sysfs +/sys/devices(/.*)?/input/input[1-2]/enabled u:object_r:sysfs_hal_pwr:s0