sm8450-common: sepolicy: Add rules for fpc fod

Change-Id: Ib0cb756a54a3d5416af4f892a0ebb9159a2130af
This commit is contained in:
kxxt 2024-03-13 23:11:57 +08:00 committed by Arian
parent bba13b580d
commit b2dcc1ec15
3 changed files with 3 additions and 0 deletions

View file

@ -47,6 +47,7 @@
# Fingerprint
/data/vendor/fpc(/.*)? u:object_r:vendor_fingerprint_data_file:s0
/data/vendor/fpdump(/.*)? u:object_r:vendor_fingerprint_data_file:s0
/data/vendor/goodix(/.*)? u:object_r:vendor_fingerprint_data_file:s0
/dev/goodix_fp u:object_r:vendor_fingerprint_device:s0
/mnt/vendor/persist/fpc(/.*)? u:object_r:vendor_fingerprint_data_file:s0

View file

@ -25,6 +25,7 @@ allow hal_fingerprint_default vendor_sysfs_graphics:dir r_dir_perms;
allow hal_fingerprint_default vendor_sysfs_graphics:file rw_file_perms;
allow hal_fingerprint_default vendor_xdsp_device:chr_file r_file_perms;
allow hal_fingerprint_default vendor_xdsp_device:file r_file_perms;
allow hal_fingerprint_default mnt_vendor_file:dir search;
get_prop(hal_fingerprint_default, vendor_adsprpc_prop)
get_prop(hal_fingerprint_default, vendor_panel_info_prop)

View file

@ -11,6 +11,7 @@ ro.vendor.oem.psno u:object_r:vendor_sno_prop:s0
ro.vendor.oem.sno u:object_r:vendor_sno_prop:s0
# Fingerprint
persist.vendor.fpc. u:object_r:vendor_fp_prop:s0
persist.vendor.sys.fp. u:object_r:vendor_fp_prop:s0
persist.vendor.sys.fp.info u:object_r:vendor_fp_info_prop:s0
persist.vendor.sys.fp.uid u:object_r:vendor_fp_info_prop:s0