From 6969eebbef8838d3f787840afd2c0f38ba637f45 Mon Sep 17 00:00:00 2001 From: lokesh Date: Sat, 18 Jan 2020 10:09:03 +0800 Subject: [PATCH] [ALPS04340640] SELinux policy update bootanim.te Update bootanim.te file to allow IOCTL commands MTK-Commit-Id: 2fb03897488c2eb29dc2c6c700b7d9dbbb34ab65 Change-Id: I3287b1a3569b472edfb96f80f2d8765b8049e6e3 CR-Id: ALPS04340640 Feature: [Module]Settings --- non_plat/bootanim.te | 2 +- non_plat/ioctl_defines | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/non_plat/bootanim.te b/non_plat/bootanim.te index bfdc71a..665bee0 100644 --- a/non_plat/bootanim.te +++ b/non_plat/bootanim.te @@ -25,4 +25,4 @@ 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}; +allowxperm bootanim proc_ged:file ioctl { GED_BRIDGE_IO_LOG_BUF_GET GED_BRIDGE_IO_GE_GET }; diff --git a/non_plat/ioctl_defines b/non_plat/ioctl_defines index f163042..33e19e9 100755 --- a/non_plat/ioctl_defines +++ b/non_plat/ioctl_defines @@ -1,5 +1,3 @@ -define(`PROC_GED_IOCTLCMD_1', `0x00006700') -define(`PROC_GED_IOCTLCMD_3', `0x00006765') define(`GED_BRIDGE_IO_GE_ALLOC', `0x6764') define(`GED_BRIDGE_IO_GE_GET', `0x6765') define(`GED_BRIDGE_IO_LOG_BUF_GET', `0x6700')