Lines Matching refs:ptrace
189 if (current->ptrace & PT_PTRACED) in sys_ptrace()
192 current->ptrace |= PT_PTRACED; in sys_ptrace()
314 child->ptrace |= PT_TRACESYS; in sys_ptrace()
316 child->ptrace &= ~PT_TRACESYS; in sys_ptrace()
352 child->ptrace &= ~PT_TRACESYS; in sys_ptrace()
353 if ((child->ptrace & PT_DTRACE) == 0) { in sys_ptrace()
355 child->ptrace |= PT_DTRACE; in sys_ptrace()
424 child->ptrace |= PT_TRACESYSGOOD; in sys_ptrace()
426 child->ptrace &= ~PT_TRACESYSGOOD; in sys_ptrace()
444 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) != in syscall_trace()
448 current->exit_code = SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in syscall_trace()