Merge "[ALPS04331194] FPSGO: add ioctl permission" into alps-trunk-q0.basic

Change-Id: I7075fa8fd2af0240703602cc4952cc1d0f8348e8
MTK-Commit-Id: ea29b11fa2ea2e6bfb81772d2fbee163487ff987
This commit is contained in:
Ian-Y Chen (陳尹) 2020-01-18 10:09:38 +08:00 committed by Gerrit Code Review
commit c9ea8dd7b4
3 changed files with 19 additions and 0 deletions

View File

@ -20,3 +20,9 @@ allow appdomain mtk_cmdq_device:chr_file {open read ioctl};
# Purpose : Allow HWUI to access perfmgr
allow appdomain proc_perfmgr:dir search;
allow appdomain proc_perfmgr:file { getattr open read ioctl};
allowxperm appdomain proc_perfmgr:file ioctl {
FPSGO_QUEUE
FPSGO_DEQUEUE
FPSGO_QUEUE_CONNECT
FPSGO_BQID
};

View File

@ -21,6 +21,12 @@ allow bootanim proc_ged:file {open read write ioctl getattr};
# Purpose : For MTK perfmgr
allow bootanim proc_perfmgr:dir {search read};
allow bootanim proc_perfmgr:file {open read ioctl};
allowxperm bootanim proc_perfmgr:file ioctl {
FPSGO_QUEUE
FPSGO_DEQUEUE
FPSGO_QUEUE_CONNECT
FPSGO_BQID
};
# Date : WK19.11
# Operation : Migration

View File

@ -46,6 +46,13 @@ allow surfaceflinger mtkbootanimation:file { read getattr open };
# Purpose: Allow to access perfmgr
allow surfaceflinger proc_perfmgr:dir {read search};
allow surfaceflinger proc_perfmgr:file {open read ioctl};
allowxperm surfaceflinger proc_perfmgr:file ioctl {
FPSGO_QUEUE
FPSGO_DEQUEUE
FPSGO_QUEUE_CONNECT
FPSGO_BQID
FPSGO_VSYNC
};
# Date : WK17.43
# Operation : Debug