/external/dnsmasq/src/ |
D | dnsmasq.c | 37 struct daemon* daemon; variable 155 if (daemon->edns_pktsz < PACKETSZ) daemon->edns_pktsz = PACKETSZ; in main() 156 daemon->packet_buff_sz = in main() 157 daemon->edns_pktsz > DNSMASQ_PACKETSZ ? daemon->edns_pktsz : DNSMASQ_PACKETSZ; in main() 158 daemon->packet = safe_malloc(daemon->packet_buff_sz); in main() 161 if (!daemon->lease_file) { in main() 162 if (daemon->dhcp) daemon->lease_file = LEASEFILE; in main() 171 if (!(daemon->options & OPT_NOWILD)) { in main() 173 daemon->options |= OPT_NOWILD; in main() 182 if (daemon->dhcp) { in main() [all …]
|
D | forward.c | 117 for (serv = daemon->servers; serv; serv = serv->next) in search_servers() 165 if (flags == 0 && !(qtype & F_BIGNAME) && (daemon->options & OPT_NODOTS_LOCAL) && in search_servers() 189 unsigned int crc = questions_crc(header, plen, daemon->namebuff); in forward_query() 191 unsigned short gotname = extract_request(header, plen, daemon->namebuff, NULL); in forward_query() 195 if (!daemon->servers) in forward_query() 201 if (!(daemon->options & OPT_ORDER)) { in forward_query() 203 daemon->last_server = NULL; in forward_query() 206 if (!(start = forward->sentto->next)) start = daemon->servers; /* at end of list, recycle */ in forward_query() 209 if (gotname) flags = search_servers(now, &addrp, gotname, daemon->namebuff, &type, &domain); in forward_query() 233 if (type != 0 || (daemon->options & OPT_ORDER)) in forward_query() [all …]
|
D | option.c | 591 r->next = daemon->txt; in add_txt() 592 daemon->txt = r; in add_txt() 889 new->next = daemon->dhcp_match; in parse_dhcp_opt() 890 daemon->dhcp_match = new; in parse_dhcp_opt() 893 new->next = daemon->dhcp_opts; in parse_dhcp_opt() 894 daemon->dhcp_opts = new; in parse_dhcp_opt() 925 daemon->options |= rept; in one_opt() 1012 daemon->log_file = opt_string_alloc(arg); in one_opt() 1021 daemon->log_fac = facilitynames[i].c_val; in one_opt() 1029 daemon->runfile = opt_string_alloc(arg); in one_opt() [all …]
|
D | lease.c | 33 daemon->dhcp_buff = safe_malloc(256); in lease_init() 34 daemon->dhcp_buff2 = safe_malloc(256); in lease_init() 36 leases_left = daemon->dhcp_max; in lease_init() 38 if (daemon->options & OPT_LEASE_RO) { in lease_init() 44 if (daemon->lease_change_command) { in lease_init() 45 strcpy(daemon->dhcp_buff, daemon->lease_change_command); in lease_init() 46 strcat(daemon->dhcp_buff, " init"); in lease_init() 47 leasestream = popen(daemon->dhcp_buff, "r"); in lease_init() 57 leasestream = daemon->lease_stream = fopen(daemon->lease_file, "a+"); in lease_init() 60 die(_("cannot open or create lease file %s: %s"), daemon->lease_file, EC_FILE); in lease_init() [all …]
|
D | network.c | 59 for (bridge = daemon->bridges; bridge; bridge = bridge->next) { in iface_check() 77 if (daemon->if_names || (addr && daemon->if_addrs)) { in iface_check() 80 for (tmp = daemon->if_names; tmp; tmp = tmp->next) in iface_check() 83 for (tmp = daemon->if_addrs; tmp; tmp = tmp->next) in iface_check() 97 for (tmp = daemon->if_except; tmp; tmp = tmp->next) in iface_check() 134 if (daemon->if_names && loopback) { in iface_allowed() 136 for (lo = daemon->if_names; lo; lo = lo->next) in iface_allowed() 146 lo->next = daemon->if_names; in iface_allowed() 147 daemon->if_names = lo; in iface_allowed() 155 for (tmp = daemon->dhcp_except; tmp; tmp = tmp->next) in iface_allowed() [all …]
|
D | netlink.c | 52 if ((daemon->netlinkfd = socket(AF_NETLINK, SOCK_RAW, NETLINK_ROUTE)) != -1) { in netlink_init() 53 if (bind(daemon->netlinkfd, (struct sockaddr*) &addr, sizeof(addr)) == -1) { in netlink_init() 56 bind(daemon->netlinkfd, (struct sockaddr*) &addr, sizeof(addr)) == -1) in netlink_init() 57 daemon->netlinkfd = -1; in netlink_init() 61 if (daemon->netlinkfd == -1 || in netlink_init() 62 getsockname(daemon->netlinkfd, (struct sockaddr*) &addr, &slen) == 1) in netlink_init() 86 … while ((rc = recvmsg(daemon->netlinkfd, &msg, MSG_PEEK | MSG_TRUNC)) == -1 && errno == EINTR) in netlink_recv() 101 while ((rc = recvmsg(daemon->netlinkfd, &msg, 0)) == -1 && errno == EINTR) in netlink_recv() 143 while ((len = sendto(daemon->netlinkfd, (void*) &req, sizeof(req), 0, (struct sockaddr*) &addr, in iface_enumerate() 221 if ((flags = fcntl(daemon->netlinkfd, F_GETFL)) == -1 || in netlink_multicast() [all …]
|
D | dhcp.c | 55 if (daemon->options & OPT_NOWILD) { in dhcp_init() 67 saddr.sin_port = htons(daemon->dhcp_server_port); in dhcp_init() 74 … if (setsockopt(fd, SOL_SOCKET, SO_MARK, &daemon->listen_mark, sizeof(daemon->listen_mark)) == -1) in dhcp_init() 78 daemon->dhcpfd = fd; in dhcp_init() 82 daemon->dhcp_packet.iov_len = sizeof(struct dhcp_packet); in dhcp_init() 83 daemon->dhcp_packet.iov_base = safe_malloc(daemon->dhcp_packet.iov_len); in dhcp_init() 111 msg.msg_iov = &daemon->dhcp_packet; in dhcp_packet() 116 while ((sz = recvmsg(daemon->dhcpfd, &msg, MSG_PEEK | MSG_TRUNC)) == -1 && errno == EINTR) in dhcp_packet() 125 if ((size_t) sz == daemon->dhcp_packet.iov_len) { in dhcp_packet() 126 if (!expand_buf(&daemon->dhcp_packet, sz + 100)) return; in dhcp_packet() [all …]
|
D | rfc2131.c | 125 struct dhcp_packet* mess = (struct dhcp_packet*) daemon->dhcp_packet.iov_base; in dhcp_reply() 175 if (expand_buf(&daemon->dhcp_packet, size)) { in dhcp_reply() 176 mess = (struct dhcp_packet*) daemon->dhcp_packet.iov_base; in dhcp_reply() 212 for (vendor = daemon->dhcp_vendors; vendor; vendor = vendor->next) { in dhcp_reply() 259 for (mac = daemon->dhcp_macs; mac; mac = mac->next) in dhcp_reply() 298 for (context_tmp = daemon->dhcp; context_tmp; context_tmp = context_tmp->next) in dhcp_reply() 321 if (daemon->options & OPT_LOG_OPTS) { in dhcp_reply() 324 strcpy(daemon->namebuff, inet_ntoa(context_tmp->start)); in dhcp_reply() 327 ntohl(mess->xid), daemon->namebuff, inet_ntoa(context_tmp->netmask)); in dhcp_reply() 330 ntohl(mess->xid), daemon->namebuff, inet_ntoa(context_tmp->end)); in dhcp_reply() [all …]
|
D | helper.c | 77 if (!(daemon->options & OPT_DEBUG) && uid != 0) { in create_helper() 80 if (daemon->options & OPT_NO_FORK) /* send error to daemon process if no-fork */ in create_helper() 103 unsigned char* buf = (unsigned char*) daemon->namebuff; in create_helper() 119 p = daemon->dhcp_buff; in create_helper() 129 for (p = daemon->packet, i = 0; i < data.clid_len; i++) { in create_helper() 136 sprintf(daemon->dhcp_buff2, "%u ", data.length); in create_helper() 138 sprintf(daemon->dhcp_buff2, "%lu ", (unsigned long) data.expires); in create_helper() 172 if (data.clid_len != 0) my_setenv("DNSMASQ_CLIENT_ID", daemon->packet, &err); in create_helper() 177 my_setenv("DNSMASQ_LEASE_LENGTH", daemon->dhcp_buff2, &err); in create_helper() 179 my_setenv("DNSMASQ_LEASE_EXPIRES", daemon->dhcp_buff2, &err); in create_helper() [all …]
|
D | cache.c | 51 if (daemon->options & OPT_LOG) addrbuff = safe_malloc(ADDRSTRLEN); in cache_init() 53 bignames_left = daemon->cachesize / 10; in cache_init() 55 if (daemon->cachesize > 0) { in cache_init() 56 crecp = safe_malloc(daemon->cachesize * sizeof(struct crec)); in cache_init() 58 for (i = 0; i < daemon->cachesize; i++, crecp++) { in cache_init() 66 rehash(daemon->cachesize); in cache_init() 568 for (a = daemon->cnames; a; a = a->next) in add_hosts_entry() 617 char *token = daemon->namebuff, *domain_suffix = NULL; in read_hostsfile() 642 domain_suffix = daemon->domain_suffix; in read_hostsfile() 683 if ((daemon->options & OPT_EXPAND) && domain_suffix && !fqdn && in read_hostsfile() [all …]
|
D | rfc1035.c | 451 for (doctor = daemon->doctors; doctor; doctor = doctor->next) { in do_doctor() 511 if (!found_soa) minttl = daemon->neg_ttl; in find_soa() 529 if (daemon->doctors) { in extract_addresses() 595 if (!found && !(daemon->options & OPT_NO_NEG)) { in extract_addresses() 657 if ((daemon->options & OPT_NO_REBIND) && (flags & F_IPV4) && in extract_addresses() 675 if (!found && !(daemon->options & OPT_NO_NEG)) { in extract_addresses() 783 for (mx = daemon->mxnames; mx; mx = mx->next) in check_for_local_domain() 786 for (txt = daemon->txt; txt; txt = txt->next) in check_for_local_domain() 789 for (intr = daemon->int_names; intr; intr = intr->next) in check_for_local_domain() 792 for (ptr = daemon->ptr; ptr; ptr = ptr->next) in check_for_local_domain() [all …]
|
D | log.c | 59 log_stderr = !!(daemon->options & OPT_DEBUG); in log_start() 61 if (daemon->log_fac != -1) log_fac = daemon->log_fac; in log_start() 63 else if (daemon->options & OPT_DEBUG) in log_start() 67 if (daemon->log_file) { in log_start() 69 daemon->max_logs = 0; in log_start() 72 max_logs = daemon->max_logs; in log_start() 74 if (!log_reopen(daemon->log_file)) { in log_start()
|
/external/kotlinc/lib/ |
D | kotlin-daemon-client.jar | ... jetbrains/kotlin/
org/jetbrains/kotlin/daemon/
org/jetbrains/kotlin/daemon/client ... |
/external/guava/guava/src/com/google/common/util/concurrent/ |
D | ThreadFactoryBuilder.java | 47 private Boolean daemon = null; field in ThreadFactoryBuilder 83 public ThreadFactoryBuilder setDaemon(boolean daemon) { in setDaemon() argument 84 this.daemon = daemon; in setDaemon() 151 final Boolean daemon = builder.daemon; in build() local 166 if (daemon != null) { in build() 167 thread.setDaemon(daemon); in build()
|
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/trace_event_impl/ |
D | multiprocessing_shim.py | 60 def daemon(self): member in ProcessShim 61 return self._proc.daemon 63 @daemon.setter 64 def daemon(self, daemonic): member in ProcessShim 65 self._proc.daemon = daemonic
|
/external/python/cpython3/Lib/multiprocessing/ |
D | process.py | 73 *, daemon=None): argument 86 if daemon is not None: 87 self.daemon = daemon 190 def daemon(self): member in BaseProcess 196 @daemon.setter 197 def daemon(self, daemonic): member in BaseProcess 272 status, self.daemon and ' daemon' or '')
|
/external/perfetto/protos/ |
D | README.md | 11 daemon. 12 * (ii) the per-data-source config that the trace daemon relays to each 15 trace daemon when registering. 18 the Perfetto components (Producer, trace daemon and Consumer(s)). This is
|
/external/ltp/ |
D | IDcheck.sh | 78 fe daemon "$passwd"; NO_DAEMON_ID=$? 82 fe daemon "$group"; NO_DAEMON_GRP=$? 135 make_user_group daemon 2 $NO_DAEMON_ID $NO_DAEMON_GRP 152 for i in bin daemon; do
|
/external/autotest/client/site_tests/platform_DaemonsRespawn/ |
D | test_respawn.sh | 15 local daemon=$2 36 local pgrep_pid=$(pgrep -o $daemon) 38 echo "Unable to find running job for daemon: $daemon"
|
/external/selinux/python/sepolgen/tests/test_data/ |
D | httpd.log | 1 …ff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostna… 2 …ff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostna… 3 …ff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostna… 4 …ff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostna… 5 …ff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostna… 6 …ff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostna… 7 …ff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostna… 8 …ff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostna… 9 …ff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostna… 10 …ff_t:s0 tcontext=staff_u:staff_r:staff_t:s0 tclass=dbus : exe="/bin/dbus-daemon" (sauid=81, hostna… [all …]
|
/external/libcap/doc/ |
D | capability.notes | 9 simple programs that are intended to show how an application/daemon 29 daemon where the directory and the files it contains are owned by the 31 ensure that the daemon is not running with the CAP_FUSER capability... 36 If your daemon only needs to be setuid-root in order to bind to a low 40 daemon to damage your system. 43 for a potential attacker to exploit a hole in a daemon of this
|
/external/skqp/tools/skiaserve/ |
D | skiaserve.cpp | 104 struct MHD_Daemon* daemon; in skiaserve_main() local 105 daemon = MHD_start_daemon(MHD_USE_SELECT_INTERNALLY in skiaserve_main() 113 if (nullptr == daemon) { in skiaserve_main() 130 MHD_stop_daemon(daemon); in skiaserve_main()
|
/external/skia/tools/skiaserve/ |
D | skiaserve.cpp | 104 struct MHD_Daemon* daemon; in skiaserve_main() local 105 daemon = MHD_start_daemon(MHD_USE_SELECT_INTERNALLY in skiaserve_main() 113 if (nullptr == daemon) { in skiaserve_main() 130 MHD_stop_daemon(daemon); in skiaserve_main()
|
/external/python/cpython3/Lib/ |
D | threading.py | 759 args=(), kwargs=None, *, daemon=None): argument 788 if daemon is not None: 789 self._daemonic = daemon 791 self._daemonic = current_thread().daemon 1105 def daemon(self): member in Thread 1120 @daemon.setter 1121 def daemon(self, daemonic): member in Thread 1129 return self.daemon 1132 self.daemon = daemonic 1175 Thread.__init__(self, name="MainThread", daemon=False) [all …]
|
/external/libbrillo/brillo/ |
D | cryptohome.cc | 117 FilePath GetDaemonPath(const std::string& username, const std::string& daemon) { in GetDaemonPath() argument 120 return GetRootPath(username).Append(daemon); in GetDaemonPath() 124 const std::string& daemon) { in GetDaemonPathForHiddenUserHome() argument 132 .Append(daemon); in GetDaemonPathForHiddenUserHome()
|