Searched defs:child_pid (Results 1 - 25 of 30) sorted by relevance

12

/external/openssh/
H A Dsandbox-darwin.c39 pid_t child_pid; member in struct:ssh_sandbox
53 box->child_pid = 0;
93 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
95 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 Dsandbox-rlimit.c41 pid_t child_pid; member in struct:ssh_sandbox
55 box->child_pid = 0;
88 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
90 box->child_pid = child_pid;
H A Dplatform.c58 platform_post_fork_parent(pid_t child_pid) argument
61 solaris_contract_post_fork_parent(child_pid);
H A Dsandbox-systrace.c74 pid_t child_pid; member in struct:ssh_sandbox
90 box->child_pid = 0;
113 ssh_sandbox_parent(struct ssh_sandbox *box, pid_t child_pid, argument
120 debug3("%s: wait for child %ld", __func__, (long)child_pid);
121 box->child_pid = child_pid;
126 debug3("%s: child %ld ready", __func__, (long)child_pid);
137 if (ioctl(box->systrace_fd, STRIOCATTACH, &child_pid) == -1)
139 box->systrace_fd, child_pid, strerror(errno));
150 policy.strp_pid = box->child_pid;
193 ssh_sandbox_parent_preauth(struct ssh_sandbox *box, pid_t child_pid) argument
[all...]
/external/chromium_org/sandbox/linux/services/
H A Dinit_process_reaper.cc33 pid_t child_pid = fork(); local
34 if (child_pid == -1) {
42 if (child_pid) {
71 if (reaped_child_info.si_pid == child_pid) {
H A Dbroker_process.cc151 int child_pid = fork(); local
152 if (child_pid == -1) {
157 if (child_pid) {
165 broker_pid_ = child_pid;
/external/chromium_org/components/nacl/loader/
H A Dnacl_helper_linux.cc126 pid_t child_pid = fork(); local
127 if (child_pid < 0) {
131 if (child_pid == 0) {
143 VLOG(1) << "nacl_helper: child_pid is " << child_pid;
145 // Now send child_pid (eventually -1 if fork failed) to the Chrome Zygote.
146 output_pickle->WriteInt(child_pid);
/external/chromium_org/sandbox/linux/suid/
H A Dsandbox.c202 // Block until child_pid exits, then exit. Try to preserve the exit code.
203 static void WaitForChildAndExit(pid_t child_pid) { argument
217 HANDLE_EINTR(waitid(P_PID, child_pid, &reaped_child_info, WEXITED));
219 if (!wait_ret && reaped_child_info.si_pid == child_pid) {
/external/chromium_org/tools/android/forwarder2/
H A Ddaemon.cc81 pid_t child_pid = waitpid(-1 /* any child */, &status, WNOHANG); local
82 if (child_pid < 0) {
86 if (child_pid == 0)
93 string_builder.Append("Daemon (pid=%d) died unexpectedly with ", child_pid);
/external/e2fsprogs/misc/
H A Dlogsave.c40 pid_t child_pid = -1; variable
155 if (child_pid > 0)
156 kill(child_pid, sig);
197 child_pid = pid;
203 child_pid = -1;
/external/ipsec-tools/src/racoon/
H A Dprivsep.c168 pid_t child_pid; local
192 switch (child_pid = fork()) {
/external/chromium_org/content/zygote/
H A Dzygote_linux.cc476 base::ProcessId child_pid = ForkWithRealPid(process_type, mapping, channel_id, local
479 if (!child_pid) {
496 } else if (child_pid < 0) {
498 << " numfds " << numfds << " child_pid " << child_pid; local
500 return child_pid;
510 base::ProcessId child_pid = ReadArgsAndFork(pickle, iter, fds, local
513 if (child_pid == 0)
529 reply_pickle.WriteInt(child_pid);
/external/linux-tools-perf/
H A Dbuiltin-record.c58 static pid_t child_pid = -1; variable
151 if (child_pid > 0)
152 kill(child_pid, SIGTERM);
532 child_pid = fork();
533 if (child_pid < 0) {
538 if (!child_pid) {
571 evsel_list->threads->map[0] = child_pid;
H A Dbuiltin-stat.c189 static pid_t child_pid = -1; variable
404 if ((child_pid = fork()) < 0)
407 if (!child_pid) {
437 evsel_list->threads->map[0] = child_pid;
468 if (child_pid != -1)
469 kill(child_pid, SIGTERM);
1005 if(child_pid == -1)
1013 if (child_pid != -1)
1014 kill(child_pid, SIGTERM);
/external/chromium/sdch/open-vcdiff/src/gtest/
H A Dgtest-death-test.cc252 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } argument
472 const pid_t child_pid = fork(); local
473 GTEST_DEATH_TEST_CHECK(child_pid != -1);
474 set_child_pid(child_pid);
475 if (child_pid == 0) {
582 const pid_t child_pid = clone(&ExecDeathTestChildMain, stack_top, local
584 GTEST_DEATH_TEST_CHECK(child_pid != -1);
586 return child_pid;
632 const pid_t child_pid local
[all...]
/external/chromium/testing/gtest/test/
H A Dgtest-death-test_test.cc227 pid_t child_pid = fork(); local
228 if (child_pid == 0) {
232 waitpid(child_pid, &status, 0);
242 pid_t child_pid = fork(); local
243 if (child_pid == 0) {
248 waitpid(child_pid, &status, 0);
/external/chromium_org/testing/gtest/test/
H A Dgtest-death-test_test.cc231 pid_t child_pid = fork(); local
232 if (child_pid == 0) {
236 waitpid(child_pid, &status, 0);
246 pid_t child_pid = fork(); local
247 if (child_pid == 0) {
252 waitpid(child_pid, &status, 0);
/external/gtest/test/
H A Dgtest-death-test_test.cc227 pid_t child_pid = fork(); local
228 if (child_pid == 0) {
232 waitpid(child_pid, &status, 0);
242 pid_t child_pid = fork(); local
243 if (child_pid == 0) {
248 waitpid(child_pid, &status, 0);
/external/open-vcdiff/gtest/src/
H A Dgtest-death-test.cc700 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } argument
758 const pid_t child_pid = fork(); local
759 GTEST_DEATH_TEST_CHECK_(child_pid != -1);
760 set_child_pid(child_pid);
761 if (child_pid == 0) {
902 pid_t child_pid = -1; local
917 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args);
925 if (use_fork && (child_pid = fork()) == 0) {
930 GTEST_DEATH_TEST_CHECK_(child_pid !
976 const pid_t child_pid = ExecDeathTestFork(args.Argv(), pipe_fd[0]); local
[all...]
/external/protobuf/gtest/src/
H A Dgtest-death-test.cc700 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } argument
758 const pid_t child_pid = fork(); local
759 GTEST_DEATH_TEST_CHECK_(child_pid != -1);
760 set_child_pid(child_pid);
761 if (child_pid == 0) {
902 pid_t child_pid = -1; local
917 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args);
925 if (use_fork && (child_pid = fork()) == 0) {
930 GTEST_DEATH_TEST_CHECK_(child_pid !
976 const pid_t child_pid = ExecDeathTestFork(args.Argv(), pipe_fd[0]); local
[all...]
/external/protobuf/gtest/test/
H A Dgtest-death-test_test.cc218 pid_t child_pid = fork(); local
219 if (child_pid == 0) {
223 waitpid(child_pid, &status, 0);
233 pid_t child_pid = fork(); local
234 if (child_pid == 0) {
239 waitpid(child_pid, &status, 0);
/external/chromium/testing/gtest/src/
H A Dgtest-death-test.cc748 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } argument
806 const pid_t child_pid = fork(); local
807 GTEST_DEATH_TEST_CHECK_(child_pid != -1);
808 set_child_pid(child_pid);
809 if (child_pid == 0) {
950 pid_t child_pid = -1; local
965 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args);
973 if (use_fork && (child_pid = fork()) == 0) {
978 GTEST_DEATH_TEST_CHECK_(child_pid !
1024 const pid_t child_pid = ExecDeathTestFork(args.Argv(), pipe_fd[0]); local
[all...]
/external/chromium_org/testing/gtest/src/
H A Dgtest-death-test.cc784 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } argument
842 const pid_t child_pid = fork(); local
843 GTEST_DEATH_TEST_CHECK_(child_pid != -1);
844 set_child_pid(child_pid);
845 if (child_pid == 0) {
1004 pid_t child_pid = -1; local
1031 child_pid = spawn(args.argv[0], 0, NULL, &inherit, args.argv, GetEnviron());
1074 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args);
1082 if (use_fork && (child_pid
1138 const pid_t child_pid = ExecDeathTestSpawnChild(args.Argv(), pipe_fd[0]); local
[all...]
/external/chromium_org/third_party/mesa/src/src/gtest/src/
H A Dgtest-death-test.cc748 void set_child_pid(pid_t child_pid) { child_pid_ = child_pid; } argument
806 const pid_t child_pid = fork(); local
807 GTEST_DEATH_TEST_CHECK_(child_pid != -1);
808 set_child_pid(child_pid);
809 if (child_pid == 0) {
955 pid_t child_pid = -1; local
970 child_pid = clone(&ExecDeathTestChildMain, stack_top, SIGCHLD, &args);
978 if (use_fork && (child_pid = fork()) == 0) {
983 GTEST_DEATH_TEST_CHECK_(child_pid !
1029 const pid_t child_pid = ExecDeathTestFork(args.Argv(), pipe_fd[0]); local
[all...]

Completed in 526 milliseconds

12