summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChalos YL <chalos.yl@mediatek.com>2019-10-15 18:38:43 +0800
committerSharon Feng <sharon.feng@mediatek.com>2019-10-21 13:38:42 +0800
commitedb1f46ed2152cbc05d0e91873283363ea5c39ad (patch)
tree7619707ca0fb30b323ee1c60c64f800fa06136bf
parent469a87485629718c725aae81537ce5cc7295105a (diff)
downloaddevice_mediatek_wembley-sepolicy-edb1f46ed2152cbc05d0e91873283363ea5c39ad.tar.gz
device_mediatek_wembley-sepolicy-edb1f46ed2152cbc05d0e91873283363ea5c39ad.tar.bz2
device_mediatek_wembley-sepolicy-edb1f46ed2152cbc05d0e91873283363ea5c39ad.zip
[ALPS04821745] Add sepolicy for mediacodec
Codec using /proc/m4u have not permission to perform cmd 0x671a (MTK_M4U_CONFIG_PORT ARRAY) Change-Id: I8c2b91cf92ad2b13ba62d88affc31f21c193d2d5 CR-Id: ALPS04821745 Feature: H.264 Encoder
-rw-r--r--non_plat/mediacodec.te1
1 files changed, 1 insertions, 0 deletions
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;