From 2b5f5ceb7d9c79bac7dc754b94eb04066a4ecd89 Mon Sep 17 00:00:00 2001 From: Guobao Wang Date: Sat, 18 Jan 2020 10:18:12 +0800 Subject: [PATCH] [ALPS04714586] Allow factory to access AOSP property Add SELINUX permission to allow factory to access AOSP property persist.radio.multisim.config MTK-Commit-Id: c73e634717213512f3a41c9850b7a4320f53b74c Change-Id: I2a1f4437da9944b9c63876a9caa5549cbe29af27 CR-Id: ALPS04714586 Feature: Factory Mode --- non_plat/factory.te | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/non_plat/factory.te b/non_plat/factory.te index 14c4c54..50174a1 100644 --- a/non_plat/factory.te +++ b/non_plat/factory.te @@ -383,9 +383,6 @@ allow factory mtk_audiohal_data_file:file { write create unlink r_file_perms }; # Purpose : Allow factory to open /proc/version allow factory proc_version:file {read open getattr}; -# Allow to use persist.radio.multisim.config -allow factory exported3_radio_prop:file { read open getattr }; - # Purpose : adsp allow factory adsp_device:chr_file rw_file_perms; @@ -393,6 +390,6 @@ allow factory adsp_device:chr_file rw_file_perms; allow factory vendor_nfc_socket:dir { write add_name remove_name search }; allow factory vendor_nfc_socket:sock_file { create write unlink setattr }; -# Allow to get AOSP property -get_prop(factory, exported3_radio_prop); +# Allow to get AOSP property persist.radio.multisim.config +get_prop(factory, exported3_radio_prop)