diff --git a/non_plat/app.te b/non_plat/app.te index e1f910e..354fd72 100644 --- a/non_plat/app.te +++ b/non_plat/app.te @@ -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 +}; diff --git a/non_plat/bootanim.te b/non_plat/bootanim.te index c6578c9..e9694a5 100644 --- a/non_plat/bootanim.te +++ b/non_plat/bootanim.te @@ -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 diff --git a/non_plat/surfaceflinger.te b/non_plat/surfaceflinger.te index dd2d230..f3bd2c4 100644 --- a/non_plat/surfaceflinger.te +++ b/non_plat/surfaceflinger.te @@ -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