1# ============================================== 2# MTK Policy Rule 3# ============================================== 4 5# Date : WK14.46 6# Operation : Migration 7# Purpose : For MTK Emulator HW GPU 8allow bootanim qemu_pipe_device:chr_file rw_file_perms; 9 10# Date : WK16.33 11# Purpose: Allow to access ged for gralloc_extra functions 12allow bootanim proc_ged:file rw_file_perms; 13 14# Date : WK17.43 15# Operation : Migration 16# Purpose : For MTK perfmgr 17allow bootanim proc_perfmgr:dir r_dir_perms; 18allow bootanim proc_perfmgr:file r_file_perms; 19 20# Date : WK19.11 21# Operation : Migration 22# Purpose : Allow to access ged for ioctl related functions 23allowxperm bootanim proc_ged:file ioctl { proc_ged_ioctls }; 24allowxperm bootanim proc_perfmgr:file ioctl { 25 PERFMGR_FPSGO_QUEUE 26 PERFMGR_FPSGO_DEQUEUE 27 PERFMGR_FPSGO_QUEUE_CONNECT 28 PERFMGR_FPSGO_BQID 29}; 30 31# Date : WK19.48 32# Operation : Migration 33# Purpose : Allow to access gpu device search 34allow bootanim gpu_device:dir search; 35