Home
last modified time | relevance | path

Searched refs:ptrace (Results 1 – 5 of 5) sorted by relevance

/kernel/
Dexit.c587 if (!p->ptrace && in reparent_leader()
623 BUG_ON((!t->ptrace) != (t->parent == father)); in forget_original_parent()
624 if (likely(!t->ptrace)) in forget_original_parent()
658 if (unlikely(tsk->ptrace)) { in exit_notify()
942 eligible_child(struct wait_opts *wo, bool ptrace, struct task_struct *p) in eligible_child() argument
951 if (ptrace || (wo->wo_flags & __WALL)) in eligible_child()
1103 static int *task_stopped_code(struct task_struct *p, bool ptrace) in task_stopped_code() argument
1105 if (ptrace) { in task_stopped_code()
1134 int ptrace, struct task_struct *p) in wait_task_stopped() argument
1144 if (!ptrace && !(wo->wo_flags & WUNTRACED)) in wait_task_stopped()
[all …]
Dptrace.c52 if (!tsk->ptrace || in ptrace_access_vm()
118 BUG_ON(!child->ptrace); in __ptrace_unlink()
132 child->ptrace = 0; in __ptrace_unlink()
196 WARN_ON(!task->ptrace || task->parent != current); in ptrace_unfreeze_traced()
241 if (child->ptrace && child->parent == current) { in ptrace_check_attach()
408 if (task->ptrace) in ptrace_attach()
413 task->ptrace = flags; in ptrace_attach()
479 if (!current->ptrace) { in ptrace_traceme()
487 current->ptrace = PT_PTRACED; in ptrace_traceme()
562 WARN_ON(!child->ptrace || child->exit_state); in ptrace_detach()
[all …]
Dsignal.c116 if (t->ptrace && sig != SIGKILL) in sig_ignored()
559 return !tsk->ptrace; in unhandled_signal()
877 WARN_ON_ONCE(!(t->ptrace & PT_SEIZED)); in ptrace_trap_notify()
924 if (likely(!(t->ptrace & PT_SEIZED))) in prepare_signal()
1028 (sig == SIGKILL || !p->ptrace)) { in complete_signal()
1326 if (action->sa.sa_handler == SIG_DFL && !t->ptrace) in force_sig_info_to_task()
1918 BUG_ON(!tsk->ptrace && in do_notify_parent()
1969 if (!tsk->ptrace && sig == SIGCHLD && in do_notify_parent()
2072 if (!likely(current->ptrace)) in may_ptrace_stop()
2351 if (likely(!(t->ptrace & PT_SEIZED))) in do_signal_stop()
[all …]
DMakefile8 sysctl.o sysctl_binary.o capability.o ptrace.o user.o \
Dseccomp.c712 unlikely(current->ptrace & PT_SUSPEND_SECCOMP)) in secure_computing_strict()
926 unlikely(current->ptrace & PT_SUSPEND_SECCOMP)) in __secure_computing()