2020-01-18 09:29:32 +08:00
|
|
|
type hal_keymaster_attestation, domain;
|
|
|
|
hal_server_domain(hal_keymaster_attestation, mtk_hal_keyattestation)
|
|
|
|
|
|
|
|
type hal_keymaster_attestation_exec, exec_type, vendor_file_type, file_type;
|
|
|
|
init_daemon_domain(hal_keymaster_attestation)
|
|
|
|
|
|
|
|
hwbinder_use(hal_keymaster_attestation);
|
|
|
|
|
|
|
|
#============= hal_keymaster_attestation ==============
|
|
|
|
allow hal_keymaster_attestation tee_device:chr_file { read write open ioctl };
|
|
|
|
|
|
|
|
# Date : WK17.42 2017/10/19
|
|
|
|
# Operation: Keymaster 3.0
|
|
|
|
# Purpose: Access attestation key in persist partition
|
2020-01-18 10:05:10 +08:00
|
|
|
allow hal_keymaster_attestation mnt_vendor_file:dir search;
|
2020-01-18 09:29:32 +08:00
|
|
|
allow hal_keymaster_attestation persist_data_file:dir { write search add_name };
|
|
|
|
allow hal_keymaster_attestation persist_data_file:file { write create open getattr };
|
2020-12-28 12:07:12 +05:30
|
|
|
|
|
|
|
allow hal_keymaster_attestation ut_keymaster_device:chr_file { read write ioctl open };
|
2020-12-30 16:52:24 +05:30
|
|
|
|
|
|
|
allow hal_keymaster_attestation teei_client_device:chr_file { read write open ioctl};
|