From 51b24b16b43531ab8be9dcdeb0273e31cc7722c7 Mon Sep 17 00:00:00 2001 From: asmallbit Date: Mon, 17 Jan 2022 10:52:58 +0000 Subject: [PATCH] sdm710-common: sepolicy: Add SELinux policy for odrefresh odrefresh: type=1400 audit(0.0:192095): avc: denied { open } for path=/dev/__properties__/u:object_r:aac_drc_prop:s0 dev=tmpfs ino=14629 scontext=u:r:odrefresh:s0 tcontext=u:object_r:aac_drc_prop:s0 tclass=file permissive=1 avc: denied { getattr } for path=/dev/__properties__/u:object_r:aac_drc_prop:s0 dev=tmpfs ino=14629 scontext=u:r:odrefresh:s0 tcontext=u:object_r:aac_drc_prop:s0 tclass=file permissive=1 Signed-off-by: Mikazuuu07 Signed-off-by: wulan17 Change-Id: I51eb0f55430673cce7e87882765aa335096c687d --- sepolicy/private/odrefresh.te | 1 + 1 file changed, 1 insertion(+) diff --git a/sepolicy/private/odrefresh.te b/sepolicy/private/odrefresh.te index 89ebef5..28f3f28 100644 --- a/sepolicy/private/odrefresh.te +++ b/sepolicy/private/odrefresh.te @@ -1 +1,2 @@ allow odrefresh self:capability kill; +allow odrefresh aac_drc_prop:file { getattr open };