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

12

/external/openssh/
H A Dplatform.h25 void platform_post_fork_parent(pid_t 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...]
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-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 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);
/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/bluetooth/glib/glib/
H A Dgspawn.h92 GPid *child_pid,
105 GPid *child_pid,
/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/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/bluetooth/glib/tests/
H A Dmapping-test.c175 GPid child_pid; local
189 0, NULL, NULL, &child_pid, &error))
206 kill (child_pid, SIGUSR1);
/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/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...]
/external/llvm/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...]
/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/bluetooth/glib/gio/
H A Dgunixmount.c325 GPid child_pid; local
334 &child_pid,
351 g_child_watch_add (child_pid, eject_unmount_cb, data);
H A Dgunixvolume.c377 GPid child_pid; local
393 &child_pid,
410 g_child_watch_add (child_pid, eject_mount_cb, data);
/external/dbus/dbus/
H A Ddbus-sysdeps-util-unix.c81 pid_t child_pid; local
95 switch ((child_pid = fork ()))
140 child_pid, error))
144 kill (child_pid, SIGTERM);
/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/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/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/dbus/tools/
H A Ddbus-launch.c549 pid_t child_pid,
556 verbose ("babysitting, exit_with_session = %d, child_pid = %ld, read_bus_pid_fd = %d\n",
557 exit_with_session, (long) child_pid, read_bus_pid_fd);
611 if (do_waitpid (child_pid) < 0)
548 babysit(int exit_with_session, pid_t child_pid, int read_bus_pid_fd) argument
/external/valgrind/unittest/
H A Dposix_tests.cc954 pid_t child_pid = 0;
957 if (signum == SIGCHLD && child_pid == 0) {
963 // Currently the data race on child_pid can't be found,
965 //ANNOTATE_EXPECT_RACE(&child_pid, "Race on pid: fork vs signal handler");
967 child_pid = fork();
968 if (child_pid == 0) {
/external/mksh/src/
H A Dcheck.pl354 kill(9, $child_pid) if $child_kill_ok;
550 $child_pid = $pid;

Completed in 339 milliseconds

12