Searched refs:PSL_TRACED (Results 1 – 18 of 18) sorted by relevance
| /netbsd/src/sys/kern/ |
| D | kern_fork.c | 212 return (p->p_slflag & (PSL_TRACEFORK|PSL_TRACED)) == in tracefork() 213 (PSL_TRACEFORK|PSL_TRACED) && (flags & FORK_PPWAIT) == 0; in tracefork() 223 return (p->p_slflag & (PSL_TRACEVFORK|PSL_TRACED)) == in tracevfork() 224 (PSL_TRACEVFORK|PSL_TRACED) && (flags & FORK_PPWAIT) != 0; in tracevfork() 234 return (p->p_slflag & (PSL_TRACEVFORK_DONE|PSL_TRACED)) == in tracevforkdone() 235 (PSL_TRACEVFORK_DONE|PSL_TRACED) && (flags & FORK_PPWAIT); in tracevforkdone() 645 if ((p->p_slflag & (PSL_TRACED|PSL_TRACEDCHILD)) == in child_return() 646 (PSL_TRACED|PSL_TRACEDCHILD)) { in child_return()
|
| D | kern_syscall.c | 259 if ((p->p_slflag & (PSL_SYSCALL|PSL_TRACED)) == in trace_enter() 260 (PSL_SYSCALL|PSL_TRACED)) { in trace_enter() 302 if ((p->p_slflag & (PSL_SYSCALL|PSL_TRACED|PSL_SYSCALLEMU)) == in trace_exit() 303 (PSL_SYSCALL|PSL_TRACED)) { in trace_exit()
|
| D | kern_exit.c | 475 if (__predict_false(child->p_slflag & PSL_TRACED)) { in exit1() 478 ~(PSL_TRACED|PSL_SYSCALL); in exit1() 1102 ((child->p_slflag & PSL_TRACED) || in find_stopped_child() 1111 (child->p_slflag & PSL_TRACED) ? in find_stopped_child() 1181 if ((p->p_slflag & PSL_TRACED) != 0 && p->p_opptr != parent) { in proc_free() 1183 p->p_slflag &= ~(PSL_TRACED|PSL_SYSCALL); in proc_free() 1292 SET(t->p_slflag, PSL_TRACED); in proc_changeparent()
|
| D | sys_lwp.c | 86 if ((p->p_slflag & (PSL_TRACED|PSL_TRACELWP_CREATE)) == in mi_startlwp() 87 (PSL_TRACED|PSL_TRACELWP_CREATE)) { in mi_startlwp() 90 if ((p->p_slflag & (PSL_TRACED|PSL_TRACELWP_CREATE)) != in mi_startlwp() 91 (PSL_TRACED|PSL_TRACELWP_CREATE)) { in mi_startlwp()
|
| D | kern_sig.c | 928 if (ISSET(p->p_slflag, PSL_TRACED) && in trapsignal() 1315 traced = ISSET(p->p_slflag, PSL_TRACED) && in kpsignal2() 1581 KASSERT(ISSET(p->p_slflag, PSL_TRACED)); in eventswitch() 1614 if (__predict_false(!ISSET(p->p_slflag, PSL_TRACED))) { in eventswitch() 1682 if ((p->p_slflag & (PSL_TRACED|PSL_TRACEDCHILD)) != in eventswitchchild() 1683 (PSL_TRACED|PSL_TRACEDCHILD)) { in eventswitchchild() 1797 if ((p->p_slflag & PSL_TRACED) == 0 || p->p_xsig == 0 || in sigchecktrace() 1898 traced = ISSET(p->p_slflag, PSL_TRACED) && in issignal() 2545 KASSERT(ISSET(p->p_slflag, PSL_TRACED)); in proc_stoptrace() 2600 if (__predict_false(!ISSET(p->p_slflag, PSL_TRACED))) { in proc_stoptrace()
|
| D | sys_ptrace_common.c | 358 if (ISSET(p->p_slflag, PSL_TRACED)) in ptrace_allowed() 386 if (ISSET(t->p_slflag, PSL_TRACED)) in ptrace_allowed() 460 if (!ISSET(t->p_slflag, PSL_TRACED)) in ptrace_allowed() 1147 SET(t->p_slflag, PSL_TRACED); in do_ptrace() 1367 PSL_TRACED|PSL_TRACEDCHILD|PSL_SYSCALL); in do_ptrace()
|
| D | kern_exec.c | 1054 if ((p->p_slflag & PSL_TRACED) == 0 && in credexec() 1396 if ((p->p_slflag & PSL_TRACED) && !is_spawn) { in execve_runproc() 2386 if ((p->p_slflag & (PSL_TRACED|PSL_TRACEDCHILD)) == in spawn_return() 2387 (PSL_TRACED|PSL_TRACEDCHILD)) { in spawn_return() 2791 if ((p1->p_slflag & (PSL_TRACEPOSIX_SPAWN|PSL_TRACED)) == in do_posix_spawn() 2792 (PSL_TRACEPOSIX_SPAWN|PSL_TRACED)) { in do_posix_spawn() 2843 if (p1->p_slflag & PSL_TRACED) { in do_posix_spawn() 2846 if ((p1->p_slflag & (PSL_TRACEPOSIX_SPAWN|PSL_TRACED)) != in do_posix_spawn() 2847 (PSL_TRACEPOSIX_SPAWN|PSL_TRACED)) { in do_posix_spawn()
|
| D | kern_pax.c | 357 if (p->p_slflag & PSL_TRACED) in pax_set_flags()
|
| D | kern_lwp.c | 1152 if ((p->p_slflag & (PSL_TRACED|PSL_TRACELWP_EXIT)) == in lwp_exit() 1153 (PSL_TRACED|PSL_TRACELWP_EXIT)) { in lwp_exit()
|
| D | kern_synch.c | 903 if ((p->p_slflag & PSL_TRACED) != 0 && p->p_xsig != 0) in setrunnable()
|
| D | kern_proc.c | 2010 PSL_TRACED, P_TRACED,
|
| /netbsd/src/sys/arch/powerpc/powerpc/ |
| D | trap.c | 255 && (p->p_slflag & PSL_TRACED) == 0 in trap() 328 && (p->p_slflag & PSL_TRACED) == 0 in trap() 353 && (p->p_slflag & PSL_TRACED) == 0 in trap() 379 && (p->p_slflag & PSL_TRACED) == 0 in trap() 397 && (p->p_slflag & PSL_TRACED) == 0 in trap() 443 && (p->p_slflag & PSL_TRACED) == 0 in trap()
|
| /netbsd/src/sys/sys/ |
| D | proc.h | 417 #define PSL_TRACED 0x00000040 /* Debugged process being traced */ macro 443 (((p)->p_slflag & PSL_TRACED) ? SIGCHLD : p->p_exitsig)
|
| /netbsd/src/sys/compat/linux/arch/arm/ |
| D | linux_ptrace.c | 148 if (!ISSET(t->p_slflag, PSL_TRACED)) { in linux_sys_ptrace_arch()
|
| /netbsd/src/sys/arch/vax/vax/ |
| D | trap.c | 335 && (p->p_slflag & PSL_TRACED) == 0 in trap()
|
| /netbsd/src/sys/compat/linux/arch/i386/ |
| D | linux_ptrace.c | 192 if (!ISSET(t->p_slflag, PSL_TRACED)) { in linux_sys_ptrace_arch()
|
| /netbsd/src/sys/compat/linux/arch/powerpc/ |
| D | linux_ptrace.c | 169 if (!ISSET(t->p_slflag, PSL_TRACED)) { in linux_sys_ptrace_arch()
|
| /netbsd/src/sys/arch/powerpc/booke/ |
| D | trap.c | 921 && (p->p_slflag & PSL_TRACED) == 0 in trap()
|