Lines Matching defs:newsock
1270 server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s)
1346 *newsock = accept(listen_socks[i],
1348 if (*newsock < 0) {
1357 if (unset_nonblock(*newsock) == -1) {
1358 close(*newsock);
1363 close(*newsock);
1367 close(*newsock);
1375 close(*newsock);
1402 *sock_in = *newsock;
1403 *sock_out = *newsock;
1435 *sock_in = *newsock;
1436 *sock_out = *newsock;
1473 close(*newsock);
1547 int sock_in = -1, sock_out = -1, newsock = -1;
2124 &newsock, config_s);
2148 debug("rexec start in %d out %d newsock %d pipe %d sock %d",
2149 sock_in, sock_out, newsock, startup_pipe, config_s[0]);
2150 dup2(newsock, STDIN_FILENO);
2173 newsock = sock_out = sock_in = dup(STDIN_FILENO);
2180 debug("rexec cleanup in %d out %d newsock %d pipe %d sock %d",
2181 sock_in, sock_out, newsock, startup_pipe, config_s[0]);