From 96c9971cfd1cad016749f1db4962630ea7cdadb1 Mon Sep 17 00:00:00 2001 From: lokesh Date: Sat, 18 Jan 2020 10:14:58 +0800 Subject: [PATCH] [ALPS04654005] Selinux error bootanimation Allow SELinux permissions for all GED proc MTK-Commit-Id: d371e1d19a81c711fa97dc73c51709c8f9eee142 Change-Id: I64155523baef9b75b8947626de7e4d5bd6b47795 CR-Id: ALPS04654005 Feature:[Module]Settings --- non_plat/bootanim.te | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/non_plat/bootanim.te b/non_plat/bootanim.te index 5027d92..d8caa3a 100644 --- a/non_plat/bootanim.te +++ b/non_plat/bootanim.te @@ -26,13 +26,27 @@ allow bootanim proc_perfmgr:file r_file_perms; # Operation : Migration # Purpose : Allow to access ged for ioctl related functions allowxperm bootanim proc_ged:file ioctl { - GED_BRIDGE_IO_LOG_BUF_WRITE GED_BRIDGE_IO_LOG_BUF_GET - GED_BRIDGE_IO_GE_GET - GED_BRIDGE_IO_GE_SET + GED_BRIDGE_IO_LOG_BUF_WRITE + GED_BRIDGE_IO_LOG_BUF_RESET + GED_BRIDGE_IO_BOOST_GPU_FREQ GED_BRIDGE_IO_MONITOR_3D_FENCE GED_BRIDGE_IO_QUERY_INFO + GED_BRIDGE_IO_NOTIFY_VSYNC + GED_BRIDGE_IO_DVFS_PROBE + GED_BRIDGE_IO_DVFS_UM_RETURN + GED_BRIDGE_IO_EVENT_NOTIFY + GED_BRIDGE_IO_WAIT_HW_VSYNC + GED_BRIDGE_IO_QUERY_TARGET_FPS + GED_BRIDGE_IO_VSYNC_WAIT + GED_BRIDGE_IO_GPU_HINT_TO_CPU + GED_BRIDGE_IO_GE_ALLOC + GED_BRIDGE_IO_GE_GET + GED_BRIDGE_IO_GE_SET + GED_BRIDGE_IO_GPU_TIMESTAMP + GED_BRIDGE_IO_TARGET_FPS GED_BRIDGE_IO_GE_INFO + GED_BRIDGE_IO_GPU_TUNER_STATUS }; allowxperm bootanim proc_perfmgr:file ioctl { PERFMGR_FPSGO_QUEUE