aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/fota1.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/fota1.te')
-rw-r--r--sepolicy/fota1.te23
1 files changed, 23 insertions, 0 deletions
diff --git a/sepolicy/fota1.te b/sepolicy/fota1.te
new file mode 100644
index 0000000..3d0e06d
--- /dev/null
+++ b/sepolicy/fota1.te
@@ -0,0 +1,23 @@
+# ==============================================
+# Policy File of /system/bin/fota1 Executable File
+
+# ==============================================
+# Type Declaration
+# ==============================================
+type fota1, domain;
+type fota1_exec, exec_type, file_type;
+
+# ==============================================
+# MTK Policy Rule
+# ==============================================
+
+init_daemon_domain(fota1)
+
+# Date : WK14.46
+# Operation : Migration
+# Purpose : For recovery and tee1 upgrade
+allow fota1 cache_file:file append;
+allow fota1 misc_device:chr_file { write open };
+allow fota1 platformblk_device:blk_file { read write open };
+allow fota1 platformblk_device:dir search;
+allow fota1 recovery_device:chr_file { read write open };