diff --git a/non_plat/bootanim.te b/non_plat/bootanim.te index 91b6e86..bfdc71a 100644 --- a/non_plat/bootanim.te +++ b/non_plat/bootanim.te @@ -21,3 +21,8 @@ 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}; + +# Date : WK19.11 +# Operation : Migration +# Purpose : Allow to access ged for ioctl related functions +allowxperm bootanim proc_ged:file ioctl {PROC_GED_IOCTLCMD_1 PROC_GED_IOCTLCMD_3}; diff --git a/non_plat/ioctl_defines b/non_plat/ioctl_defines new file mode 100755 index 0000000..c7cbc39 --- /dev/null +++ b/non_plat/ioctl_defines @@ -0,0 +1,2 @@ +define(`PROC_GED_IOCTLCMD_1', `0x00006700') +define(`PROC_GED_IOCTLCMD_3', `0x00006765')