1# ============================================== 2# MTK Policy Rule 3# ============================================== 4 5# Date : WK14.46 6# Operation : Migration 7# Purpose : For MTK Emulator HW GPU 8allow mtkbootanimation qemu_pipe_device:chr_file rw_file_perms; 9 10# Date : WK16.33 11# Purpose: Allow to access ged for gralloc_extra functions 12allow mtkbootanimation proc_ged:file rw_file_perms; 13 14# ============================================== 15# Type Declaration for secmem 16# ============================================== 17type proc_secmem, fs_type, proc_type; 18# genfscon proc /secmem0 u:object_r:proc_secmem:s0; 19 20# Date : WK14.31 21# Operation : Migration 22# Purpose : access to sec mem proc interface. 23allow mtkbootanimation proc_secmem:file { read open}; 24 25# Date : WK14.36 26# Operation : Migration 27# Purpose : for ui 28# allow mtkbootanimation guiext-server:binder call; 29# allow mtkbootanimation guiext-server:binder transfer; 30 31# Date : WK16.29 32# Operation : Migration 33# Purpose : for gpu access 34allow mtkbootanimation dri_device:chr_file { read write open ioctl }; 35 36# Date : WK17.29 37# Operation : Migration 38# Purpose : for device bring up 39# allow mtkbootanimation guiext-server_service:service_manager find; 40 41# Date : WK17.48 42# Operation : Migration 43# Purpose : FPSGO integration 44allow mtkbootanimation proc_perfmgr:dir {search read}; 45allow mtkbootanimation proc_perfmgr:file {open read ioctl}; 46