Lines Matching refs:ptrace
102 if (current->ptrace & PT_PTRACED) in sys_ptrace()
105 current->ptrace |= PT_PTRACED; in sys_ptrace()
127 if (!(child->ptrace & PT_PTRACED)) in sys_ptrace()
300 child->ptrace &= ~(PT_SINGLESTEP|PT_BLOCKSTEP); in sys_ptrace()
302 child->ptrace |= PT_TRACESYS; in sys_ptrace()
304 child->ptrace &= ~PT_TRACESYS; in sys_ptrace()
325 child->ptrace &= ~(PT_TRACESYS|PT_SINGLESTEP); in sys_ptrace()
326 child->ptrace |= PT_BLOCKSTEP; in sys_ptrace()
341 child->ptrace &= ~(PT_TRACESYS|PT_BLOCKSTEP); in sys_ptrace()
342 child->ptrace |= PT_SINGLESTEP; in sys_ptrace()
410 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) != in syscall_trace()