summaryrefslogtreecommitdiff
path: root/non_plat/mtkbootanimation.te
blob: 5e8c79e132446517115b57bd935a4c7b797f8a42 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# ==============================================
# MTK Policy Rule
# ==============================================

# Date : WK14.46
# Operation : Migration
# Purpose : For MTK Emulator HW GPU
allow mtkbootanimation qemu_pipe_device:chr_file rw_file_perms;

# Date : WK16.33
# Purpose: Allow to access ged for gralloc_extra functions
allow mtkbootanimation proc_ged:file rw_file_perms;

# ==============================================
# Type Declaration for secmem
# ==============================================
type proc_secmem, fs_type, proc_type;
# genfscon proc /secmem0 u:object_r:proc_secmem:s0;

# Date : WK14.31
# Operation : Migration
# Purpose : access to sec mem proc interface.
allow mtkbootanimation proc_secmem:file { read open};

# Date : WK14.36
# Operation : Migration
# Purpose : for ui
# allow mtkbootanimation guiext-server:binder call;
# allow mtkbootanimation guiext-server:binder transfer;

# Date : WK16.29
# Operation : Migration
# Purpose : for gpu access
allow mtkbootanimation dri_device:chr_file { read write open ioctl };

# Date : WK17.29
# Operation : Migration
# Purpose : for device bring up
# allow mtkbootanimation guiext-server_service:service_manager find;

# Date : WK17.48
# Operation : Migration
# Purpose : FPSGO integration
allow mtkbootanimation proc_perfmgr:dir {search read};
allow mtkbootanimation proc_perfmgr:file {open read ioctl};