From 63a17d45483524e9cb678c7a9435f23c8683db20 Mon Sep 17 00:00:00 2001 From: Shirayuki39 Date: Thu, 18 Jul 2024 18:04:20 +0800 Subject: [PATCH] LG8n: sepolicy: Fix fingerprint sepolicy x2 Signed-off-by: Shirayuki39 --- sepolicy/vendor/hal_fingerprint_default.te | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sepolicy/vendor/hal_fingerprint_default.te b/sepolicy/vendor/hal_fingerprint_default.te index 10d37d5..2bd0ceb 100644 --- a/sepolicy/vendor/hal_fingerprint_default.te +++ b/sepolicy/vendor/hal_fingerprint_default.te @@ -6,8 +6,7 @@ allow hal_fingerprint_default persist_data_file:file create_file_perms; allow hal_fingerprint_default self:netlink_kobject_uevent_socket { read create bind setopt }; allow hal_fingerprint_default sysfs_fp_name_path:dir r_dir_perms; allow hal_fingerprint_default sysfs_fp_name_path:file rw_file_perms; -allow hal_fingerprint_default vndbinder_device:chr_file r_file_perms; -allow hal_fingerprint_default vndbinder_device:chr_file rw_file_perms; +allow hal_fingerprint_default vndbinder_device:chr_file { ioctl read write getattr lock append map open watch watch_reads }; allow hal_fingerprint_default vendor_gf_data_file:dir create_dir_perms; allow hal_fingerprint_default vendor_gf_data_file:file create_file_perms;