am 53df3d67: am e89b6f5d: Merge "Update device to use set_prop() macro"

* commit '53df3d67b22b70dff841b41603945d1ae4221246':
  Update device to use set_prop() macro
This commit is contained in:
Nick Kralevich 2015-05-15 19:46:52 +00:00 committed by Android Git Automerger
commit 05c3f7cee1
2 changed files with 5 additions and 5 deletions

View file

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

View file

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