Lines Matching refs:ptrace
160 if (current->ptrace & PT_PTRACED) in sys_ptrace()
163 current->ptrace |= PT_PTRACED; in sys_ptrace()
281 child->ptrace |= PT_TRACESYS; in sys_ptrace()
283 child->ptrace &= ~PT_TRACESYS; in sys_ptrace()
318 child->ptrace &= ~PT_TRACESYS; in sys_ptrace()
319 if ((child->ptrace & PT_DTRACE) == 0) { in sys_ptrace()
321 child->ptrace |= PT_DTRACE; in sys_ptrace()
415 child->ptrace |= PT_TRACESYSGOOD; in sys_ptrace()
417 child->ptrace &= ~PT_TRACESYSGOOD; in sys_ptrace()
435 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) != in syscall_trace()
440 current->exit_code = SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in syscall_trace()