aboutsummaryrefslogtreecommitdiffstats
path: root/tee.te
diff options
context:
space:
mode:
authorrpcraig <rpcraig@tycho.ncsc.mil>2012-08-13 06:09:39 -0400
committerrpcraig <rpcraig@tycho.ncsc.mil>2012-08-13 06:09:39 -0400
commite07b8a56b9ce87733024797018543c7faf7e6aa2 (patch)
tree93ed70a9ba0db23b8003a6b4da5684e48672e6e3 /tee.te
parenta1ce2fa2218a768823a7c39426983a248b6e4f50 (diff)
downloadandroid_external_sepolicy-e07b8a56b9ce87733024797018543c7faf7e6aa2.tar.gz
android_external_sepolicy-e07b8a56b9ce87733024797018543c7faf7e6aa2.tar.bz2
android_external_sepolicy-e07b8a56b9ce87733024797018543c7faf7e6aa2.zip
Trusted Execution Environment policy.
Diffstat (limited to 'tee.te')
-rw-r--r--tee.te13
1 files changed, 13 insertions, 0 deletions
diff --git a/tee.te b/tee.te
new file mode 100644
index 0000000..ce4e2b6
--- /dev/null
+++ b/tee.te
@@ -0,0 +1,13 @@
+##
+# trusted execution environment (tee) daemon
+#
+type tee, domain;
+type tee_exec, exec_type, file_type;
+type tee_device, dev_type;
+type tee_data_file, file_type, data_file_type;
+
+init_daemon_domain(tee)
+allow tee self:capability { dac_override };
+allow tee tee_device:chr_file rw_file_perms;
+allow tee tee_data_file:dir { getattr write add_name };
+allow tee tee_data_file:file create_file_perms;