sm6150-common: sepolicy: Add fortsense and sunwave fingerprint rules

Change-Id: Icea6d25bde0cb54e3926b009a7b76c264e44c77e
This commit is contained in:
basamaryan 2024-05-15 16:01:23 +02:00
parent ea5b035f38
commit 50193c8135
No known key found for this signature in database
GPG Key ID: 707BA6C82329E8F9
3 changed files with 5 additions and 0 deletions

View File

@ -25,7 +25,9 @@
/sys/devices/platform/soc/soc:qcom,dsi-display/doze_mode u:object_r:sysfs_doze:s0 /sys/devices/platform/soc/soc:qcom,dsi-display/doze_mode u:object_r:sysfs_doze:s0
# Fingerprint # Fingerprint
/dev/fortsense_fp u:object_r:fingerprint_device:s0
/dev/goodix_fp u:object_r:fingerprint_device:s0 /dev/goodix_fp u:object_r:fingerprint_device:s0
/data/vendor/fortsense(/.*)? u:object_r:fingerprint_data_file:s0
/data/vendor/fpc(/.*)? u:object_r:fingerprint_data_file:s0 /data/vendor/fpc(/.*)? u:object_r:fingerprint_data_file:s0
/data/vendor/fpdump(/.*)? u:object_r:fingerprint_data_file:s0 /data/vendor/fpdump(/.*)? u:object_r:fingerprint_data_file:s0
/data/vendor/goodix(/.*)? u:object_r:fingerprint_data_file:s0 /data/vendor/goodix(/.*)? u:object_r:fingerprint_data_file:s0

View File

@ -1,4 +1,5 @@
type hal_fingerprint_hwservice_xiaomi, hwservice_manager_type; type hal_fingerprint_hwservice_xiaomi, hwservice_manager_type;
type hal_swfingerprint_hwservice, hwservice_manager_type;
type fingerprint_device, dev_type; type fingerprint_device, dev_type;
type fingerprint_data_file, data_file_type, file_type; type fingerprint_data_file, data_file_type, file_type;
type vendor_sysfs_fod, sysfs_type, fs_type; type vendor_sysfs_fod, sysfs_type, fs_type;
@ -24,3 +25,4 @@ set_prop(hal_fingerprint_default, vendor_fp_prop)
hal_client_domain(hal_fingerprint_default, vendor_hal_perf) hal_client_domain(hal_fingerprint_default, vendor_hal_perf)
add_hwservice(hal_fingerprint_default, hal_fingerprint_hwservice_xiaomi) add_hwservice(hal_fingerprint_default, hal_fingerprint_hwservice_xiaomi)
add_hwservice(hal_fingerprint_default, hal_swfingerprint_hwservice)

View File

@ -1,2 +1,3 @@
vendor.goodix.hardware.biometrics.fingerprint::IGoodixFingerprintDaemon u:object_r:hal_fingerprint_hwservice_xiaomi:s0 vendor.goodix.hardware.biometrics.fingerprint::IGoodixFingerprintDaemon u:object_r:hal_fingerprint_hwservice_xiaomi:s0
vendor.sw.swfingerprint::ISwfingerprint u:object_r:hal_swfingerprint_hwservice:s0
vendor.xiaomi.hardware.fingerprintextension::IXiaomiFingerprint u:object_r:hal_fingerprint_hwservice_xiaomi:s0 vendor.xiaomi.hardware.fingerprintextension::IXiaomiFingerprint u:object_r:hal_fingerprint_hwservice_xiaomi:s0