[ALPS04331194] FPSGO: add ioctl permission
[Detail] add FPSGO ioctl permission MTK-Commit-Id: 4466c4e3c548c134be6939fa50e4c8d3f37a257a Change-Id: I0c10abd0e780f764ff423442ea3d1b6ed66177c6 CR-Id: ALPS04331194 Feature: FPSGO
This commit is contained in:
parent
a27e813df1
commit
de970ad094
@ -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
|
||||
};
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user