forked from openkylin/platform_build
Merge "Update device to use set_prop() macro"
This commit is contained in:
commit
e89b6f5df1
|
@ -13,6 +13,5 @@ allow goldfish_setup self:capability { net_admin net_raw };
|
|||
allow goldfish_setup self:udp_socket create_socket_perms;
|
||||
|
||||
# Set net.eth0.dns*, debug.sf.nobootanimation
|
||||
unix_socket_connect(goldfish_setup, property, init)
|
||||
allow goldfish_setup system_prop:property_service set;
|
||||
allow goldfish_setup debug_prop:property_service set;
|
||||
set_prop(goldfish_setup, system_prop)
|
||||
set_prop(goldfish_setup, debug_prop)
|
||||
|
|
|
@ -5,5 +5,6 @@ type qemu_props_exec, exec_type, file_type;
|
|||
init_daemon_domain(qemu_props)
|
||||
|
||||
# Set properties.
|
||||
unix_socket_connect(qemu_props, property, init)
|
||||
allow qemu_props { qemu_prop dalvik_prop config_prop }:property_service set;
|
||||
set_prop(qemu_props, qemu_prop)
|
||||
set_prop(qemu_props, dalvik_prop)
|
||||
set_prop(qemu_props, config_prop)
|
||||
|
|
Loading…
Reference in New Issue