From 6f42a44be548ab1beaac7b0298c51917d7e2f8d9 Mon Sep 17 00:00:00 2001 From: "hao.wang" Date: Sat, 18 Jan 2020 10:18:35 +0800 Subject: [PATCH] [ALPS04724423] Add postalgo selinux policy Allow to use graphics allocator fd for gralloc_extra MTK-Commit-Id: b8f8c10636d3686077304ffe6bf21ead1f864945 Change-Id: Ieaa05216c4343eda7b7cda10c6eb6a75c0330208 CR-Id: ALPS04724423 Feature: Camera Application (cherry picked from commit 95f9b0b32e24984700f33d666dd4521a3209c73a) --- non_plat/mtk_hal_mms.te | 2 ++ 1 file changed, 2 insertions(+) diff --git a/non_plat/mtk_hal_mms.te b/non_plat/mtk_hal_mms.te index 703ffda..530b49c 100755 --- a/non_plat/mtk_hal_mms.te +++ b/non_plat/mtk_hal_mms.te @@ -36,3 +36,5 @@ allow mtk_hal_mms proc:file r_file_perms; # Purpose : Allow to use allocator for JPEG hal_client_domain(mtk_hal_mms, hal_allocator) allow mtk_hal_mms mtk_hal_pq:binder call; +allow mtk_hal_mms hal_graphics_allocator_default:fd use; +allow mtk_hal_mms debugfs_ion:dir search;