2020-01-18 09:29:32 +08:00
|
|
|
# ==============================================
|
|
|
|
# MTK Policy Rule
|
|
|
|
# ============
|
|
|
|
|
|
|
|
# Date : WK14.37
|
|
|
|
# Operation : Migration
|
|
|
|
# Purpose : for opetator
|
|
|
|
allow bootanim bootani_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;
|
|
|
|
|
|
|
|
# Date : WK16.33
|
|
|
|
# Purpose: Allow to access ged for gralloc_extra functions
|
2020-01-18 10:12:28 +08:00
|
|
|
allow bootanim proc_ged:file rw_file_perms;
|
2020-01-18 09:29:32 +08:00
|
|
|
|
|
|
|
# Date : WK17.43
|
|
|
|
# Operation : Migration
|
|
|
|
# Purpose : For MTK perfmgr
|
2020-01-18 10:12:28 +08:00
|
|
|
allow bootanim proc_perfmgr:dir r_dir_perms;
|
|
|
|
allow bootanim proc_perfmgr:file r_file_perms;
|
|
|
|
|
|
|
|
# Date : WK19.11
|
|
|
|
# Operation : Migration
|
|
|
|
# Purpose : Allow to access ged for ioctl related functions
|
|
|
|
allowxperm bootanim proc_ged:file ioctl {
|
|
|
|
GED_BRIDGE_IO_LOG_BUF_WRITE
|
|
|
|
GED_BRIDGE_IO_LOG_BUF_GET
|
|
|
|
GED_BRIDGE_IO_GE_GET
|
|
|
|
GED_BRIDGE_IO_GE_SET
|
|
|
|
GED_BRIDGE_IO_MONITOR_3D_FENCE
|
|
|
|
GED_BRIDGE_IO_QUERY_INFO
|
|
|
|
GED_BRIDGE_IO_GE_INFO
|
|
|
|
};
|
2020-01-18 10:09:36 +08:00
|
|
|
allowxperm bootanim proc_perfmgr:file ioctl {
|
|
|
|
FPSGO_QUEUE
|
|
|
|
FPSGO_DEQUEUE
|
|
|
|
FPSGO_QUEUE_CONNECT
|
|
|
|
FPSGO_BQID
|
|
|
|
};
|