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