Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit e89b6f5d authored by Nick Kralevich's avatar Nick Kralevich Committed by Gerrit Code Review
Browse files

Merge "Update device to use set_prop() macro"

parents cea991d7 cccc9016
Loading
Loading
Loading
Loading
+2 −3
Original line number Original line Diff line number Diff line
@@ -13,6 +13,5 @@ allow goldfish_setup self:capability { net_admin net_raw };
allow goldfish_setup self:udp_socket create_socket_perms;
allow goldfish_setup self:udp_socket create_socket_perms;


# Set net.eth0.dns*, debug.sf.nobootanimation
# Set net.eth0.dns*, debug.sf.nobootanimation
unix_socket_connect(goldfish_setup, property, init)
set_prop(goldfish_setup, system_prop)
allow goldfish_setup system_prop:property_service set;
set_prop(goldfish_setup, debug_prop)
allow goldfish_setup debug_prop:property_service set;
+3 −2
Original line number Original line Diff line number Diff line
@@ -5,5 +5,6 @@ type qemu_props_exec, exec_type, file_type;
init_daemon_domain(qemu_props)
init_daemon_domain(qemu_props)


# Set properties.
# Set properties.
unix_socket_connect(qemu_props, property, init)
set_prop(qemu_props, qemu_prop)
allow qemu_props { qemu_prop dalvik_prop config_prop }:property_service set;
set_prop(qemu_props, dalvik_prop)
set_prop(qemu_props, config_prop)