Searched refs:dup2 (Results 51 - 64 of 64) sorted by relevance
123
/kernel/linux/linux-6.6/tools/testing/selftests/arm64/fp/ |
H A D | vec-syscfg.c | 115 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 D | resctrlfs.c | 668 dup2(pipefds[1], STDOUT_FILENO); in filter_dmesg()
|
/kernel/linux/linux-6.6/tools/testing/selftests/proc/ |
H A D | proc-pid-vm.c | 318 if (dup2(pipefd[1], 0) != 0) { in main()
|
/kernel/linux/linux-6.6/scripts/ |
H A D | checkkconfigsymbols.py | 477 os.dup2(devnull, sys.stdout.fileno())
|
/kernel/linux/linux-5.10/fs/ |
H A D | file.c | 621 * 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 D | sys.h | 222 * 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 D | nolibc.h | 1867 int dup2(int old, int new) in dup2() function
|
/kernel/linux/linux-6.6/fs/ |
H A D | file.c | 591 * 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 D | seccomp_bpf.c | 3855 if (dup2(listener, 200) != 200) in TEST() 3911 if (dup2(listener, 200) != 200) in TEST()
|
/kernel/linux/linux-5.10/tools/perf/ |
H A D | builtin-script.c | 3703 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 D | evlist.c | 1353 dup2(2, 1); in perf_evlist__prepare_workload()
|
/kernel/linux/linux-6.6/tools/perf/util/ |
H A D | evlist.c | 1435 dup2(2, 1); in evlist__prepare_workload()
|
/kernel/linux/linux-6.6/tools/perf/ |
H A D | builtin-script.c | 4118 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 D | seccomp_bpf.c | 3928 if (dup2(listener, 200) != 200) in TEST() 3987 if (dup2(listener, 200) != 200) in TEST()
|
Completed in 38 milliseconds
123