From 11b1abad6eecdeac408762e4a3cf3125f7469c09 Mon Sep 17 00:00:00 2001 From: Yuan Si Date: Wed, 30 Aug 2023 11:38:59 +0800 Subject: [PATCH] pipa: sepolicy: Address more XiaomiParts denials 08-29 23:34:00.174 2731 2731 W libc : Access denied finding property "ro.input.resampling" 08-29 23:34:00.163 2731 2731 W eageos.settings: type=1400 audit(0.0:1269): avc: denied { read } for name="u:object_r:default_prop:s0" dev="tmpfs" ino=1712 scontext=u:r:devicesettings_app:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0 08-29 23:34:00.195 2731 2731 W libc : Access denied finding property "viewroot.profile_rendering" 08-29 23:34:00.183 2731 2731 W eageos.settings: type=1400 audit(0.0:1270): avc: denied { read } for name="u:object_r:default_prop:s0" dev="tmpfs" ino=1712 scontext=u:r:devicesettings_app:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0 08-29 23:34:01.601 2731 2731 W libc : Access denied finding property "persist.input.velocitytracker.strategy" 08-29 23:34:01.593 2731 2731 W eageos.settings: type=1400 audit(0.0:1271): avc: denied { read } for name="u:object_r:default_prop:s0" dev="tmpfs" ino=1712 scontext=u:r:devicesettings_app:s0 tcontext=u:object_r:default_prop:s0 tclass=file permissive=0 Change-Id: I33f9e93220d876acb10a1e31f06d755068133798 Signed-off-by: Yuan Si --- sepolicy/private/xiaomi/devicesettings/property_contexts | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 sepolicy/private/xiaomi/devicesettings/property_contexts diff --git a/sepolicy/private/xiaomi/devicesettings/property_contexts b/sepolicy/private/xiaomi/devicesettings/property_contexts new file mode 100644 index 0000000..6481e02 --- /dev/null +++ b/sepolicy/private/xiaomi/devicesettings/property_contexts @@ -0,0 +1,3 @@ +persist.input.velocitytracker. u:object_r:exported_system_prop:s0 +ro.input.resampling u:object_r:exported_system_prop:s0 +viewroot.profile_rendering u:object_r:exported_system_prop:s0