Searched refs:fds (Results 1 – 13 of 13) sorted by relevance
/busybox-1.35.0/shell/ash_test/ash-redir/ |
D | redir_script.tests | 2 # Note: one of these fds is a directory opened to /proc/self/fd 5 fds="" 10 fds="$fds ${f##*/}>&-" 15 fds1="$fds" 17 # One of the fds is open to the script body 19 eval "find_fds $fds" 23 test x"$fds1" = x"$fds" \ 28 test x"$fds" = x" 11>&- 3>&-" \ 32 test x"$fds" = x" 10>&- 3>&-" \ 37 echo "fds2:$fds"
|
D | redir_leak.tests | 2 # fds 0,1,2 are stdio; fd 3 is open by opendir() in ls. 3 # This test detects bugs where redirects leave stray open fds.
|
D | redir.tests | 1 # test: closed fds should stay closed
|
/busybox-1.35.0/shell/hush_test/hush-redir/ |
D | redir_script.tests | 2 # Note: one of these fds is a directory opened to /proc/self/fd 5 fds="" 10 fds="$fds ${f##*/}>&-" 15 fds1="$fds" 17 # One of the fds is open to the script body 19 eval "find_fds $fds" 23 test x"$fds1" = x"$fds" \ 28 test x"$fds" = x" 11>&- 3>&-" \ 32 test x"$fds" = x" 10>&- 3>&-" \ 37 echo "fds2:$fds"
|
D | redir_leak.tests | 2 # fds 0,1,2 are stdio; fd 3 is open by opendir() in ls. 3 # This test detects bugs where redirects leave stray open fds.
|
D | redir.tests | 1 # test: closed fds should stay closed
|
/busybox-1.35.0/networking/udhcp/ |
D | dhcprelay.c | 169 static unsigned init_sockets(char **iface_list, unsigned num_clients, int *fds) in init_sockets() argument 175 fds[i] = udhcp_listen_socket(/*INADDR_ANY,*/ SERVER_PORT, iface_list[i]); in init_sockets() 176 if (n < fds[i]) in init_sockets() 177 n = fds[i]; in init_sockets() 199 static void pass_to_server(struct dhcp_packet *p, int packet_len, unsigned from_iface_no, int *fds, in pass_to_server() argument 225 sendto_ip4(fds[0], p, packet_len, server_addr); in pass_to_server() 232 static void pass_to_client(struct dhcp_packet *p, int packet_len, int *fds) in pass_to_client() argument 259 sendto_ip4(fds[item->iface_no], p, packet_len, &item->ip); in pass_to_client() 271 int *fds; in dhcprelay_main() local 291 fds = xmalloc(num_sockets * sizeof(fds[0])); in dhcprelay_main() [all …]
|
/busybox-1.35.0/coreutils/ |
D | tail.c | 126 int *fds; in tail_main() local 167 fds = xmalloc(sizeof(fds[0]) * (argc + 1)); in tail_main() 185 fds[nfiles] = fd; in tail_main() 214 int fd = fds[i]; in tail_main() 335 prev_fd = fds[i-1]; in tail_main() 348 int fd = fds[i]; in tail_main() 370 fds[i] = fd = new_fd; in tail_main() 417 free(fds); in tail_main()
|
/busybox-1.35.0/networking/ |
D | zcip.c | 368 struct pollfd fds[1]; in zcip_main() local 374 fds[0].fd = sock_fd; in zcip_main() 375 fds[0].events = POLLIN; in zcip_main() 376 fds[0].revents = 0; in zcip_main() 393 n = safe_poll(fds, 1, timeout_ms); in zcip_main() 459 if ((fds[0].revents & POLLIN) == 0) { in zcip_main() 460 if (fds[0].revents & POLLERR) { in zcip_main()
|
D | isrv.c | 197 static void handle_fd_set(isrv_state_t *state, fd_set *fds, int (*h)(int, void **)) in handle_fd_set() argument 211 if (((long*)fds)[fds_pos] == 0) { in handle_fd_set() 218 if (FD_ISSET(fd, fds)) { in handle_fd_set() 219 FD_CLR(fd, fds); in handle_fd_set()
|
/busybox-1.35.0/ |
D | NOFORK_NOEXEC.lst | 7 leaks: does not free allocated memory or opened fds 86 chvt - noexec. leaks: get_console_fd_or_die() may open a new fd, or return one of stdio fds 102 deallocvt - noexec. leaks: get_console_fd_or_die() may open a new fd, or return one of stdio fds 117 dumpkmap - noexec. leaks: get_console_fd_or_die() may open a new fd, or return one of stdio fds 122 eject - hardware, leaks: open+ioctl_or_perror_and_die, changes state (moves fds) 137 fgconsole - noexec. leaks: get_console_fd_or_die() may open a new fd, or return one of stdio fds 213 loadkmap - noexec. leaks: get_console_fd_or_die() may open a new fd, or return one of stdio fds
|
/busybox-1.35.0/loginutils/ |
D | README | 26 fds to this tty be disconnected? agetty has a -R option which makes
|
/busybox-1.35.0/docs/ |
D | nofork_noexec.txt | 93 * the same applies to other resources, such as open fds: no xfuncs after
|