Home
last modified time | relevance | path

Searched refs:P_TRACED (Results 1 – 18 of 18) sorted by relevance

/freebsd/sys/kern/
H A Dkern_exit.c477 if ((p->p_flag & (P_TRACED | P_PPWAIT | P_PPTRACE)) != 0) { in exit1()
479 p->p_flag &= ~(P_TRACED | P_PPWAIT | P_PPTRACE); in exit1()
503 if ((q->p_flag & P_TRACED) == 0) { in exit1()
554 q->p_flag &= ~P_TRACED; in exit1()
1059 (p->p_flag & P_TRACED) != 0)) { in proc_to_reap()
1345 (p->p_flag & P_TRACED) != 0) { in kern_wait6()
1437 KASSERT((child->p_flag & P_TRACED) != 0, in proc_add_orphan()
1470 if ((child->p_flag & P_TRACED) != 0) { in proc_reparent()
H A Dsubr_syscall.c68 traced = (p->p_flag & P_TRACED) != 0; in syscallenter()
250 if (__predict_false(p->p_flag & P_TRACED)) { in syscallret()
H A Dkern_sig.c2137 if ((p->p_flag & P_TRACED) == 0 && SIGISMEMBER(ps->ps_sigcatch, sig) && in trapsignal()
2408 if (p->p_flag & P_TRACED) in tdsendsignal()
2424 if (p->p_flag & P_TRACED) in tdsendsignal()
2474 if (p->p_flag & P_TRACED) in tdsendsignal()
2507 if (p->p_flag & P_TRACED || action == SIG_CATCH) { in tdsendsignal()
2841 while ((p->p_flag & P_TRACED) && (td->td_dbgflags & TDB_XSIG)) { in ptracestop()
2913 if (!(p->p_flag & P_TRACED)) in ptracestop()
2976 if (p->p_flag & P_TRACED || in reschedule_signals()
3133 (p->p_flag & P_TRACED) == 0 && in sigprocess()
3148 if ((p->p_flag & (P_TRACED | P_PPTRACE)) == P_TRACED) { in sigprocess()
[all …]
H A Dsys_process.c776 p->p_flag |= P_TRACED; in proc_set_traced()
811 if ((p->p_flag & P_TRACED) == 0) in proc_can_ptrace()
962 if ((p->p_flag & P_TRACED) != 0) { in kern_ptrace()
980 if (p->p_flag & P_TRACED) { in kern_ptrace()
986 if (curp->p_flag & P_TRACED) { in kern_ptrace()
1274 p->p_flag &= ~(P_TRACED | P_WAITED); in kern_ptrace()
H A Dkern_procctl.c596 if ((p->p_flag & P_TRACED) != 0 || p->p_traceflag != 0) in trace_ctl()
632 KASSERT((p->p_flag & P_TRACED) == 0, in trace_status()
635 } else if ((p->p_flag & P_TRACED) != 0) { in trace_status()
H A Dkern_thread.c1245 if ((p->p_flag & (P_STOPPED_SIG | P_TRACED)) != 0 || in thread_single()
1360 return (P_SHOULDSTOP(p) || ((p->p_flag & P_TRACED) != 0 && in thread_suspend_check_needed()
1523 ((p->p_flag & P_TRACED) && (td->td_dbgflags & TDB_SUSPEND))) in thread_check_susp()
H A Dsys_procdesc.c399 if ((p->p_flag & P_TRACED) == 0) { in procdesc_close()
H A Dkern_fork.c1189 if ((p->p_flag & P_TRACED) != 0) { in fork_return()
1203 } else if (p->p_flag & P_TRACED) { in fork_return()
H A Dkern_proc.c1187 if (p->p_flag & P_TRACED) in fill_kinfo_proc_only()
3536 if ((p->p_flag & P_TRACED) != 0) { in stop_all_proc()
H A Dkern_exec.c611 (p->p_flag & P_TRACED) == 0) { in do_execve()
/freebsd/contrib/llvm-project/lldb/source/Host/freebsd/
H A DHost.cpp192 kinfo.ki_flag & P_TRACED || // Being debugged? in FindProcessesImpl()
/freebsd/contrib/llvm-project/lldb/source/Host/netbsd/
H A DHostNetBSD.cpp218 proc_kinfo[i].p_flag & P_TRACED || // Being debugged? in FindProcessesImpl()
/freebsd/sys/cddl/dev/dtrace/
H A Ddtrace_ioctl.c53 (p->p_flag & (P_TRACED | P_WEXIT)) != P_TRACED || in dtrace_ioctl_helper()
/freebsd/sys/i386/linux/
H A Dlinux_ptrace_machdep.c362 if ((p->p_flag & P_TRACED) == 0) { in linux_ptrace()
/freebsd/sys/ddb/
H A Ddb_ps.c218 if (p->p_flag & P_TRACED) in db_ps_proc()
/freebsd/bin/ps/
H A Dprint.c260 if (flag & P_TRACED) in state()
/freebsd/sys/sys/
H A Dproc.h819 #define P_TRACED 0x00000800 /* Debugged process being traced. */ macro
/freebsd/contrib/bsnmp/tests/
H A Dcatch.hpp10324 return ( (info.kp_proc.p_flag & P_TRACED) != 0 ); in isDebuggerActive()