Home
last modified time | relevance | path

Searched refs:dup2 (Results 51 - 64 of 64) sorted by relevance

123

/kernel/linux/linux-6.6/tools/testing/selftests/arm64/fp/
H A Dvec-syscfg.c115 ret = dup2(pipefd[1], 1); in get_child_rdvl()
117 fprintf(stderr, "dup2() %d\n", errno); in get_child_rdvl()
/kernel/linux/linux-6.6/tools/testing/selftests/resctrl/
H A Dresctrlfs.c668 dup2(pipefds[1], STDOUT_FILENO); in filter_dmesg()
/kernel/linux/linux-6.6/tools/testing/selftests/proc/
H A Dproc-pid-vm.c318 if (dup2(pipefd[1], 0) != 0) { in main()
/kernel/linux/linux-6.6/scripts/
H A Dcheckkconfigsymbols.py477 os.dup2(devnull, sys.stdout.fileno())
/kernel/linux/linux-5.10/fs/
H A Dfile.c621 * array. At any such point, we are vulnerable to a dup2() race
625 * It should never happen - if we allow dup2() do it, _really_ bad things
1082 * We need to detect attempts to do dup2() over allocated but still
1235 SYSCALL_DEFINE2(dup2, unsigned int, oldfd, unsigned int, newfd) in SYSCALL_DEFINE2()
/kernel/linux/linux-6.6/tools/include/nolibc/
H A Dsys.h222 * int dup2(int old, int new);
238 int dup2(int old, int new) in dup2() function
/kernel/linux/linux-5.10/tools/include/nolibc/
H A Dnolibc.h1867 int dup2(int old, int new) in dup2() function
/kernel/linux/linux-6.6/fs/
H A Dfile.c591 * array. At any such point, we are vulnerable to a dup2() race
595 * It should never happen - if we allow dup2() do it, _really_ bad things
1113 * We need to detect attempts to do dup2() over allocated but still
1271 SYSCALL_DEFINE2(dup2, unsigned int, oldfd, unsigned int, newfd) in SYSCALL_DEFINE2()
/kernel/linux/linux-5.10/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c3855 if (dup2(listener, 200) != 200) in TEST()
3911 if (dup2(listener, 200) != 200) in TEST()
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-script.c3703 dup2(live_pipe[1], 1); in cmd_script()
3738 dup2(live_pipe[0], 0); in cmd_script()
/kernel/linux/linux-5.10/tools/perf/util/
H A Devlist.c1353 dup2(2, 1); in perf_evlist__prepare_workload()
/kernel/linux/linux-6.6/tools/perf/util/
H A Devlist.c1435 dup2(2, 1); in evlist__prepare_workload()
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-script.c4118 dup2(live_pipe[1], 1); in cmd_script()
4153 dup2(live_pipe[0], 0); in cmd_script()
/kernel/linux/linux-6.6/tools/testing/selftests/seccomp/
H A Dseccomp_bpf.c3928 if (dup2(listener, 200) != 200) in TEST()
3987 if (dup2(listener, 200) != 200) in TEST()

Completed in 38 milliseconds

123