From 1e554bd2a1b4b1908b16210e2a5983eb388400dd Mon Sep 17 00:00:00 2001 From: chrisl7 Date: Tue, 18 Jul 2023 23:23:59 +0700 Subject: [PATCH] sm6375-common: Fix sys.fp.miui.token spam 07-18 21:53:34.773 1463 4222 W libc : Access denied finding property sys.fp.miui.token 07-18 21:53:34.769 1463 1463 W /vendor/bin/hw/android.hardware.biometrics.fingerprint@2.3-service.xiaomi: type=1400 audit(0.0:274): avc: denied { read } for comm=504F5349582074696D65722031 name=u:object_r:system_prop:s0 dev=tmpfs ino=11254 scontext=u:r:hal_fingerprint_default:s0 tcontext=u:object_r:system_prop:s0 tclass=file permissive=0 Signed-off-by: chrisl7 Change-Id: Ia0d1629351bf9992115bbd26984d3714bfef0925 --- properties/system.prop | 3 +++ sepolicy/private/property_contexts | 3 +++ 2 files changed, 6 insertions(+) diff --git a/properties/system.prop b/properties/system.prop index 1fffc2e..94f2159 100644 --- a/properties/system.prop +++ b/properties/system.prop @@ -4,6 +4,9 @@ ro.charger.enable_suspend=true # CNE persist.vendor.cne.feature=1 +# Fingerprint +sys.fp.miui.token=0 + # Graphics debug.sf.disable_backpressure=1 debug.sf.enable_hwc_vds=1 diff --git a/sepolicy/private/property_contexts b/sepolicy/private/property_contexts index 1b08180..cbfceeb 100644 --- a/sepolicy/private/property_contexts +++ b/sepolicy/private/property_contexts @@ -1,3 +1,6 @@ +# Fingerprint +sys.fp.miui.token u:object_r:exported_system_prop:s0 + # GLobal ro.boot.hwc u:object_r:exported_default_prop:s0 ro.build.flavor u:object_r:build_prop:s0