From 6af540cfae0a7f7a59ea0a0d57f0173ba97a3be5 Mon Sep 17 00:00:00 2001 From: Chris-YC Chen Date: Sat, 18 Jan 2020 10:19:11 +0800 Subject: [PATCH] [ALPS04723991] mmservice 1.3 1. update mmservice to 1.3 2. PQ func sup in MMS by FD MTK-Commit-Id: 667fe3cc027eb10d8f637b53ed95191f0775fdc0 Change-Id: I2519b020e10af3036ad30c59d7761cf741417456 CR-Id: ALPS04723991 Feature: [Module]MDP Driver --- non_plat/file_contexts | 4 ++-- non_plat/mtk_hal_mms.te | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/non_plat/file_contexts b/non_plat/file_contexts index 97d0854..41ff62e 100644 --- a/non_plat/file_contexts +++ b/non_plat/file_contexts @@ -551,8 +551,8 @@ #PQ hal /(system\/vendor|vendor)/bin/hw/vendor\.mediatek\.hardware\.pq@2\.2-service u:object_r:mtk_hal_pq_exec:s0 #MMS hal -/(system\/vendor|vendor)/bin/hw/vendor\.mediatek\.hardware\.mms@1\.2-service u:object_r:mtk_hal_mms_exec:s0 -/(system\/vendor|vendor)/bin/hw/vendor\.mediatek\.hardware\.mms@1\.2-service-lazy u:object_r:mtk_hal_mms_exec:s0 +/(system\/vendor|vendor)/bin/hw/vendor\.mediatek\.hardware\.mms@1\.3-service u:object_r:mtk_hal_mms_exec:s0 +/(system\/vendor|vendor)/bin/hw/vendor\.mediatek\.hardware\.mms@1\.3-service-lazy u:object_r:mtk_hal_mms_exec:s0 # Keymaster Attestation Hal /(system\/vendor|vendor)/bin/hw/vendor\.mediatek\.hardware\.keymaster_attestation@1\.1-service u:object_r:hal_keymaster_attestation_exec:s0 #ST NFC 1.2 hidl service diff --git a/non_plat/mtk_hal_mms.te b/non_plat/mtk_hal_mms.te index 12df5bf..8ebbcaf 100755 --- a/non_plat/mtk_hal_mms.te +++ b/non_plat/mtk_hal_mms.te @@ -51,3 +51,5 @@ allowxperm mtk_hal_mms proc_mtk_jpeg:file ioctl { JPG_BRIDGE_ENC_IO_DEINIT JPG_BRIDGE_ENC_IO_START }; +# Allow to use mms by JPEG with handle +allow mtk_hal_mms platform_app:fd use;