/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/afl/src/ |
H A D | afl-showmap.c | 49 static s32 child_pid; /* PID of the tested program */ variable 235 if (child_pid > 0) kill(child_pid, SIGKILL); in handle_timeout() 252 child_pid = fork(); in run_target() 254 if (child_pid < 0) PFATAL("fork() failed"); in run_target() 256 if (!child_pid) { in run_target() 317 if (waitpid(child_pid, &status, 0) <= 0) FATAL("waitpid() failed"); in run_target() 319 child_pid = 0; in run_target() 361 if (child_pid > 0) kill(child_pid, SIGKILL); in handle_stop_sig()
|
/dports/databases/percona-toolkit/percona-toolkit-3.3.0/lib/ |
H A D | DiskstatsMenu.pm | 88 my ($tmp_fh, $filename, $child_pid, $child_fh); 114 $child_pid = open $child_fh, "-|"; 116 die "Cannot fork: $OS_ERROR" unless defined $child_pid; 118 if ( !$child_pid ) { 141 PTDEBUG && _d("Forked, child is", $child_pid); 255 && waitpid($child_pid, WNOHANG) != 0 ) { 266 if ( $child_pid && !$args{filename} && !defined $o->get('iterations') 267 && kill 0, $child_pid ) { 269 kill 9, $child_pid; 270 waitpid $child_pid, 0;
|
/dports/security/afl/afl-2.52b/ |
H A D | afl-showmap.c | 49 static s32 child_pid; /* PID of the tested program */ variable 235 if (child_pid > 0) kill(child_pid, SIGKILL); in handle_timeout() 252 child_pid = fork(); in run_target() 254 if (child_pid < 0) PFATAL("fork() failed"); in run_target() 256 if (!child_pid) { in run_target() 317 if (waitpid(child_pid, &status, 0) <= 0) FATAL("waitpid() failed"); in run_target() 319 child_pid = 0; in run_target() 361 if (child_pid > 0) kill(child_pid, SIGKILL); in handle_stop_sig()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/sandbox/linux/services/ |
H A D | init_process_reaper.cc | 34 pid_t child_pid = fork(); 35 if (child_pid == -1) { 43 if (child_pid) { 73 if (reaped_child_info.si_pid == child_pid) {
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/sandbox/linux/services/ |
H A D | init_process_reaper.cc | 34 pid_t child_pid = fork(); 35 if (child_pid == -1) { 43 if (child_pid) { 73 if (reaped_child_info.si_pid == child_pid) {
|
/dports/devel/glib20/glib-2.70.4/glib/ |
H A D | gspawn-win32.c | 519 *child_pid = (GPid) rc; in do_spawn_directly() 523 if (child_pid) in do_spawn_directly() 524 *child_pid = 0; in do_spawn_directly() 638 child_pid, error); in fork_exec() 864 if (child_pid && do_return_handle) in fork_exec() 876 *child_pid = 0; in fork_exec() 879 else if (child_pid) in fork_exec() 880 *child_pid = 0; in fork_exec() 1219 child_pid, in g_spawn_async_with_pipes() 1260 child_pid, in g_spawn_async_with_fds() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/sandbox/linux/syscall_broker/ |
H A D | broker_process.cc | 69 int child_pid = fork(); in ForkSignalBasedBroker() local 70 if (child_pid == -1) in ForkSignalBasedBroker() 73 if (child_pid) { in ForkSignalBasedBroker() 77 VLOG(3) << "BrokerProcess::Init(), in parent, child is " << child_pid; in ForkSignalBasedBroker() 80 broker_pid_ = child_pid; in ForkSignalBasedBroker()
|
/dports/multimedia/totem/totem-3.38.2/src/plugins/screenshot/ |
H A D | totem-gallery-progress.c | 44 GPid child_pid; member 72 g_spawn_close_pid (priv->child_pid); in totem_gallery_progress_finalize() 83 totem_gallery_progress_new (GPid child_pid, const gchar *output_filename) in totem_gallery_progress_new() argument 94 self->priv->child_pid = child_pid; in totem_gallery_progress_new() 126 kill (self->priv->child_pid, SIGINT); in dialog_response_callback()
|
/dports/emulators/libretro-vice/vice-libretro-5725415/vice/src/arch/sdl/ |
H A D | archdep_unix.c | 139 pid_t child_pid; in archdep_spawn() local 143 child_pid = vfork(); in archdep_spawn() 154 if (child_pid < 0) { in archdep_spawn() 158 if (child_pid == 0) { in archdep_spawn() 172 if (waitpid(child_pid, &child_status, 0) != child_pid) { in archdep_spawn()
|
/dports/net/boinc-client/boinc-client_release-7.8-7.8.6/lib/ |
H A D | proc_control.cpp | 64 int child_pid = p.children[j]; in get_descendants_aux() local 65 pids.push_back(child_pid); in get_descendants_aux() 66 get_descendants_aux(pm, child_pid, pids); in get_descendants_aux() 201 void kill_descendants(int child_pid) { in kill_descendants() argument 207 if (child_pid) { in kill_descendants() 208 ::kill(child_pid, SIGTERM); in kill_descendants()
|
/dports/misc/findutils/findutils-4.8.0/find/ |
H A D | exec.c | 284 pid_t child_pid; in launch() local 315 child_pid = fork (); in launch() 316 if (child_pid == -1) in launch() 318 if (child_pid == 0) in launch() 344 while (waitpid (child_pid, &(execp->last_child_status), 0) == (pid_t) -1) in launch() 380 (long) child_pid, ex); in launch()
|
/dports/science/afni/afni-AFNI_21.3.16/src/ |
H A D | wrap.c | 16 pid_t child_pid ; in main() local 18 child_pid = fork() ; in main() 19 if( child_pid == (pid_t)(-1) ){fprintf(stderr,"Cannot fork!\n");exit(1);} in main() 21 if( child_pid == 0 ){ /* I'm the child */ in main()
|
/dports/databases/sqsh/sqsh-2.5/src/ |
H A D | sqsh_fork.c | 46 pid_t child_pid ; in USE() local 48 switch( (child_pid = fork()) ) { in USE() 97 return child_pid ; in USE()
|
/dports/misc/amanda-server/amanda-3.3.9/xfer-src/ |
H A D | filter-process.c | 56 pid_t child_pid; member 86 g_assert(pid == self->child_pid); in child_watch_callback() 87 self->child_pid = -1; /* it's gone now.. */ in child_watch_callback() 164 switch (self->child_pid = fork()) { in start_impl() 208 self->child_watch = new_child_watch_source(self->child_pid); in start_impl() 241 if (self->child_pid != -1) { in cancel_impl() 243 if (kill(self->child_pid, SIGKILL) < 0) { in cancel_impl() 266 self->child_pid = -1; in instance_init()
|
/dports/misc/amanda-client/amanda-3.3.9/xfer-src/ |
H A D | filter-process.c | 56 pid_t child_pid; member 86 g_assert(pid == self->child_pid); in child_watch_callback() 87 self->child_pid = -1; /* it's gone now.. */ in child_watch_callback() 164 switch (self->child_pid = fork()) { in start_impl() 208 self->child_watch = new_child_watch_source(self->child_pid); in start_impl() 241 if (self->child_pid != -1) { in cancel_impl() 243 if (kill(self->child_pid, SIGKILL) < 0) { in cancel_impl() 266 self->child_pid = -1; in instance_init()
|
/dports/comms/lirc/lirc-0.9.0/daemons/ |
H A D | hw_ftdi.c | 57 static pid_t child_pid = -1; variable 302 child_pid = fork(); in hwftdi_init() 303 if (child_pid == -1) { in hwftdi_init() 306 } else if (child_pid == 0) { in hwftdi_init() 355 if (child_pid != -1) { in hwftdi_deinit() 357 if (kill(child_pid, SIGTERM) == -1) { in hwftdi_deinit() 360 if (waitpid(child_pid, NULL, 0) == 0) { in hwftdi_deinit() 363 child_pid = -1; in hwftdi_deinit()
|
/dports/security/vault/vault-1.8.2/vendor/github.com/apache/arrow/cpp/src/arrow/util/ |
H A D | thread_pool_test.cc | 299 pid_t child_pid; in TEST_F() local 308 child_pid = fork(); in TEST_F() 309 if (child_pid == 0) { in TEST_F() 320 ASSERT_GT(child_pid, 0); in TEST_F() 321 ASSERT_GT(waitpid(child_pid, &child_status, 0), 0); in TEST_F() 332 child_pid = fork(); in TEST_F() 333 if (child_pid == 0) { in TEST_F() 345 ASSERT_GT(child_pid, 0); in TEST_F() 346 ASSERT_GT(waitpid(child_pid, &child_status, 0), 0); in TEST_F()
|
/dports/security/pgpgpg/pgpgpg-0.13/ |
H A D | defaultkey.c | 45 pid_t child_pid; 73 switch ((child_pid = fork())) 150 kill(child_pid, SIGINT); 151 waitpid(child_pid, &child_status, 0);
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/powerpc/pmu/ |
H A D | lib.c | 73 int wait_for_child(pid_t child_pid) in wait_for_child() argument 77 if (waitpid(child_pid, &rc, 0) == -1) { in wait_for_child() 90 int kill_child_and_wait(pid_t child_pid) in kill_child_and_wait() argument 92 kill(child_pid, SIGTERM); in kill_child_and_wait() 94 return wait_for_child(child_pid); in kill_child_and_wait()
|
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/powerpc/pmu/ |
H A D | lib.c | 73 int wait_for_child(pid_t child_pid) in wait_for_child() argument 77 if (waitpid(child_pid, &rc, 0) == -1) { in wait_for_child() 90 int kill_child_and_wait(pid_t child_pid) in kill_child_and_wait() argument 92 kill(child_pid, SIGTERM); in kill_child_and_wait() 94 return wait_for_child(child_pid); in kill_child_and_wait()
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/powerpc/pmu/ |
H A D | lib.c | 73 int wait_for_child(pid_t child_pid) in wait_for_child() argument 77 if (waitpid(child_pid, &rc, 0) == -1) { in wait_for_child() 90 int kill_child_and_wait(pid_t child_pid) in kill_child_and_wait() argument 92 kill(child_pid, SIGTERM); in kill_child_and_wait() 94 return wait_for_child(child_pid); in kill_child_and_wait()
|
/dports/devel/py-ddtrace/ddtrace-0.56.1/tests/tracer/runtime/ |
H A D | fork_disable.py | 16 child_pid = os.fork() variable 17 if child_pid == 0: 20 pid, status = os.waitpid(child_pid, 0)
|
/dports/devel/jam/jam-2.6/ |
H A D | execas400.c | 72 pid_t child_pid; in execcmd() local 121 child_pid = spawnp( qsh, 3, fd_map, &inherit, argv, environ ); in execcmd() 122 if( child_pid < 0 ) in execcmd() 137 if( waitpid( child_pid, &wait_status, 0 ) < 0 ) in execcmd()
|
/dports/sysutils/ah-tty/ah-tty-0.3.12/dillib/Spawn/ |
H A D | dillofork2.c | 100 pid_t child_pid; in __Dillo_fork2() local 112 if ((child_pid = __Dillo_fork(ChildIO, Flags)) in __Dillo_fork2() 121 if (child_pid) in __Dillo_fork2() 127 return child_pid; in __Dillo_fork2()
|
/dports/games/xboing/xboing/audio/ |
H A D | LINUXaudio.c | 69 static int child_pid = 0; variable 96 if (child_pid == 0) 107 if ((child_pid = fork())) 209 child_pid = 0; in FreeAudioSystem()
|