[ALPS03841839] nvram init property rename

[Detail]nvram init property rename for Android P

[Solution]as detail

MTK-Commit-Id: 65ecb62d61060ac65847faf0706c752523ed3610

Change-Id: I8fd4a5a64681a92d0346dabab4d30821a232581b
CR-Id: ALPS03841839
Feature: NVRAM Partition
This commit is contained in:
henry huang 2020-01-18 09:40:06 +08:00
parent 664c95ece8
commit 77e5a274ef
3 changed files with 11 additions and 2 deletions

View File

@ -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)

View File

@ -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)

View File

@ -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