/macosx-10.10.1/OpenSSH-189/openssh/ |
H A D | sandbox-systrace.c | 75 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 D | platform.h | 25 void platform_post_fork_parent(pid_t child_pid);
|
H A D | sandbox-darwin.c | 39 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 D | sandbox-rlimit.c | 41 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 D | sandbox-null.c | 67 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
|
H A D | platform.c | 58 platform_post_fork_parent(pid_t child_pid) argument 61 solaris_contract_post_fork_parent(child_pid);
|
H A D | sandbox-seccomp-filter.c | 130 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.1/kext_tools-384.1.4/ |
H A D | fork_program.c | 29 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 D | kextd_main.c | 885 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.1/autofs-246/smbremountserver/ |
H A D | smbremountserver.c | 53 int child_pid; local 100 switch ((child_pid = fork())) {
|
/macosx-10.10.1/gnutar-453/gnutar/src/ |
H A D | system.c | 61 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 D | buffer.c | 70 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.1/curl-83.1.2/curl/lib/ |
H A D | curl_ntlm_wb.c | 115 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.1/Security-57031.1.35/codesign_wrapper/ |
H A D | check_entitlements.c | 222 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 D | codesign_wrapper.c | 149 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.1/shell_cmds-179/su/ |
H A D | su.c | 173 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.1/llvmCore-3425.0.34/utils/unittest/googletest/ |
H A D | gtest-death-test.cc | 747 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.1/configd-699.1.5/configd.tproj/ |
H A D | configd.m | 224 int child_pid; 227 child_pid = fork(); 228 switch (child_pid) { 241 (void) wait4(child_pid, (int *)&status, 0, 0);
|
/macosx-10.10.1/autofs-246/automountlib/ |
H A D | ns_files.c | 611 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.1/groff-38/groff/src/preproc/html/ |
H A D | pre-html.cpp | 1282 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.1/apache-793/httpd/server/mpm/winnt/ |
H A D | mpm_winnt.c | 535 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.1/apache-793/httpd/server/mpm/mpmt_os2/ |
H A D | mpmt_os2.c | 274 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.1/ruby-106/ruby/ext/pty/ |
H A D | pty.c | 73 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.1/cups-408/cups/backend/ |
H A D | usb-darwin.c | 288 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.1/apache-793/httpd/modules/generators/ |
H A D | mod_status.c | 103 static pid_t child_pid; variable 216 times_per_thread = getpid() != child_pid; 934 child_pid = getpid();
|