From 480d6a6a73d6fc936ea137c06be5afd6505ad759 Mon Sep 17 00:00:00 2001 From: Arian Date: Tue, 7 Mar 2023 01:19:24 +0100 Subject: [PATCH] sm8450-common: sepolicy: Adjust permissions on displayfeature sysfs for fingerprint hal Change-Id: If7aaf9bde52991060118942bd20c51f347637cb2 --- sepolicy/vendor/hal_fingerprint.te | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sepolicy/vendor/hal_fingerprint.te b/sepolicy/vendor/hal_fingerprint.te index 4cd8ff0..86e25a2 100644 --- a/sepolicy/vendor/hal_fingerprint.te +++ b/sepolicy/vendor/hal_fingerprint.te @@ -12,8 +12,8 @@ allow hal_fingerprint_default mnt_vendor_file:dir search; allow hal_fingerprint_default vendor_fingerprint_device:chr_file rwx_file_perms; allow hal_fingerprint_default tee_device:chr_file rw_file_perms; allow hal_fingerprint_default self:netlink_socket create_socket_perms_no_ioctl; -allow hal_fingerprint_default vendor_sysfs_displayfeature:dir { open read }; -allow hal_fingerprint_default vendor_sysfs_displayfeature:file { open read }; +allow hal_fingerprint_default vendor_sysfs_displayfeature:dir search; +allow hal_fingerprint_default vendor_sysfs_displayfeature:file rw_file_perms; allow hal_fingerprint_default vendor_dmabuf_qseecom_ta_heap_device:chr_file r_file_perms; allow hal_fingerprint_default vendor_dmabuf_qseecom_heap_device:chr_file r_file_perms; allow hal_fingerprint_default sysfs_tp_fodstatus:chr_file r_file_perms;