aboutsummaryrefslogtreecommitdiff
path: root/sepolicy/bootanim.te
diff options
context:
space:
mode:
Diffstat (limited to 'sepolicy/bootanim.te')
-rwxr-xr-xsepolicy/bootanim.te43
1 files changed, 43 insertions, 0 deletions
diff --git a/sepolicy/bootanim.te b/sepolicy/bootanim.te
new file mode 100755
index 0000000..4dfc6ba
--- /dev/null
+++ b/sepolicy/bootanim.te
@@ -0,0 +1,43 @@
+# ==============================================
+# MTK Policy Rule
+# ============
+
+
+# Date : WK14.31
+# Operation : Migration
+# Purpose : for L early bring up
+allow bootanim self:netlink_socket { read bind create write};
+allow bootanim proc_secmem:file { read open};
+
+# Date : WK14.32
+# Operation : Migration
+# Purpose : for playing boot tone
+allow bootanim mediaserver:binder call;
+allow bootanim mediaserver:binder transfer;
+
+# Date : WK14.36
+# Operation : Migration
+# Purpose : for ui
+allow bootanim guiext-server:binder call;
+allow bootanim guiext-server:binder transfer;
+
+# Date : WK14.37
+# Operation : Migration
+# Purpose : for op
+allow bootanim terservice:binder call;
+allow bootanim property_socket:sock_file write;
+allow bootanim init:unix_stream_socket connectto;
+allow bootanim custom_file:dir search;
+allow bootanim custom_file:file open;
+allow bootanim custom_file:file read;
+allow bootanim bootani_prop:property_service set;
+
+# Date : WK14.43
+# Operation : Migration
+# Purpose : for policy migration
+allow bootanim debug_prop:property_service set;
+
+# Date : WK14.46
+# Operation : Migration
+# Purpose : for MTK Emulator HW GPU
+allow bootanim qemu_pipe_device:chr_file rw_file_perms; \ No newline at end of file