From 9018986a9aaf67190e0263d9d76f294e00d47f91 Mon Sep 17 00:00:00 2001 From: Jenny Hsu Date: Sat, 18 Jan 2020 10:15:12 +0800 Subject: [PATCH] [ALPS04653648] Factory Mode: fix SElinux policy [Detail] Add whitelist for SELinux avc denied problem MTK-Commit-Id: 77c1c8b73aa059657ab355206e5bc73410db6534 Change-Id: I1e8911b3ccd94a0d59ab6f22dd7948d4fcb89abf CR-Id: ALPS04653648 Feature: Factory Mode --- non_plat/factory.te | 1 + 1 file changed, 1 insertion(+) diff --git a/non_plat/factory.te b/non_plat/factory.te index c781957..2214544 100644 --- a/non_plat/factory.te +++ b/non_plat/factory.te @@ -197,6 +197,7 @@ allow factory camera_owe_device:chr_file rw_file_perms; allow factory camera_mfb_device:chr_file rw_file_perms; allow factory mtk_hal_power_hwservice:hwservice_manager find; allow factory vendor_data_file:file getattr; +allow factory mtk_hal_power:binder call; get_prop(factory,mediatek_prop); #Purpose: For FM test and headset test allow factory accdet_device:chr_file r_file_perms;