aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/keystore.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/keystore.te')
-rw-r--r--sepolicy/keystore.te14
1 files changed, 14 insertions, 0 deletions
diff --git a/sepolicy/keystore.te b/sepolicy/keystore.te
new file mode 100644
index 0000000..1c6acb8
--- /dev/null
+++ b/sepolicy/keystore.te
@@ -0,0 +1,14 @@
+# ==============================================
+# MTK Policy Rule
+# ============
+
+# Date : WK14.40 2014/10/3
+# Operation : keystore CTS
+# Purpose : Open MobiCore access permission for keystore CTS hardware-backed solution
+allow keystore mobicore:unix_stream_socket { connectto read write };
+allow keystore mobicore_user_device:chr_file { read write open ioctl};
+
+# Date : WK14.40 2014/12/26
+# Operation : CTS 5.0_r1
+# Purpose : allow access to /data/data/com.android.cts.security/cache/CTS_DUMP for full CTS
+allow keystore app_data_file:file write; \ No newline at end of file