Allow SELinux permissions for all GED proc MTK-Commit-Id: d371e1d19a81c711fa97dc73c51709c8f9eee142 Change-Id: I64155523baef9b75b8947626de7e4d5bd6b47795 CR-Id: ALPS04654005 Feature:[Module]Settings
57 lines
1.5 KiB
Plaintext
57 lines
1.5 KiB
Plaintext
# ==============================================
|
|
# 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
|
|
allow bootanim proc_ged:file rw_file_perms;
|
|
|
|
# Date : WK17.43
|
|
# Operation : Migration
|
|
# Purpose : For MTK perfmgr
|
|
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_GET
|
|
GED_BRIDGE_IO_LOG_BUF_WRITE
|
|
GED_BRIDGE_IO_LOG_BUF_RESET
|
|
GED_BRIDGE_IO_BOOST_GPU_FREQ
|
|
GED_BRIDGE_IO_MONITOR_3D_FENCE
|
|
GED_BRIDGE_IO_QUERY_INFO
|
|
GED_BRIDGE_IO_NOTIFY_VSYNC
|
|
GED_BRIDGE_IO_DVFS_PROBE
|
|
GED_BRIDGE_IO_DVFS_UM_RETURN
|
|
GED_BRIDGE_IO_EVENT_NOTIFY
|
|
GED_BRIDGE_IO_WAIT_HW_VSYNC
|
|
GED_BRIDGE_IO_QUERY_TARGET_FPS
|
|
GED_BRIDGE_IO_VSYNC_WAIT
|
|
GED_BRIDGE_IO_GPU_HINT_TO_CPU
|
|
GED_BRIDGE_IO_GE_ALLOC
|
|
GED_BRIDGE_IO_GE_GET
|
|
GED_BRIDGE_IO_GE_SET
|
|
GED_BRIDGE_IO_GPU_TIMESTAMP
|
|
GED_BRIDGE_IO_TARGET_FPS
|
|
GED_BRIDGE_IO_GE_INFO
|
|
GED_BRIDGE_IO_GPU_TUNER_STATUS
|
|
};
|
|
allowxperm bootanim proc_perfmgr:file ioctl {
|
|
PERFMGR_FPSGO_QUEUE
|
|
PERFMGR_FPSGO_DEQUEUE
|
|
PERFMGR_FPSGO_QUEUE_CONNECT
|
|
PERFMGR_FPSGO_BQID
|
|
};
|