sm8350-common: sepolicy: Label FortsenseFingerprintService
Change-Id: Ic1ee3c61d57bb1aaf0204d20764a595ed3e411a3 Signed-off-by: danielml <daniel@danielml.dev>
This commit is contained in:
parent
2c44ac99fc
commit
f2123942fa
3
sepolicy/vendor/hal_fingerprint_default.te
vendored
3
sepolicy/vendor/hal_fingerprint_default.te
vendored
@ -1,5 +1,6 @@
|
||||
type vendor_fingerprint_device, dev_type;
|
||||
type vendor_hal_fingerprint_hwservice_xiaomi, hwservice_manager_type;
|
||||
type hal_fingerprint_service_xiaomi, vndservice_manager_type;
|
||||
type vendor_sysfs_udfps, sysfs_type, fs_type;
|
||||
vendor_public_prop(vendor_fp_prop)
|
||||
vendor_internal_prop(vendor_fp_info_prop)
|
||||
@ -33,3 +34,5 @@ allow hal_fingerprint_default uhid_device:chr_file rw_file_perms;
|
||||
allow hal_fingerprint_default vendor_fingerprint_device:chr_file rw_file_perms;
|
||||
allow hal_fingerprint_default input_device:dir r_dir_perms;
|
||||
allow hal_fingerprint_default input_device:chr_file rw_file_perms;
|
||||
|
||||
add_service(hal_fingerprint_default, hal_fingerprint_service_xiaomi)
|
||||
|
1
sepolicy/vendor/vndservice_contexts
vendored
Normal file
1
sepolicy/vendor/vndservice_contexts
vendored
Normal file
@ -0,0 +1 @@
|
||||
FortsenseFingerprintService u:object_r:hal_fingerprint_service_xiaomi:s0
|
Loading…
Reference in New Issue
Block a user