2021-09-03 13:37:32 -04:00
|
|
|
type vendor_mfp-daemon, domain;
|
|
|
|
type vendor_mfp-daemon_exec, exec_type, vendor_file_type, file_type;
|
2021-10-13 16:07:28 -04:00
|
|
|
type vendor_fingerprint_data_file, data_file_type, file_type;
|
2021-10-13 16:16:31 -04:00
|
|
|
type vendor_fingerprint_device, dev_type;
|
2021-10-18 03:00:06 -04:00
|
|
|
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;
|
2021-10-18 17:25:55 -04:00
|
|
|
type vendor_hal_fingerprint_hwservice_xiaomi, hwservice_manager_type;
|
2021-10-13 16:07:28 -04:00
|
|
|
|
2021-10-18 02:49:03 -04:00
|
|
|
hal_server_domain(vendor_mfp-daemon, hal_fingerprint)
|
|
|
|
init_daemon_domain(vendor_mfp-daemon)
|
2021-10-18 17:25:55 -04:00
|
|
|
add_hwservice(vendor_mfp-daemon, vendor_hal_fingerprint_hwservice_xiaomi)
|
2021-10-18 02:49:03 -04:00
|
|
|
|
2021-10-18 03:00:06 -04:00
|
|
|
set_prop(vendor_mfp-daemon, vendor_fp_prop)
|
|
|
|
set_prop(vendor_mfp-daemon, vendor_fp_info_prop)
|
|
|
|
|
2021-10-18 18:22:01 -04:00
|
|
|
allow vendor_mfp-daemon vendor_hal_perf_hwservice:hwservice_manager { find };
|
|
|
|
|
2021-10-13 16:07:28 -04:00
|
|
|
allow vendor_mfp-daemon vendor_fingerprint_data_file:dir create_dir_perms;
|
|
|
|
allow vendor_mfp-daemon vendor_fingerprint_data_file:file create_file_perms;
|
2021-10-13 16:10:42 -04:00
|
|
|
allow vendor_mfp-daemon tee_device:chr_file rw_file_perms;
|
2021-10-13 16:16:31 -04:00
|
|
|
allow vendor_mfp-daemon vendor_fingerprint_device:chr_file rwx_file_perms;
|
2021-10-13 16:29:56 -04:00
|
|
|
allow vendor_mfp-daemon fingerprint_vendor_data_file:dir create_dir_perms;
|
|
|
|
allow vendor_mfp-daemon fingerprint_vendor_data_file:file create_file_perms;
|
2021-10-18 03:15:48 -04:00
|
|
|
allow vendor_mfp-daemon input_device:dir r_dir_perms;
|
|
|
|
allow vendor_mfp-daemon input_device:chr_file rw_file_perms;
|
2021-10-18 18:34:22 -04:00
|
|
|
allow vendor_mfp-daemon self:netlink_socket create_socket_perms_no_ioctl;
|