Home
last modified time | relevance | path

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

12345

/OK3568_Linux_fs/yocto/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);
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/yocto/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.py665 os.dup2(si.fileno(), osi[1])
666 os.dup2(logfile.fileno(), oso[1])
667 os.dup2(logfile.fileno(), ose[1])
703 os.dup2(osi[0], osi[1])
704 os.dup2(oso[0], oso[1])
705 os.dup2(ose[0], ose[1])
/OK3568_Linux_fs/yocto/poky/bitbake/bin/
H A Dbitbake-server37 os.dup2(si.fileno(), sys.stdin.fileno())
40 os.dup2(so.fileno(), sys.stdout.fileno())
41 os.dup2(so.fileno(), sys.stderr.fileno())
/OK3568_Linux_fs/kernel/arch/um/drivers/
H A Dport_user.c158 dup2(data->sock_fd, 0); in port_pre_exec()
159 dup2(data->sock_fd, 1); in port_pre_exec()
160 dup2(data->sock_fd, 2); in port_pre_exec()
162 dup2(data->pipe_fd, 3); in port_pre_exec()
H A Dharddog_user.c21 dup2(data->stdin_fd, 0); in pre_exec()
22 dup2(data->stdout_fd, 1); in pre_exec()
23 dup2(data->stdout_fd, 2); in 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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/wireguard/qemu/
H A Dinit.c229 dup2(fd, 0); in ensure_console()
230 dup2(fd, 1); in ensure_console()
231 dup2(fd, 2); in ensure_console()
/OK3568_Linux_fs/buildroot/package/procps-ng/
H A D0003-pgrep-Fix-compile-error-with-BSP-4.4-kernel.patch20 -AC_CHECK_FUNCS([__fpending alarm atexit dup2 gethostname getpagesize gettimeofday iswprint memchr …
21 +AC_CHECK_FUNCS([__fpending alarm atexit dup2 gethostname getpagesize gettimeofday iswprint memchr …
/OK3568_Linux_fs/yocto/poky/meta/classes/
H A Ddevshell.bbclass65 os.dup2(m, sys.stdin.fileno())
66 os.dup2(m, sys.stdout.fileno())
67 os.dup2(m, sys.stderr.fileno())
/OK3568_Linux_fs/yocto/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], [],
/OK3568_Linux_fs/yocto/poky/meta/lib/oeqa/core/utils/
H A Dconcurrencytest.py274 os.dup2(newsi, sys.stdin.fileno())
277 os.dup2(c2pwrite, sys.stdout.fileno())
278 os.dup2(c2pwrite, sys.stderr.fileno())
/OK3568_Linux_fs/kernel/tools/perf/bench/
H A Dinject-buildid.c302 dup2(data->input_pipe[0], STDIN_FILENO); in setup_injection()
304 dup2(data->output_pipe[1], STDOUT_FILENO); in setup_injection()
311 dup2(dev_null_fd, STDERR_FILENO); in setup_injection()
/OK3568_Linux_fs/yocto/poky/bitbake/lib/prserv/
H A Dserv.py175 os.dup2(si.fileno(),sys.stdin.fileno())
180 os.dup2(so.fileno(),sys.stdout.fileno())
184 os.dup2(so.fileno(),sys.stderr.fileno())
/OK3568_Linux_fs/buildroot/package/dcron/
H A D0001-main.c-add-newline-to-logfile-openning-error-message.patch17 dup2(fd, 2);
/OK3568_Linux_fs/kernel/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()
/OK3568_Linux_fs/kernel/tools/testing/selftests/openat2/
H A Dhelpers.h76 #define E_dup2(...) E_func(dup2, __VA_ARGS__)
/OK3568_Linux_fs/buildroot/package/patch/
H A D0004-Invoke-ed-directly-instead-of-using-the-shell.patch32 dup2 (tmpfd, 0);
/OK3568_Linux_fs/yocto/poky/meta/recipes-devtools/patch/patch/
H A D0001-Invoke-ed-directly-instead-of-using-the-shell.patch35 dup2 (tmpfd, 0);
/OK3568_Linux_fs/kernel/arch/um/os-Linux/
H A Duser_syms.c62 EXPORT_SYMBOL_PROTO(dup2);
/OK3568_Linux_fs/kernel/tools/testing/selftests/kcmp/
H A Dkcmp_test.c69 fddup = dup2(pipefd[1], duped_num); in main()
/OK3568_Linux_fs/kernel/tools/testing/selftests/proc/
H A Dfd-001-lookup.c158 if (dup2(fd, target_fd) == target_fd) in main()

12345