Home | History | Annotate | Download | only in nat

Lines Matching defs:child_pid

270   int child_pid;
283 child_pid = __clone2 (function, child_stack, STACK_SIZE,
286 child_pid = clone (function, child_stack + STACK_SIZE,
290 child_pid = fork ();
292 if (child_pid == 0)
296 if (child_pid == -1)
299 return child_pid;
317 static void linux_test_for_exitkill (int child_pid);
324 int child_pid, ret, status;
340 child_pid = linux_fork_to_function (NULL, linux_child_function);
342 ret = my_waitpid (child_pid, &status, 0);
345 else if (ret != child_pid)
352 linux_test_for_exitkill (child_pid);
354 /* Kill child_pid. */
355 kill_child (child_pid, "linux_check_ptrace_features");
361 linux_test_for_exitkill (int child_pid)
365 ret = ptrace (PTRACE_SETOPTIONS, child_pid, (PTRACE_TYPE_ARG3) 0,