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

12

/macosx-10.10/OpenSSH-189/openssh/
H A Dsandbox-systrace.c75 pid_t child_pid; member in struct:ssh_sandbox
87 box->child_pid = 0;
104 ssh_sandbox_parent(struct ssh_sandbox *box, pid_t child_pid, argument
112 debug3("%s: wait for child %ld", __func__, (long)child_pid);
114 pid = waitpid(child_pid, &status, WUNTRACED);
126 debug3("%s: child %ld stopped", __func__, (long)child_pid);
127 box->child_pid = child_pid;
138 if (ioctl(box->systrace_fd, STRIOCATTACH, &child_pid) == -1)
140 box->systrace_fd, child_pid, strerro
193 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
[all...]
H A Dplatform.h25 void platform_post_fork_parent(pid_t child_pid);
H A Dsandbox-darwin.c39 pid_t child_pid; member in struct:ssh_sandbox
53 box->child_pid = 0;
98 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
100 box->child_pid = child_pid;
H A Dsandbox-rlimit.c41 pid_t child_pid; member in struct:ssh_sandbox
55 box->child_pid = 0;
90 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
92 box->child_pid = child_pid;
H A Dsandbox-null.c67 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
H A Dplatform.c58 platform_post_fork_parent(pid_t child_pid) argument
61 solaris_contract_post_fork_parent(child_pid);
H A Dsandbox-seccomp-filter.c130 pid_t child_pid; member in struct:ssh_sandbox
144 box->child_pid = 0;
231 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
233 box->child_pid = child_pid;
/macosx-10.10/kext_tools-384.1.4/
H A Dfork_program.c29 pid_t child_pid; local
72 spawn_result = posix_spawn(&child_pid, argv0, /* file_actions */ NULL,
86 argv0, child_pid, wait ? "" : "a");
90 if (waitpid(child_pid, &child_status, 0) == -1) {
101 argv0, child_pid, result);
107 argv0, child_pid, result);
113 result = child_pid;
H A Dkextd_main.c885 pid_t child_pid = -1; local
891 child_pid = waitpid(-1 /* any child */, &child_status, WNOHANG);
892 if (child_pid == -1) {
899 } else if (child_pid > 0) {
911 child_pid, WEXITSTATUS(child_status));
913 } while (child_pid > 0);
/macosx-10.10/autofs-246/smbremountserver/
H A Dsmbremountserver.c53 int child_pid; local
100 switch ((child_pid = fork())) {
/macosx-10.10/gnutar-453/gnutar/src/
H A Dsystem.c61 sys_wait_for_child (pid_t child_pid) argument
184 sys_wait_for_child (pid_t child_pid) argument
186 if (child_pid)
190 while (waitpid (child_pid, &wait_status, 0) == -1)
314 pid_t child_pid; local
318 child_pid = xfork ();
320 if (child_pid > 0)
326 return child_pid;
459 kill (child_pid, WTERMSIG (wait_status));
475 pid_t child_pid; local
[all...]
H A Dbuffer.c70 static pid_t child_pid; variable
293 child_pid = sys_child_open_for_uncompress ();
516 child_pid = sys_child_open_for_uncompress ();
522 child_pid = sys_child_open_for_compress ();
902 sys_wait_for_child (child_pid);
/macosx-10.10/curl-83.1.2/curl/lib/
H A Dcurl_ntlm_wb.c115 pid_t child_pid; local
163 child_pid = fork();
164 if(child_pid == -1) {
172 else if(!child_pid) {
216 conn->ntlm_auth_hlpr_pid = child_pid;
/macosx-10.10/Security-57031.1.35/codesign_wrapper/
H A Dcheck_entitlements.c222 pid_t child_pid = fork_child(pre_exec, pre_exec_arg, argv); local
224 kill_child = child_pid;
228 int err = wait4(child_pid, &exit_status, 0, NULL);
234 if (err == child_pid) {
236 log("child %d received signal %d", child_pid, WTERMSIG(exit_status));
237 kill(child_pid, SIGHUP);
H A Dcodesign_wrapper.c149 pid_t child_pid = fork_child(pre_exec, pre_exec_arg, argv); local
151 kill_child = child_pid;
155 int err = wait4(child_pid, &exit_status, 0, NULL);
161 if (err == child_pid) {
163 log("child %d received signal %d", child_pid, WTERMSIG(exit_status));
164 kill(child_pid, SIGHUP);
/macosx-10.10/shell_cmds-179/su/
H A Dsu.c173 pid_t child_pid, child_pgrp, pid; local
499 child_pid = fork();
500 switch (child_pid) {
505 setpgid(child_pid, child_pid);
507 tcsetpgrp(STDERR_FILENO, child_pid);
510 while ((pid = waitpid(child_pid, &statusp, WUNTRACED)) != -1) {
512 child_pgrp = getpgid(child_pid);
517 child_pgrp = getpgid(child_pid);
520 kill(child_pid, SIGCON
[all...]
/macosx-10.10/llvmCore-3425.0.34/utils/unittest/googletest/
H A Dgtest-death-test.cc747 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } argument
805 const pid_t child_pid = fork(); local
806 GTEST_DEATH_TEST_CHECK_(child_pid != -1);
807 set_child_pid(child_pid);
808 if (child_pid == 0) {
954 pid_t child_pid = -1; local
969 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args);
977 if (use_fork && (child_pid = fork()) == 0) {
982 GTEST_DEATH_TEST_CHECK_(child_pid !
1028 const pid_t child_pid = ExecDeathTestFork(args.Argv(), pipe_fd[0]); local
[all...]
/macosx-10.10/configd-699.1.5/configd.tproj/
H A Dconfigd.m224 int child_pid;
227 child_pid = fork();
228 switch (child_pid) {
241 (void) wait4(child_pid, (int *)&status, 0, 0);
/macosx-10.10/autofs-246/automountlib/
H A Dns_files.c611 int child_pid; local
633 switch ((child_pid = fork())) {
661 while (waitpid(child_pid, &status, 0) < 0) {
707 int child_pid; local
730 switch ((child_pid = fork())) {
794 while (waitpid(child_pid, &status, 0) < 0) {
/macosx-10.10/groff-38/groff/src/preproc/html/
H A Dpre-html.cpp1282 PID_T child_pid; local
1292 if ((child_pid = fork()) < 0)
1295 else if (child_pid == 0) {
1350 if (WAIT(&status, child_pid, _WAIT_CHILD) != child_pid)
1385 if ((child_pid = spawnvp(_P_NOWAIT, argv[0], argv)) < 0) {
1417 if (WAIT(&status, child_pid, _WAIT_CHILD) != child_pid)
/macosx-10.10/apache-793/httpd/server/mpm/winnt/
H A Dmpm_winnt.c535 DWORD *child_pid)
698 *child_pid = new_child.pid;
755 DWORD child_pid; local
764 &child_exit_event, &child_pid);
783 winnt_note_child_started(/* slot */ 0, child_pid);
845 child_pid, exitcode);
853 child_pid, exitcode);
895 "Parent: Child process %lu exited successfully.", child_pid);
902 child_pid);
534 create_process(apr_pool_t *p, HANDLE *child_proc, HANDLE *child_exit_event, DWORD *child_pid) argument
/macosx-10.10/apache-793/httpd/server/mpm/mpmt_os2/
H A Dmpmt_os2.c274 PID child_pid; local
291 rc = DosWaitChild(DCWA_PROCESSTREE, DCWW_NOWAIT, &proc_rc, &child_pid, 0);
295 for (slot=0; ap_scoreboard_image->parent[slot].pid != child_pid && slot < HARD_SERVER_LIMIT; slot++);
/macosx-10.10/ruby-106/ruby/ext/pty/
H A Dpty.c73 rb_pid_t child_pid; member in struct:pty_info
203 info->child_pid = pid;
537 rb_detach_process(info->child_pid);
598 rb_ary_store(res,2,PIDT2NUM(info.child_pid));
/macosx-10.10/cups-408/cups/backend/
H A Dusb-darwin.c288 static pid_t child_pid; /* Child PID */ variable
2034 if ((err = posix_spawn(&child_pid, usbpath, NULL, &attrs, my_argv,
2058 (int)child_pid);
2060 while ((waitpid_status = waitpid(child_pid, &childstatus, 0)) == (pid_t)-1 && errno == EINTR)
2067 child_pid, WTERMSIG(childstatus));
2074 child_pid, exitstatus);
2077 child_pid);
2103 if (child_pid)
2111 kill(child_pid, sig);
2112 while (waitpid(child_pid,
[all...]
/macosx-10.10/apache-793/httpd/modules/generators/
H A Dmod_status.c103 static pid_t child_pid; variable
216 times_per_thread = getpid() != child_pid;
934 child_pid = getpid();

Completed in 205 milliseconds

12