Lines Matching refs:ufd
66 static int ufd; /* shared between do_child and start_server */
373 maybe_run_child(&do_child, "dd", &sfd, &ufd);
448 ufd = socket(PF_UNIX, SOCK_DGRAM, 0);
449 if (ufd < 0) {
454 if (bind(ufd, (struct sockaddr *)sun0, sizeof(*sun0))) {
463 if (self_exec(argv0, "dd", sfd, ufd) < 0)
474 close(ufd);
490 FD_SET(ufd, &afds);
492 nfds = MAX(sfd + 1, ufd + 1);
513 if (FD_ISSET(ufd, &rfds)) {
517 newfd = accept(ufd, (struct sockaddr *)&fsun, &fromlen);
522 if (fd != sfd && fd != ufd && FD_ISSET(fd, &rfds)) {