From 8af759bcb1dda77cfebdb75f10d783ec0b1e3bfb Mon Sep 17 00:00:00 2001 From: Chalos YL Date: Sat, 18 Jan 2020 10:21:28 +0800 Subject: [PATCH] [ALPS04821745] Add sepolicy for mediacodec Codec using /proc/m4u have not permission to perform cmd 0x671a (MTK_M4U_CONFIG_PORT ARRAY) MTK-Commit-Id: edb1f46ed2152cbc05d0e91873283363ea5c39ad Change-Id: I8c2b91cf92ad2b13ba62d88affc31f21c193d2d5 CR-Id: ALPS04821745 Feature: H.264 Encoder --- non_plat/mediacodec.te | 1 + 1 file changed, 1 insertion(+) diff --git a/non_plat/mediacodec.te b/non_plat/mediacodec.te index 63aed9f..8091280 100644 --- a/non_plat/mediacodec.te +++ b/non_plat/mediacodec.te @@ -152,4 +152,5 @@ allowxperm mediacodec proc_m4u:file ioctl MTK_M4U_T_SEC_INIT; # Purpose: Android Migration for Hybrid Encoder allowxperm mediacodec proc_m4u:file ioctl MTK_M4U_T_CONFIG_PORT; allowxperm mediacodec proc_m4u:file ioctl MTK_M4U_T_CACHE_SYNC; +allowxperm mediacodec proc_m4u:file ioctl MTK_M4U_T_CONFIG_PORT_ARRAY;