Merge "[ALPS03841839] nvram init property rename" into alps-trunk-p0.basic

Change-Id: I05c4129f1579d908a416fa97bb3650d01b2de842
MTK-Commit-Id: 107e79ea03725db288290347d30cdcfd8e354a18
This commit is contained in:
Henry Huang (黃健智) 2020-01-18 09:40:15 +08:00 committed by Gerrit Code Review
commit 4991b689c6
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. # 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) 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; #allow nvram_daemon system_data_file:dir write;
# Purpose: property set # 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* # Purpose: copy /fstab*
allow nvram_daemon rootfs:dir { read open }; allow nvram_daemon rootfs:dir { read open };
@ -101,3 +101,8 @@ set_prop(nvram_daemon, wifi_5g_prop)
#WK17.26 camera 8163 #WK17.26 camera 8163
allow nvram_daemon sysfs:dir read; allow nvram_daemon sysfs:dir read;
allow nvram_daemon sysfs:file 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 ftrace.buffer.log u:object_r:ftrace_log_prop:s0
#=============allow service.nvram_init property================ #=============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================ #=============allow ro.wlan.mtk.wifi.5g property================
ro.wlan.mtk.wifi.5g u:object_r:wifi_5g_prop:s0 ro.wlan.mtk.wifi.5g u:object_r:wifi_5g_prop:s0