From a02af8288209051d0d82a947e30e671ddfabe848 Mon Sep 17 00:00:00 2001 From: Tim Chang Date: Sat, 18 Jan 2020 10:13:25 +0800 Subject: [PATCH] [ALPS04294481] WMT: add sepolicy for wmt_dbg Add a rule to allow vendor_init have write permission to proc_wmtdbg. MTK-Commit-Id: fcdffbb167f1e860b31027357c5249c99b4b0281 Change-Id: I7b74e284ce9d9de1400c59bbf1f3e11188ec5245 Signed-off-by: Tim Chang CR-Id: ALPS04294481 Feature: [Module]WMT Driver --- non_plat/vendor_init.te | 1 + 1 file changed, 1 insertion(+) diff --git a/non_plat/vendor_init.te b/non_plat/vendor_init.te index 0275681..7ae8d15 100644 --- a/non_plat/vendor_init.te +++ b/non_plat/vendor_init.te @@ -9,6 +9,7 @@ allow vendor_init vendor_radio_prop:property_service set; allow vendor_init mtk_ril_mode_prop:property_service set; allow vendor_init wmt_prop:property_service set; allow vendor_init coredump_prop:property_service set; +allow vendor_init proc_wmtdbg:file w_file_perms; allow vendor_init vold_prop:property_service set; allow vendor_init proc:file write;