blob: 0b1ebf4d1b31f5dcb7e0754fe29a9ed516162298 [file] [log] [blame]
# ==============================================
# Common SEPolicy Rule
# ==============================================
# Date : 2021/08/12
# Operation: Keymint 1.0
# Purpose: Access attestation key in persist partition.
allow hal_keymint_default mnt_vendor_file:dir search;
allow hal_keymint_default persist_data_file:dir search;
allow hal_keymint_default persist_data_file:file r_file_perms;
# Date : 2021/08/12
# Operation: Keymint 1.0
# Purpose : Open MobiCore access permission for keystore.
allow hal_keymint_default mobicore:unix_stream_socket { connectto read write };
allow hal_keymint_default mobicore_user_device:chr_file rw_file_perms;