From b5bfa3d797bc7e8d5df83497b9440b0e4d07c48c Mon Sep 17 00:00:00 2001 From: "Kevin F. Haggerty" Date: Sun, 25 Nov 2018 07:52:20 -0700 Subject: [PATCH] klte-common: sepolicy: Label sysfs_audio nodes Change-Id: I46a0067241a3ce4567992c7437336f4a9c4bab8e --- sepolicy/common/file_contexts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/sepolicy/common/file_contexts b/sepolicy/common/file_contexts index eb7afe3..b305392 100644 --- a/sepolicy/common/file_contexts +++ b/sepolicy/common/file_contexts @@ -7,3 +7,7 @@ # sysfs /sys/devices(/.*)?/input/input[1-2]/enabled u:object_r:sysfs_hal_pwr:s0 + +# sysfs - audio +/sys/devices/[a-f0-9]+\.slim/es705-codec-gen0(/.*)? u:object_r:sysfs_audio:s0 +/sys/kernel/DualWave/sound(/.*)? u:object_r:sysfs_audio:s0