Home
last modified time | relevance | path

Searched refs:dup2 (Results 1 – 25 of 108) sorted by relevance

12345

/openbmc/openbmc/meta-openembedded/meta-networking/recipes-connectivity/rdist/rdist-6.1.5/
H A Drdist-6.1.5-ssh.patch11 - if (dup2(sp[1], 0) < 0 || dup2(0,1) < 0 || dup2(0, 2) < 0) {
12 + if (dup2(sp[1], 0) < 0 || dup2(0,1) < 0) {
13 error("dup2 failed: %s.", SYSERR);
/openbmc/linux/tools/lib/subcmd/
H A Drun-command.c25 dup2(fd, to); in dup_devnull()
86 dup2(fdin[0], 0); in start_command()
89 dup2(cmd->in, 0); in start_command()
96 dup2(fderr[1], 2); in start_command()
103 dup2(2, 1); in start_command()
105 dup2(fdout[1], 1); in start_command()
108 dup2(cmd->out, 1); in start_command()
H A Dpager.c105 dup2(pager_process.in, 1); in setup_pager()
107 dup2(pager_process.in, 2); in setup_pager()
/openbmc/openbmc/poky/bitbake/lib/bb/
H A Ddaemonize.py77 os.dup2(si.fileno(), sys.stdin.fileno())
81 os.dup2(so.fileno(), sys.stdout.fileno())
82 os.dup2(so.fileno(), sys.stderr.fileno())
H A Dbuild.py685 os.dup2(si.fileno(), osi[1])
686 os.dup2(logfile.fileno(), oso[1])
687 os.dup2(logfile.fileno(), ose[1])
723 os.dup2(osi[0], osi[1])
724 os.dup2(oso[0], oso[1])
725 os.dup2(ose[0], ose[1])
/openbmc/openbmc/poky/bitbake/bin/
H A Dbitbake-server39 os.dup2(si.fileno(), sys.stdin.fileno())
42 os.dup2(so.fileno(), sys.stdout.fileno())
43 os.dup2(so.fileno(), sys.stderr.fileno())
/openbmc/linux/arch/um/drivers/
H A Dharddog_user.c22 dup2(data->stdin_fd, 0); in pre_exec()
23 dup2(data->stdout_fd, 1); in pre_exec()
24 dup2(data->stdout_fd, 2); in pre_exec()
H A Dport_user.c159 dup2(data->sock_fd, 0); in port_pre_exec()
160 dup2(data->sock_fd, 1); in port_pre_exec()
161 dup2(data->sock_fd, 2); in port_pre_exec()
163 dup2(data->pipe_fd, 3); in port_pre_exec()
H A Dslirp_user.c32 dup2(data->stdin_fd, 0); in slirp_pre_exec()
34 dup2(data->stdout_fd, 1); in slirp_pre_exec()
H A Dslip_user.c68 dup2(data->stdin_fd, 0); in slip_pre_exec()
69 dup2(data->stdout_fd, 1); in slip_pre_exec()
/openbmc/linux/tools/testing/selftests/bpf/prog_tests/
H A Dtest_bprm_opts.c41 dup2(null_fd, STDOUT_FILENO); in run_set_secureexec()
42 dup2(null_fd, STDERR_FILENO); in run_set_secureexec()
H A Dtest_local_storage.c34 dup2(null_fd, STDOUT_FILENO); in run_self_unlink()
35 dup2(null_fd, STDERR_FILENO); in run_self_unlink()
/openbmc/qemu/
H A Dos-posix.c281 dup2(fd, 0); in os_setup_post()
282 dup2(fd, 1); in os_setup_post()
285 dup2(fd, 2); in os_setup_post()
/openbmc/linux/tools/testing/selftests/wireguard/qemu/
H A Dinit.c224 dup2(fd, 0); in ensure_console()
225 dup2(fd, 1); in ensure_console()
226 dup2(fd, 2); in ensure_console()
/openbmc/linux/tools/testing/selftests/core/
H A Dclose_range_test.c399 fd2 = dup2(fd1, 1000); in TEST()
423 fd3 = dup2(fd1, 42); in TEST()
453 fd3 = dup2(fd1, 42); in TEST()
491 fd2 = dup2(fd1, 1000); in TEST()
518 fd3 = dup2(fd1, 42); in TEST()
554 fd3 = dup2(fd1, 42); in TEST()
/openbmc/openbmc/poky/meta/classes-global/
H A Ddevshell.bbclass71 os.dup2(m, sys.stdin.fileno())
72 os.dup2(m, sys.stdout.fileno())
73 os.dup2(m, sys.stderr.fileno())
/openbmc/openbmc/poky/meta/recipes-devtools/flex/flex/
H A Dcheck-funcs.patch34 -AC_CHECK_FUNCS([dup2 dnl
53 +AC_CHECK_FUNCS([dup2 memset regcomp strcasecmp strchr strdup strtol], [],
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-daemons/tftp-hpa/files/
H A D0001-tftp-Remove-double-inclusion-of-signal.h.patch36 int dup2(int, int);
/openbmc/linux/scripts/clang-tools/
H A Drun-clang-tools.py77 os.dup2(devnull, sys.stdout.fileno())
/openbmc/openbmc/poky/meta/lib/oeqa/core/utils/
H A Dconcurrencytest.py277 os.dup2(newsi, sys.stdin.fileno())
280 os.dup2(c2pwrite, sys.stdout.fileno())
281 os.dup2(c2pwrite, sys.stderr.fileno())
/openbmc/openbmc/poky/bitbake/lib/prserv/
H A Dserv.py202 os.dup2(si.fileno(), sys.stdin.fileno())
207 os.dup2(so.fileno(), sys.stdout.fileno())
211 os.dup2(so.fileno(), sys.stderr.fileno())
/openbmc/linux/tools/perf/bench/
H A Dinject-buildid.c303 dup2(data->input_pipe[0], STDIN_FILENO); in setup_injection()
305 dup2(data->output_pipe[1], STDOUT_FILENO); in setup_injection()
312 dup2(dev_null_fd, STDERR_FILENO); in setup_injection()
/openbmc/linux/tools/testing/selftests/openat2/
H A Dhelpers.h76 #define E_dup2(...) E_func(dup2, __VA_ARGS__)
/openbmc/openbmc/poky/meta/recipes-devtools/patch/patch/
H A D0001-Invoke-ed-directly-instead-of-using-the-shell.patch35 dup2 (tmpfd, 0);
/openbmc/linux/tools/testing/selftests/arm64/pauth/
H A Dpac.c131 dup2(new_stdin[0], STDIN_FILENO); in exec_sign_all()
137 dup2(new_stdout[1], STDOUT_FILENO); in exec_sign_all()

12345