sm8350-common: sepolicy: label fingerprint props
This commit is contained in:
parent
75271d3b6c
commit
16482979ca
5
sepolicy/vendor/fingerprint.te
vendored
5
sepolicy/vendor/fingerprint.te
vendored
@ -2,10 +2,15 @@ type vendor_mfp-daemon, domain;
|
||||
type vendor_mfp-daemon_exec, exec_type, vendor_file_type, file_type;
|
||||
type vendor_fingerprint_data_file, data_file_type, file_type;
|
||||
type vendor_fingerprint_device, dev_type;
|
||||
type vendor_fp_prop, vendor_public_property_type, vendor_property_type, property_type;
|
||||
type vendor_fp_info_prop, vendor_public_property_type, vendor_property_type, property_type;
|
||||
|
||||
hal_server_domain(vendor_mfp-daemon, hal_fingerprint)
|
||||
init_daemon_domain(vendor_mfp-daemon)
|
||||
|
||||
set_prop(vendor_mfp-daemon, vendor_fp_prop)
|
||||
set_prop(vendor_mfp-daemon, vendor_fp_info_prop)
|
||||
|
||||
allow vendor_mfp-daemon vendor_fingerprint_data_file:dir create_dir_perms;
|
||||
allow vendor_mfp-daemon vendor_fingerprint_data_file:file create_file_perms;
|
||||
allow vendor_mfp-daemon tee_device:chr_file rw_file_perms;
|
||||
|
5
sepolicy/vendor/property_contexts
vendored
5
sepolicy/vendor/property_contexts
vendored
@ -1,2 +1,7 @@
|
||||
# Fingerprint
|
||||
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
|
||||
|
||||
# SPU
|
||||
persist.vendor.security.spuari. u:object_r:vendor_security_spuari_prop:s0
|
||||
|
Loading…
Reference in New Issue
Block a user