From d3544b96d42f9df687c979e5cdd03d7f6d8865ed Mon Sep 17 00:00:00 2001 From: Simon1511 Date: Fri, 5 Apr 2024 12:49:15 +0200 Subject: [PATCH] sm7125-common: sepolicy: allow fingerprint read on sysfs_lcd_writable Change-Id: I55e650c05e4298c0c39ff763bfdc1415d78e2082 --- sepolicy/vendor/hal_fingerprint_default.te | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sepolicy/vendor/hal_fingerprint_default.te b/sepolicy/vendor/hal_fingerprint_default.te index 7e48789..3fa95e5 100644 --- a/sepolicy/vendor/hal_fingerprint_default.te +++ b/sepolicy/vendor/hal_fingerprint_default.te @@ -19,3 +19,6 @@ allow hal_fingerprint_default sysfs_fingerprint:file r_file_perms; # /data/vendor/biometrics/* allow hal_fingerprint_default biometrics_vendor_data_file:file create_file_perms; allow hal_fingerprint_default biometrics_vendor_data_file:dir { read write open add_name create rmdir remove_name search }; + +# /sys/class/lcd/panel/ +allow hal_fingerprint_default sysfs_lcd_writable:file r_file_perms;