From 2a609d6b82dea7ea756337ba5e0372c765c87699 Mon Sep 17 00:00:00 2001 From: Jianping Jiang Date: Sat, 18 Jan 2020 10:14:59 +0800 Subject: [PATCH] [ALPS04641743] GPS: factory execute mnld fail Move mnld execute permission for factory from bsp to basic. MTK-Commit-Id: 5f8449ec00c670d7b0901b9b4c167ee502cab88d Change-Id: Ifdb13b700f63572b9df2ff0bb64315a42375df71 CR-Id: ALPS04641743 Feature: Factory Mode --- non_plat/factory.te | 1 + non_plat/meta_tst.te | 1 + 2 files changed, 2 insertions(+) diff --git a/non_plat/factory.te b/non_plat/factory.te index a422ac7..b8dcc68 100644 --- a/non_plat/factory.te +++ b/non_plat/factory.te @@ -160,6 +160,7 @@ allow factory mt6605_device:chr_file rwx_file_perms; #Purpose: For gps test allow factory mnld_device:chr_file rw_file_perms; +allow factory mnld_exec:file rx_file_perms; #Purpose: For keypad test allow factory mtk_kpd_device:chr_file r_file_perms; diff --git a/non_plat/meta_tst.te b/non_plat/meta_tst.te index 86dcc53..39d19de 100644 --- a/non_plat/meta_tst.te +++ b/non_plat/meta_tst.te @@ -146,6 +146,7 @@ allow meta_tst tmpfs:lnk_file read; allow meta_tst agpsd_data_file:dir search; allow meta_tst agpsd_data_file:sock_file write; allow meta_tst mnld_device:chr_file rw_file_perms; +allow meta_tst mnld_exec:file rx_file_perms; set_prop(meta_tst, mnld_prop); # Date: WK16.12