Lines Matching defs:newsock
1159 server_accept_loop(int *sock_in, int *sock_out, int *newsock, int *config_s)
1234 *newsock = accept(listen_socks[i],
1236 if (*newsock < 0) {
1245 if (unset_nonblock(*newsock) == -1) {
1246 close(*newsock);
1251 close(*newsock);
1255 close(*newsock);
1263 close(*newsock);
1290 *sock_in = *newsock;
1291 *sock_out = *newsock;
1323 *sock_in = *newsock;
1324 *sock_out = *newsock;
1361 close(*newsock);
1386 int sock_in = -1, sock_out = -1, newsock = -1;
1940 &newsock, config_s);
1964 debug("rexec start in %d out %d newsock %d pipe %d sock %d",
1965 sock_in, sock_out, newsock, startup_pipe, config_s[0]);
1966 dup2(newsock, STDIN_FILENO);
1990 newsock = sock_out = sock_in = dup(STDIN_FILENO);
1997 debug("rexec cleanup in %d out %d newsock %d pipe %d sock %d",
1998 sock_in, sock_out, newsock, startup_pipe, config_s[0]);