sm8450-common: sepolicy: Add rules for fpc fod
Change-Id: Ib0cb756a54a3d5416af4f892a0ebb9159a2130af
This commit is contained in:
parent
bba13b580d
commit
b2dcc1ec15
3 changed files with 3 additions and 0 deletions
1
sepolicy/vendor/file_contexts
vendored
1
sepolicy/vendor/file_contexts
vendored
|
@ -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
|
||||
|
|
1
sepolicy/vendor/hal_fingerprint.te
vendored
1
sepolicy/vendor/hal_fingerprint.te
vendored
|
@ -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)
|
||||
|
|
1
sepolicy/vendor/property_contexts
vendored
1
sepolicy/vendor/property_contexts
vendored
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue