[ALPS04340640] SELinux policy update bootanim.te

Update bootanim.te file to allow IOCTL commands

MTK-Commit-Id: 63b0669373adc7386aa445b2e617abde5e40bcbb

Change-Id: I0e62af7c87040cd438e5e62171b830c6641e0e81
CR-Id: ALPS04340640
Feature: [Module]Settings
This commit is contained in:
lokesh 2020-01-18 10:08:39 +08:00 committed by Lokesh Tripathi
parent 9213ad4850
commit b151556fc1
2 changed files with 7 additions and 0 deletions

View File

@ -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};

2
non_plat/ioctl_defines Executable file
View File

@ -0,0 +1,2 @@
define(`PROC_GED_IOCTLCMD_1', `0x00006700')
define(`PROC_GED_IOCTLCMD_3', `0x00006765')