/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-hwbreak.c | 363 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_exact() 370 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_exact() 377 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_exact() 393 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_exact_kernel_userspace() 411 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_range_aligned() 420 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_range_aligned() 429 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_range_aligned() 572 test_set_debugreg(child_pid); in run_tests() 592 pid_t child_pid; in ptrace_hwbreak() local 596 child_pid = fork(); in ptrace_hwbreak() [all …]
|
H A D | ptrace-perf-hwbreak.c | 155 static int test1(pid_t child_pid) in test1() argument 180 static int test2(pid_t child_pid) in test2() argument 209 static int test3(pid_t child_pid) in test3() argument 234 static int test4(pid_t child_pid) in test4() argument 263 static int test5(pid_t child_pid) in test5() argument 302 static int test6(pid_t child_pid) in test6() argument 600 static int test(pid_t child_pid) in test() argument 633 pid_t child_pid; in ptrace_perf_hwbreak() local 636 child_pid = fork(); in ptrace_perf_hwbreak() 637 if (!child_pid) in ptrace_perf_hwbreak() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-hwbreak.c | 363 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_exact() 370 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_exact() 377 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_exact() 393 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_exact_kernel_userspace() 411 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_range_aligned() 420 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_range_aligned() 429 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_range_aligned() 572 test_set_debugreg(child_pid); in run_tests() 592 pid_t child_pid; in ptrace_hwbreak() local 596 child_pid = fork(); in ptrace_hwbreak() [all …]
|
H A D | ptrace-perf-hwbreak.c | 155 static int test1(pid_t child_pid) in test1() argument 180 static int test2(pid_t child_pid) in test2() argument 209 static int test3(pid_t child_pid) in test3() argument 234 static int test4(pid_t child_pid) in test4() argument 263 static int test5(pid_t child_pid) in test5() argument 302 static int test6(pid_t child_pid) in test6() argument 600 static int test(pid_t child_pid) in test() argument 633 pid_t child_pid; in ptrace_perf_hwbreak() local 636 child_pid = fork(); in ptrace_perf_hwbreak() 637 if (!child_pid) in ptrace_perf_hwbreak() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/powerpc/ptrace/ |
H A D | ptrace-hwbreak.c | 363 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_exact() 370 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_exact() 377 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_exact() 393 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_exact_kernel_userspace() 411 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_range_aligned() 420 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_range_aligned() 429 ptrace_delhwdebug(child_pid, wh); in test_sethwdebug_range_aligned() 572 test_set_debugreg(child_pid); in run_tests() 592 pid_t child_pid; in ptrace_hwbreak() local 596 child_pid = fork(); in ptrace_hwbreak() [all …]
|
H A D | ptrace-perf-hwbreak.c | 155 static int test1(pid_t child_pid) in test1() argument 180 static int test2(pid_t child_pid) in test2() argument 209 static int test3(pid_t child_pid) in test3() argument 234 static int test4(pid_t child_pid) in test4() argument 263 static int test5(pid_t child_pid) in test5() argument 302 static int test6(pid_t child_pid) in test6() argument 600 static int test(pid_t child_pid) in test() argument 633 pid_t child_pid; in ptrace_perf_hwbreak() local 636 child_pid = fork(); in ptrace_perf_hwbreak() 637 if (!child_pid) in ptrace_perf_hwbreak() [all …]
|
/dports/devel/p5-Parallel-Async/Parallel-Async-0.03/t/ |
H A D | 04_join.t | 26 [ $task1->child_pid ], 27 [ $task2->child_pid ], 28 [ $task3->child_pid ], 36 $task1->child_pid, 37 $task2->child_pid, 38 $task3->child_pid, 53 isnt $chain2->{tasks}->[0]->child_pid, $task1->child_pid; 54 isnt $chain2->{tasks}->[1]->child_pid, $task2->child_pid; 55 isnt $chain2->{tasks}->[2]->child_pid, $task3->child_pid; 62 [ $$, $task1->child_pid ], [all …]
|
/dports/archivers/maxcso/maxcso-1.10.0/libuv/test/ |
H A D | test-fork.c | 99 pid_t child_pid; in TEST_IMPL() local 102 child_pid = fork(); in TEST_IMPL() 122 pid_t child_pid; in TEST_IMPL() local 134 child_pid = fork(); in TEST_IMPL() 160 pid_t child_pid; in TEST_IMPL() local 183 child_pid = fork(); in TEST_IMPL() 233 pid_t child_pid; in TEST_IMPL() local 282 pid_t child_pid; in TEST_IMPL() local 459 pid_t child_pid; in _do_fork_fs_events_child() local 550 pid_t child_pid; in TEST_IMPL() local [all …]
|
/dports/www/R-cran-httpuv/httpuv/src/libuv/test/ |
H A D | test-fork.c | 99 pid_t child_pid; in TEST_IMPL() local 102 child_pid = fork(); in TEST_IMPL() 122 pid_t child_pid; in TEST_IMPL() local 134 child_pid = fork(); in TEST_IMPL() 160 pid_t child_pid; in TEST_IMPL() local 183 child_pid = fork(); in TEST_IMPL() 233 pid_t child_pid; in TEST_IMPL() local 282 pid_t child_pid; in TEST_IMPL() local 460 pid_t child_pid; in _do_fork_fs_events_child() local 551 pid_t child_pid; in TEST_IMPL() local [all …]
|
/dports/devel/py-uvloop/uvloop-0.16.0/vendor/libuv/test/ |
H A D | test-fork.c | 99 pid_t child_pid; in TEST_IMPL() local 102 child_pid = fork(); in TEST_IMPL() 122 pid_t child_pid; in TEST_IMPL() local 134 child_pid = fork(); in TEST_IMPL() 160 pid_t child_pid; in TEST_IMPL() local 183 child_pid = fork(); in TEST_IMPL() 233 pid_t child_pid; in TEST_IMPL() local 282 pid_t child_pid; in TEST_IMPL() local 460 pid_t child_pid; in _do_fork_fs_events_child() local 551 pid_t child_pid; in TEST_IMPL() local [all …]
|
/dports/devel/libuv/libuv-v1.42.0/test/ |
H A D | test-fork.c | 99 pid_t child_pid; in TEST_IMPL() local 102 child_pid = fork(); in TEST_IMPL() 122 pid_t child_pid; in TEST_IMPL() local 134 child_pid = fork(); in TEST_IMPL() 160 pid_t child_pid; in TEST_IMPL() local 183 child_pid = fork(); in TEST_IMPL() 233 pid_t child_pid; in TEST_IMPL() local 282 pid_t child_pid; in TEST_IMPL() local 460 pid_t child_pid; in _do_fork_fs_events_child() local 551 pid_t child_pid; in TEST_IMPL() local [all …]
|
/dports/misc/posixtestsuite/posixtestsuite/conformance/interfaces/sched_setparam/ |
H A D | 1-1.c | 51 child_pid = fork(); in main() 52 if(child_pid == -1){ in main() 55 } else if (child_pid == 0){ in main() 59 if(sched_getparam(child_pid, ¶m) != 0){ in main() 61 kill(child_pid, SIGUSR1); in main() 86 kill(child_pid, SIGUSR1); in main() 92 kill(child_pid, SIGUSR1); in main() 96 kill(child_pid, SIGUSR1); in main() 100 kill(child_pid, SIGUSR1); in main() 110 kill(child_pid, SIGUSR1); in main() [all …]
|
H A D | 9-1.c | 118 kill(child_pid[i], SIGTERM); in kill_children() 134 child_pid = malloc(nb_cpu); in main() 162 child_pid[i] = fork(); in main() 163 if(child_pid[i] == -1){ in main() 169 } else if (child_pid[i] == 0){ in main() 178 child_pid[i] = fork(); in main() 179 if(child_pid[i] == -1){ in main() 185 } else if (child_pid[i] == 0){ in main() 201 kill_children(child_pid); in main() 208 kill_children(child_pid); in main() [all …]
|
/dports/devel/gdb/gdb-11.1/gdb/nat/ |
H A D | linux-ptrace.c | 271 int child_pid; in linux_fork_to_function() local 291 child_pid = fork (); in linux_fork_to_function() 293 if (child_pid == 0) in linux_fork_to_function() 297 if (child_pid == -1) in linux_fork_to_function() 300 return child_pid; in linux_fork_to_function() 344 int child_pid, ret, status; in linux_check_ptrace_features() local 358 else if (ret != child_pid) in linux_check_ptrace_features() 367 linux_test_for_tracefork (child_pid); in linux_check_ptrace_features() 369 linux_test_for_exitkill (child_pid); in linux_check_ptrace_features() 394 linux_test_for_tracefork (int child_pid) in linux_test_for_tracefork() argument [all …]
|
/dports/devel/zpu-gcc/zpu-toolchain-1.0/toolchain/gdb/gdb/ |
H A D | linux-nat.c | 141 int child_pid, ret, status; in linux_test_for_tracefork() local 144 child_pid = fork (); in linux_test_for_tracefork() 145 if (child_pid == -1) in linux_test_for_tracefork() 148 if (child_pid == 0) in linux_test_for_tracefork() 154 else if (ret != child_pid) in linux_test_for_tracefork() 165 waitpid (child_pid, &status, 0); in linux_test_for_tracefork() 264 int parent_pid, child_pid; in child_follow_fork() local 280 detach_breakpoints (child_pid); in child_follow_fork() 284 child_pid); in child_follow_fork() 347 detach_breakpoints (child_pid); in child_follow_fork() [all …]
|
/dports/devel/zpu-binutils/zpu-toolchain-1.0/toolchain/gdb/gdb/ |
H A D | linux-nat.c | 141 int child_pid, ret, status; in linux_test_for_tracefork() local 144 child_pid = fork (); in linux_test_for_tracefork() 145 if (child_pid == -1) in linux_test_for_tracefork() 148 if (child_pid == 0) in linux_test_for_tracefork() 154 else if (ret != child_pid) in linux_test_for_tracefork() 165 waitpid (child_pid, &status, 0); in linux_test_for_tracefork() 264 int parent_pid, child_pid; in child_follow_fork() local 280 detach_breakpoints (child_pid); in child_follow_fork() 284 child_pid); in child_follow_fork() 347 detach_breakpoints (child_pid); in child_follow_fork() [all …]
|
/dports/devel/android-tools-fastboot/platform_system_core-platform-tools-29.0.5/llkd/tests/ |
H A D | llkd_test.cpp | 203 auto child_pid = fork(); in llkd_driver_ABA() local 206 if (!child_pid) { in llkd_driver_ABA() 265 if (!child_pid) { in TEST() 276 waitForPid(child_pid); in TEST() 289 if (!child_pid) { in TEST() 297 waitForPid(child_pid); in TEST() 318 if (!child_pid) { in TEST() 319 child_pid = fork(); in TEST() 321 if (!child_pid) { in TEST() 333 waitForPid(child_pid); in TEST() [all …]
|
/dports/mail/mailutils/mailutils-3.13/libmailutils/tests/ |
H A D | lck.c | 186 static pid_t child_pid; variable 196 if (waitpid (child_pid, &child_status, WNOHANG) == child_pid) in sighan() 197 child_pid = 0; in sighan() 272 child_pid = fork (); in main() 273 if (child_pid == -1) in main() 279 if (child_pid == 0) in main() 312 if (child_pid) in main() 321 if (child_pid) in main() 338 if (child_pid > 0) in main() 340 if (waitpid (child_pid, &child_status, WNOHANG) != child_pid) in main() [all …]
|
/dports/databases/percona56-server/percona-server-5.6.51-91.0/mysql-test/lib/My/SafeProcess/ |
H A D | safe_process.cc | 68 pid_t child_pid= -1; variable 120 while ((ret_pid = waitpid(child_pid, &status, 0)) < 0) in wait_pid() 124 static_cast<int>(child_pid), errno); in wait_pid() 127 if (ret_pid == child_pid) in wait_pid() 141 static_cast<int>(child_pid), exit_code); in wait_pid() 163 kill (-child_pid, SIGABRT); in abort_child() 170 message("Killing child: %d", static_cast<int>(child_pid)); in kill_child() 171 kill(-child_pid, SIGKILL); in kill_child() 179 static_cast<int>(child_pid), sig); in handle_abort() 267 while((child_pid= fork()) == -1) in main() [all …]
|
/dports/databases/percona56-client/percona-server-5.6.51-91.0/mysql-test/lib/My/SafeProcess/ |
H A D | safe_process.cc | 68 pid_t child_pid= -1; variable 120 while ((ret_pid = waitpid(child_pid, &status, 0)) < 0) in wait_pid() 124 static_cast<int>(child_pid), errno); in wait_pid() 127 if (ret_pid == child_pid) in wait_pid() 141 static_cast<int>(child_pid), exit_code); in wait_pid() 163 kill (-child_pid, SIGABRT); in abort_child() 170 message("Killing child: %d", static_cast<int>(child_pid)); in kill_child() 171 kill(-child_pid, SIGKILL); in kill_child() 179 static_cast<int>(child_pid), sig); in handle_abort() 267 while((child_pid= fork()) == -1) in main() [all …]
|
/dports/databases/percona-pam-for-mysql/percona-server-5.6.51-91.0/mysql-test/lib/My/SafeProcess/ |
H A D | safe_process.cc | 68 pid_t child_pid= -1; variable 120 while ((ret_pid = waitpid(child_pid, &status, 0)) < 0) in wait_pid() 124 static_cast<int>(child_pid), errno); in wait_pid() 127 if (ret_pid == child_pid) in wait_pid() 141 static_cast<int>(child_pid), exit_code); in wait_pid() 163 kill (-child_pid, SIGABRT); in abort_child() 170 message("Killing child: %d", static_cast<int>(child_pid)); in kill_child() 171 kill(-child_pid, SIGKILL); in kill_child() 179 static_cast<int>(child_pid), sig); in handle_abort() 267 while((child_pid= fork()) == -1) in main() [all …]
|
/dports/security/gnome-ssh-askpass/openssh-6.6p1/ |
H A D | sandbox-systrace.c | 77 pid_t child_pid; member 89 box->child_pid = 0; in ssh_sandbox_init() 106 ssh_sandbox_parent(struct ssh_sandbox *box, pid_t child_pid, in ssh_sandbox_parent() argument 116 pid = waitpid(child_pid, &status, WUNTRACED); in ssh_sandbox_parent() 128 debug3("%s: child %ld stopped", __func__, (long)child_pid); in ssh_sandbox_parent() 129 box->child_pid = child_pid; in ssh_sandbox_parent() 142 box->systrace_fd, child_pid, strerror(errno)); in ssh_sandbox_parent() 153 policy.strp_pid = box->child_pid; in ssh_sandbox_parent() 179 debug3("%s: start child %ld", __func__, (long)child_pid); in ssh_sandbox_parent() 180 if (kill(box->child_pid, SIGCONT) != 0) in ssh_sandbox_parent() [all …]
|
/dports/security/openssh-portable/openssh-8.8p1/ |
H A D | sandbox-systrace.c | 95 pid_t child_pid; member 107 box->child_pid = 0; in ssh_sandbox_init() 124 ssh_sandbox_parent(struct ssh_sandbox *box, pid_t child_pid, in ssh_sandbox_parent() argument 134 pid = waitpid(child_pid, &status, WUNTRACED); in ssh_sandbox_parent() 147 box->child_pid = child_pid; in ssh_sandbox_parent() 160 box->systrace_fd, child_pid, strerror(errno)); in ssh_sandbox_parent() 171 policy.strp_pid = box->child_pid; in ssh_sandbox_parent() 197 debug3("%s: start child %ld", __func__, (long)child_pid); in ssh_sandbox_parent() 198 if (kill(box->child_pid, SIGCONT) != 0) in ssh_sandbox_parent() 199 fatal("%s: kill(%d, SIGCONT)", __func__, box->child_pid); in ssh_sandbox_parent() [all …]
|
/dports/benchmarks/lmbench/lmbench-3.0-a9/src/ |
H A D | lat_proc.c | 32 pid_t child_pid; variable 40 if (child_pid) { in cleanup() 41 kill(child_pid, SIGKILL); in cleanup() 42 waitpid(child_pid, NULL, 0); in cleanup() 43 child_pid = 0; in cleanup() 118 waitpid(child_pid, NULL,0); in do_shell() 120 child_pid = 0; in do_shell() 146 waitpid(child_pid, NULL,0); in do_forkexec() 148 child_pid = 0; in do_forkexec() 168 waitpid(child_pid, NULL,0); in do_fork() [all …]
|
/dports/net/openmpi3/openmpi-3.1.6/opal/mca/compress/bzip/ |
H A D | compress_bzip_module.c | 54 pid_t child_pid = 0; in opal_compress_bzip_compress() local 62 waitpid(child_pid, &status, 0); in opal_compress_bzip_compress() 81 *child_pid = fork(); in opal_compress_bzip_compress_nb() 82 if( *child_pid == 0 ) { /* Child */ in opal_compress_bzip_compress_nb() 117 else if( *child_pid > 0 ) { in opal_compress_bzip_compress_nb() 134 pid_t child_pid = 0; in opal_compress_bzip_decompress() local 141 opal_compress_bzip_decompress_nb(cname, fname, &child_pid); in opal_compress_bzip_decompress() 142 waitpid(child_pid, &status, 0); in opal_compress_bzip_decompress() 174 *child_pid = fork(); in opal_compress_bzip_decompress_nb() 175 if( *child_pid == 0 ) { /* Child */ in opal_compress_bzip_decompress_nb() [all …]
|