Lines Matching refs:ptrace
74 BUG_ON(!child->ptrace); in __ptrace_unlink()
76 child->ptrace = 0; in __ptrace_unlink()
145 WARN_ON(!task->ptrace || task->parent != current); in ptrace_unfreeze_traced()
184 if (child->ptrace && child->parent == current) { in ptrace_check_attach()
341 if (task->ptrace) in ptrace_attach()
350 task->ptrace = flags; in ptrace_attach()
410 if (!current->ptrace) { in ptrace_traceme()
418 current->ptrace = PT_PTRACED; in ptrace_traceme()
494 WARN_ON(!child->ptrace || child->exit_state); in ptrace_detach()
517 if (unlikely(p->ptrace & PT_EXITKILL)) in exit_ptrace()
583 flags = child->ptrace; in ptrace_setoptions()
586 child->ptrace = flags; in ptrace_setoptions()
825 bool seized = child->ptrace & PT_SEIZED; in ptrace_request()
1055 SYSCALL_DEFINE4(ptrace, long, request, long, pid, unsigned long, addr, in SYSCALL_DEFINE4() argument
1201 COMPAT_SYSCALL_DEFINE4(ptrace, compat_long_t, request, compat_long_t, pid, in COMPAT_SYSCALL_DEFINE4() argument