1service netd /system/bin/netd
2    class main
3    capabilities CHOWN DAC_OVERRIDE DAC_READ_SEARCH FOWNER IPC_LOCK KILL NET_ADMIN NET_BIND_SERVICE NET_RAW SETUID SETGID
4    socket dnsproxyd stream 0660 root inet
5    socket mdns stream 0660 root system
6    socket fwmarkd stream 0660 root inet
7    onrestart restart zygote
8    onrestart restart zygote_secondary
9    # b/121354779: netd itself is not updatable, but on startup it dlopen()s the resolver library
10    # from the DNS resolver APEX. Mark it as updatable so init won't start it until all APEX
11    # packages are ready.
12    updatable
13