Lines Matching refs:ptrace
97 if (unlikely(child->ptrace)) in ptrace_unlink()
119 if (unlikely(task->ptrace)) in ptrace_parent()
135 return task->ptrace & PT_EVENT_FLAG(event); in ptrace_event_enabled()
154 if ((current->ptrace & (PT_PTRACED|PT_SEIZED)) == PT_PTRACED) in ptrace_event()
200 static inline void ptrace_init_task(struct task_struct *child, bool ptrace) in ptrace_init_task() argument
205 child->ptrace = 0; in ptrace_init_task()
208 if (unlikely(ptrace) && current->ptrace) { in ptrace_init_task()
209 child->ptrace = current->ptrace; in ptrace_init_task()
212 if (child->ptrace & PT_SEIZED) in ptrace_init_task()
409 int ptrace = current->ptrace; in ptrace_report_syscall() local
412 if (!(ptrace & PT_PTRACED)) in ptrace_report_syscall()
415 signr = ptrace_notify(SIGTRAP | ((ptrace & PT_TRACESYSGOOD) ? 0x80 : 0), in ptrace_report_syscall()