[ALPS03852714] Trustonic TEE: fix sepolicy for persistent partition

Add sepolicy rule to access persistent partition

MTK-Commit-Id: 526949cb99c2297d01f156ffb6ed6946deff348a

Change-Id: Ic9143dc14bbbac7db410f8450c34df54609d01dd
CR-Id: ALPS03852714
Feature: Trustonic TEE (Trusted Execution Environment)
This commit is contained in:
Vink Shen 2020-01-18 10:05:10 +08:00
parent c5319bb896
commit 6cc1bc6e08

View File

@ -12,5 +12,6 @@ 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
allow hal_keymaster_attestation mnt_vendor_file:dir search;
allow hal_keymaster_attestation persist_data_file:dir { write search add_name };
allow hal_keymaster_attestation persist_data_file:file { write create open getattr };