Lines Matching defs:child
457 pid_t child = fork();
459 if (child < 0)
462 if (child == 0) {
484 base = ptrace(PTRACE_PEEKUSER, child, base_offset, NULL);
495 if (ptrace(PTRACE_POKEUSER, child, gs_offset, 0x7) != 0)
499 base = ptrace(PTRACE_PEEKUSER, child, base_offset, NULL);
509 ptrace(PTRACE_CONT, child, NULL, NULL);
519 pid_t child = fork();
521 if (child < 0)
524 if (child == 0) {
543 gs = ptrace(PTRACE_PEEKUSER, child, gs_offset, NULL);
551 if (ptrace(PTRACE_POKEUSER, child, base_offset, 0xFF) != 0)
554 gs = ptrace(PTRACE_PEEKUSER, child, gs_offset, NULL);
555 base = ptrace(PTRACE_PEEKUSER, child, base_offset, NULL);
589 ptrace(PTRACE_CONT, child, NULL, NULL);