Searched refs:child_pid (Results 1 - 25 of 61) sorted by relevance

123

/netbsd-current/external/gpl3/gdb.old/dist/gdb/testsuite/gdb.base/
H A Dattach-non-pgrp-leader.c22 pid_t child_pid; variable
34 child_pid = fork ();
35 if (child_pid == -1)
H A Dinterrupt-daemon-attach.c22 pid_t child_pid; variable
35 child_pid = fork ();
37 switch (child_pid)
H A Dattach-non-pgrp-leader.exp50 set child_pid [get_integer_valueof "child_pid" -1]
51 if {$child_pid == -1} {
63 gdb_test "attach $child_pid" \
64 "Attaching to program.*, process $child_pid.*" \
71 "Detaching from program: .*process $child_pid\r\n\\\[Inferior $decimal \\(.*\\) detached\\\]"
H A Dinterrupt-daemon-attach.exp56 set child_pid [get_integer_valueof "child_pid" -1]
57 if {$child_pid == -1} {
73 gdb_test "attach $child_pid" \
74 "Attaching to program.*, process $child_pid.*" \
87 remote_exec host "kill -9 $child_pid"
/netbsd-current/external/gpl3/gdb/dist/gdb/testsuite/gdb.base/
H A Dattach-non-pgrp-leader.c22 pid_t child_pid; variable
34 child_pid = fork ();
35 if (child_pid == -1)
H A Dinterrupt-daemon-attach.c22 pid_t child_pid; variable
35 child_pid = fork ();
37 switch (child_pid)
H A Dinterrupt-daemon-attach.exp56 set child_pid [get_integer_valueof "child_pid" -1]
57 if {$child_pid == -1} {
73 gdb_test "attach $child_pid" \
74 "Attaching to program.*, process $child_pid.*" \
87 remote_exec host "kill -9 $child_pid"
H A Dattach-non-pgrp-leader.exp50 set child_pid [get_integer_valueof "child_pid" -1]
51 if {$child_pid == -1} {
63 gdb_test "attach $child_pid" \
64 "Attaching to program.*, process $child_pid.*" \
71 "Detaching from program: .*process $child_pid\r\n\\\[Inferior $decimal \\(.*\\) detached\\\]"
H A Drun-control-while-bg-execution.exp72 set child_pid [get_integer_valueof "mypid" -1]
73 if { $child_pid == -1 } {
82 remote_exec target "kill $child_pid"
/netbsd-current/crypto/external/bsd/openssh/dist/
H A Dsandbox-rlimit.c38 pid_t child_pid; member in struct:ssh_sandbox
52 box->child_pid = 0;
83 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
85 box->child_pid = child_pid;
H A Dsandbox-pledge.c41 pid_t child_pid; member in struct:ssh_sandbox
51 box->child_pid = 0;
71 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
73 box->child_pid = child_pid;
/netbsd-current/external/mit/libuv/dist/test/
H A Dtest-fork.c76 static void assert_wait_child(pid_t child_pid) { argument
80 waited_pid = waitpid(child_pid, &child_stat, 0);
85 ASSERT(child_pid == waited_pid);
99 pid_t child_pid; local
102 child_pid = fork();
103 ASSERT(child_pid != -1);
105 if (child_pid != 0) {
107 assert_wait_child(child_pid);
122 pid_t child_pid; local
134 child_pid
160 pid_t child_pid; local
233 pid_t child_pid; local
282 pid_t child_pid; local
460 pid_t child_pid; local
646 pid_t child_pid; local
[all...]
/netbsd-current/external/gpl3/gcc/dist/libphobos/testsuite/libphobos.gc/
H A Dsigmaskgc.d29 auto child_pid = fork();
30 assert(child_pid >= 0);
31 if (child_pid == 0)
/netbsd-current/external/gpl3/gdb.old/dist/gdb/nat/
H A Dlinux-ptrace.c271 int child_pid; local
284 child_pid = __clone2 (function, child_stack, STACK_SIZE,
287 child_pid = clone (function, child_stack + STACK_SIZE,
291 child_pid = fork ();
293 if (child_pid == 0)
297 if (child_pid == -1)
300 return child_pid;
335 static void linux_test_for_tracesysgood (int child_pid);
336 static void linux_test_for_tracefork (int child_pid);
337 static void linux_test_for_exitkill (int child_pid);
344 int child_pid, ret, status; local
379 linux_test_for_tracesysgood(int child_pid) argument
394 linux_test_for_tracefork(int child_pid) argument
466 linux_test_for_exitkill(int child_pid) argument
[all...]
/netbsd-current/lib/libwrap/
H A Dshell_cmd.c48 int child_pid; local
56 switch (child_pid = fork()) {
64 while ((wait_pid = wait((int *) 0)) != -1 && wait_pid != child_pid)
/netbsd-current/external/gpl2/xcvs/dist/src/
H A Drsh-client.c48 int child_pid; local
121 child_pid = popenRW (rsh_argv, pipes);
122 if (child_pid < 0)
126 make_bufs_from_fds (pipes[0], pipes[1], child_pid, to_server_p,
145 int child_pid; local
194 child_pid = piped_child (argv, &tofd, &fromfd, true);
196 if (child_pid < 0)
201 make_bufs_from_fds (tofd, fromfd, child_pid, root, to_server_p,
H A Drelease.c59 setup_update_command (pid_t *child_pid) argument
85 *child_pid = run_piped (&tofd, &fromfd);
86 if (*child_pid < 0)
97 close_update_command (FILE *fp, pid_t child_pid) argument
103 w = waitpid (child_pid, &status, 0);
106 error (1, errno, "waiting for process %d", child_pid);
240 pid_t child_pid; local
248 fp = setup_update_command (&child_pid);
271 status = close_update_command (fp, child_pid);
/netbsd-current/external/gpl3/gdb/dist/gdb/nat/
H A Dlinux-ptrace.c271 int child_pid; local
284 child_pid = __clone2 (function, child_stack, STACK_SIZE,
287 child_pid = clone (function, child_stack + STACK_SIZE,
291 child_pid = fork ();
293 if (child_pid == 0)
297 if (child_pid == -1)
300 return child_pid;
318 static void linux_test_for_exitkill (int child_pid);
325 int child_pid, ret, status; local
341 child_pid
362 linux_test_for_exitkill(int child_pid) argument
[all...]
/netbsd-current/sys/compat/common/
H A Dkern_exit_43.c89 int error, status, child_pid = WAIT_ANY; local
93 error = do_sys_wait(&child_pid, &status, 0, NULL);
95 error = do_sys_wait(&child_pid, &status,
99 error = do_sys_wait(&child_pid, &status, 0, NULL);
101 retval[0] = child_pid;
/netbsd-current/dist/pf/sbin/pflogd/
H A Dprivsep.c58 static volatile pid_t child_pid = -1; variable
93 child_pid = fork();
94 if (child_pid < 0)
97 if (!child_pid) {
310 if (child_pid != -1)
311 kill(child_pid, sig);
/netbsd-current/external/gpl3/gdb.old/dist/gdb/
H A Dx86-linux-nat.h63 void low_new_fork (struct lwp_info *parent, pid_t child_pid) override;
/netbsd-current/external/gpl3/gcc/dist/libcc1/
H A Dgdbctx.hh216 pid_t child_pid = fork (); local
218 if (child_pid == -1)
227 if (child_pid == 0)
257 if (waitpid (child_pid, &status, 0) == -1)
/netbsd-current/external/gpl3/gdb/dist/gdb/
H A Dx86-linux-nat.h60 void low_new_fork (struct lwp_info *parent, pid_t child_pid) override;
H A Drs6000-aix-nat.c143 find_my_aix_parent (pid_t child_pid) argument
148 NULL, 0, &child_pid, 1) != 1)
164 [=] (pid_t child_pid)
166 return find_my_aix_parent (child_pid) == parent_pid;
181 has_my_aix_parent_reported (pid_t child_pid) argument
183 pid_t my_parent = find_my_aix_parent (child_pid);
686 pid_t child_pid = has_my_aix_child_reported (pid); local
687 if (child_pid > 0)
689 ourstatus->set_forked (ptid_t (child_pid));
/netbsd-current/usr.sbin/rpc.pcnfsd/
H A Dpcnfsd_misc.c337 static int child_pid; variable
355 kill(child_pid, SIGKILL);
456 child_pid = pid;
471 if (child_pid == -1)
473 while ((pid = wait(&status)) != child_pid && pid != -1);

Completed in 306 milliseconds

123