Lines Matching refs:ptrace
57 if (current->ptrace & PT_PTRACED) in sys32_ptrace()
60 current->ptrace |= PT_PTRACED; in sys32_ptrace()
240 child->ptrace |= PT_TRACESYS; in sys32_ptrace()
242 child->ptrace &= ~PT_TRACESYS; in sys32_ptrace()
268 child->ptrace |= PT_TRACESYSGOOD; in sys32_ptrace()
270 child->ptrace &= ~PT_TRACESYSGOOD; in sys32_ptrace()
301 if (current->ptrace & PT_PTRACED) in sys_ptrace()
304 current->ptrace |= PT_PTRACED; in sys_ptrace()
461 child->ptrace |= PT_TRACESYS; in sys_ptrace()
463 child->ptrace &= ~PT_TRACESYS; in sys_ptrace()
489 child->ptrace |= PT_TRACESYSGOOD; in sys_ptrace()
491 child->ptrace &= ~PT_TRACESYSGOOD; in sys_ptrace()
510 if ((current->ptrace & (PT_PTRACED|PT_TRACESYS)) in syscall_trace()
516 current->exit_code = SIGTRAP | ((current->ptrace & PT_TRACESYSGOOD) in syscall_trace()