2022-02-08 09:26:06 +01:00
|
|
|
binder_call(hal_fingerprint_default, qfp-daemon)
|
|
|
|
binder_use(hal_fingerprint_default)
|
|
|
|
|
|
|
|
# Allow hal_fingerprint_default to open firmware images
|
|
|
|
r_dir_file(hal_fingerprint_default, firmware_file)
|
|
|
|
|
2021-05-20 17:15:59 +02:00
|
|
|
allow hal_fingerprint_default fp_sensor_device:chr_file rw_file_perms;
|
|
|
|
allow hal_fingerprint_default tee_device:chr_file rw_file_perms;
|
|
|
|
|
|
|
|
allow hal_fingerprint_default firmware_file:file r_file_perms;
|
|
|
|
|
|
|
|
allow hal_fingerprint_default efs_file:file r_file_perms;
|
2021-05-12 17:13:32 +02:00
|
|
|
|
2021-05-20 17:15:59 +02:00
|
|
|
allow hal_fingerprint_default sec_poc_file:file r_file_perms;
|
2021-05-12 17:13:32 +02:00
|
|
|
|
2021-05-20 17:15:59 +02:00
|
|
|
allow hal_fingerprint_default sec_efs_file:dir create_dir_perms;
|
|
|
|
allow hal_fingerprint_default sec_efs_file:file create_file_perms;
|
2021-05-12 17:13:32 +02:00
|
|
|
|
|
|
|
allow hal_fingerprint_default sysfs_fpc:dir r_dir_perms;
|
2021-05-20 17:15:59 +02:00
|
|
|
allow hal_fingerprint_default sysfs_fpc:file r_file_perms;
|
|
|
|
allow hal_fingerprint_default sysfs_fpc:lnk_file r_file_perms;
|
|
|
|
|
|
|
|
allow hal_fingerprint_default biometrics_vendor_data_file:dir create_dir_perms;
|
|
|
|
allow hal_fingerprint_default biometrics_vendor_data_file:file create_file_perms;
|
2021-05-12 17:13:32 +02:00
|
|
|
|
2021-05-20 17:15:59 +02:00
|
|
|
allow hal_fingerprint_default vendor_data_file:dir create_dir_perms;
|
|
|
|
allow hal_fingerprint_default vendor_data_file:file create_file_perms;
|
2021-08-23 17:41:09 +02:00
|
|
|
|
2022-02-08 09:26:06 +01:00
|
|
|
allow hal_fingerprint_default fingerprintd_data_file:file create_file_perms;
|
2021-08-23 17:41:09 +02:00
|
|
|
allow hal_fingerprint_default fingerprintd_data_file:dir write;
|
2022-02-08 09:26:06 +01:00
|
|
|
|
|
|
|
# Ignore all logging requests
|
|
|
|
dontaudit hal_fingerprint_default storage_file:dir search;
|