diff --git a/non_plat/nvram_agent_binder.te b/non_plat/nvram_agent_binder.te index 4da9faa..bb42264 100644 --- a/non_plat/nvram_agent_binder.te +++ b/non_plat/nvram_agent_binder.te @@ -68,3 +68,7 @@ hwbinder_use(nvram_agent_binder); # Allow a set of permissions required for a domain to be a server which provides a HAL implementation over HWBinder. hal_server_domain(nvram_agent_binder, hal_nvramagent) +# Date : WK18.16 +# Operation: P migration +# Purpose: Allow nvram_daemon to get tel_switch_prop +get_prop(nvram_daemon, tel_switch_prop) \ No newline at end of file diff --git a/non_plat/nvram_daemon.te b/non_plat/nvram_daemon.te index 95517b2..b55e5ef 100644 --- a/non_plat/nvram_daemon.te +++ b/non_plat/nvram_daemon.te @@ -75,7 +75,7 @@ allow nvram_daemon proc_lk_env:file rw_file_perms; #allow nvram_daemon system_data_file:dir write; # Purpose: property set -#allow nvram_daemon service_nvram_init_prop:property_service set; +allow nvram_daemon service_nvram_init_prop:property_service set; # Purpose: copy /fstab* allow nvram_daemon rootfs:dir { read open }; @@ -101,3 +101,8 @@ set_prop(nvram_daemon, wifi_5g_prop) #WK17.26 camera 8163 allow nvram_daemon sysfs:dir read; allow nvram_daemon sysfs:file read; + +# Date : WK18.16 +# Operation: P migration +# Purpose: Allow nvram_daemon to get tel_switch_prop +get_prop(nvram_daemon, tel_switch_prop) \ No newline at end of file diff --git a/non_plat/property_contexts b/non_plat/property_contexts index 5ee9fbd..4a50344 100644 --- a/non_plat/property_contexts +++ b/non_plat/property_contexts @@ -117,7 +117,7 @@ vendor.debug.factory.idle_state u:object_r:vendor_factory_idle_state_prop:s0 ftrace.buffer.log u:object_r:ftrace_log_prop:s0 #=============allow service.nvram_init property================ -service.nvram_init u:object_r:service_nvram_init_prop:s0 +vendor.service.nvram_init u:object_r:service_nvram_init_prop:s0 #=============allow ro.wlan.mtk.wifi.5g property================ ro.wlan.mtk.wifi.5g u:object_r:wifi_5g_prop:s0