1type hal_keymaster_attestation, domain; 2hal_server_domain(hal_keymaster_attestation, mtk_hal_keyattestation) 3 4type hal_keymaster_attestation_exec, exec_type, vendor_file_type, file_type; 5init_daemon_domain(hal_keymaster_attestation) 6 7hwbinder_use(hal_keymaster_attestation); 8 9#============= hal_keymaster_attestation ============== 10allow hal_keymaster_attestation tee_device:chr_file { read write open ioctl }; 11 12# Date : WK17.42 2017/10/19 13# Operation: Keymaster 3.0 14# Purpose: Access attestation key in persist partition 15allow hal_keymaster_attestation mnt_vendor_file:dir search; 16allow hal_keymaster_attestation persist_data_file:dir { write search add_name }; 17allow hal_keymaster_attestation persist_data_file:file { write create open getattr }; 18