Lines Matching defs:ptrace
25 #include <linux/ptrace.h>
616 /* Preserve ptrace links if someone else is tracing this child. */
624 p->ptrace = 0;
704 int ptrace;
707 ptrace = p->ptrace;
709 /* if father isn't the real parent, then ptrace must be enabled */
710 BUG_ON(father != p->real_parent && !ptrace);
730 if (unlikely(ptrace && p->exit_state == EXIT_ZOMBIE && p->exit_signal == -1))
838 } else if (tsk->ptrace) {
844 (likely(tsk->ptrace == 0) ||
883 if (unlikely(current->ptrace & PT_TRACE_EXIT)) {
1083 if (p->exit_signal == -1 && !p->ptrace)
1155 if (unlikely(p->exit_signal == -1 && p->ptrace == 0))
1179 if (unlikely(p->exit_signal == -1 && p->ptrace == 0)) {
1320 if (delayed_group_leader && !(p->ptrace & PT_PTRACED) &&
1341 int why = (p->ptrace & PT_PTRACED) ? CLD_TRAPPED : CLD_STOPPED;
1404 retval = put_user((short)((p->ptrace & PT_PTRACED)
1476 if (!(p->ptrace & PT_PTRACED))
1478 if (!(p->ptrace & PT_ATTACHED))
1485 * the flags in p->ptrace.