Home
last modified time | relevance | path

Searched refs:P_LTRACED (Results 1 – 11 of 11) sorted by relevance

/xnu-12377.41.6/bsd/kern/
H A Dmach_process.c141 if (ISSET(p->p_lflag, P_LTRACED)) { in ptrace()
208 SET(p->p_lflag, P_LTRACED); in ptrace()
221 if (ISSET(p->p_lflag, P_LTRACED)) { in ptrace()
280 SET(t->p_lflag, P_LTRACED); in ptrace()
334 if (!ISSET(t->p_lflag, P_LTRACED)) { in ptrace()
384 CLR(t->p_lflag, P_LTRACED); in ptrace()
540 if (ISSET(traced_procp->p_lflag, P_LTRACED)) { in cantrace()
563 if ((cur_procp->p_lflag & P_LTRACED) && isinferior(cur_procp, traced_procp)) { in cantrace()
H A Dkern_sig.c1805 if (!(p->p_lflag & P_LTRACED) && (p->p_sigignore & mask)) { in threadsignal()
1814 if (set_exitreason && ((p->p_lflag & P_LTRACED) || (!(uth->uu_sigwait & mask) in threadsignal()
2133 …if (((flavor & PSIG_VFORK) == 0) && ((sig_proc->p_lflag & P_LTRACED) == 0) && (sig_proc->p_sigigno… in psignal_internal()
2193 if (sig_proc->p_lflag & P_LTRACED) { in psignal_internal()
2221 (sig_proc->p_lflag & P_LTRACED) == 0) { in psignal_internal()
2274 if (sig_proc->p_lflag & P_LTRACED) { in psignal_internal()
2546 if ((sig_proc->p_lflag & P_LTRACED) != 0 && sig_proc->p_xstat != 0) { in psignal_internal()
2710 if (mask & p->p_sigignore && (p->p_lflag & P_LTRACED) == 0) { in issignal_locked()
2715 if (p->p_lflag & P_LTRACED && (p->p_lflag & P_LPPWAIT) == 0) { in issignal_locked()
2844 if (p->p_lflag & P_LTRACED || in issignal_locked()
[all …]
H A Dproc_info.c419 …if ((p->p_ppid != (pid_t)typeinfo) && (((p->p_lflag & P_LTRACED) == 0) || (p->p_oppid != (pid_t)ty… in proc_listpids()
714 if ((p->p_lflag & P_LTRACED) == P_LTRACED) { in proc_pidbsdinfo()
843 if ((p->p_lflag & P_LTRACED) == P_LTRACED) { in proc_pidshortbsdinfo()
3905 if ((p->p_lflag & P_LTRACED) != 0 && in proc_pidexitreasoninfo()
3972 if ((p->p_lflag & P_LTRACED) != 0 && in proc_pidnoteexit()
H A Dkern_exit.c2171 p->p_lflag &= ~(P_LTRACED | P_LPPWAIT); in proc_prepareexit()
2449 if (q->p_lflag & P_LTRACED) { in proc_exit()
2481 q->p_lflag &= ~P_LTRACED; in proc_exit()
3062 (p->p_lflag & P_LTRACED || uap->options & WUNTRACED)) { in wait4_nocancel()
H A Dkern_exec.c2251 if (!vfexec && !spawn && (p->p_lflag & P_LTRACED)) { in exec_mach_imgact()
5347 if (imgp != NULL && spawn_no_exec && (p->p_lflag & P_LTRACED)) { in posix_spawn()
5687 new_proc->p_lflag &= ~(P_LTRACED | P_LSIGEXC | P_LNOATTACH); in proc_exec_switch_task()
5688 new_proc->p_lflag |= (old_proc->p_lflag & (P_LTRACED | P_LSIGEXC | P_LNOATTACH)); in proc_exec_switch_task()
7270 if ((vp->v_mount->mnt_flag & MNT_NOSUID) || (p->p_lflag & P_LTRACED)) { in exec_check_permissions()
7292 if (p->p_lflag & P_LTRACED) { in exec_check_permissions()
H A Dkern_proc.c2750 child->p_lflag |= (sibling->p_lflag & (P_LTRACED | P_LSIGEXC | P_LNOATTACH)); in pinsertchild()
5104 if (ISSET(p->p_lflag, P_LTRACED)) { in proc_send_synchronous_EXC_RESOURCE()
5243 if (p->p_lflag & P_LTRACED) { in proc_is_traced()
H A Dkern_sysctl.c1142 if (p->p_lflag & P_LTRACED && !bootarg_hide_process_traced) {
1144 if (p->p_lflag & P_LTRACED) {
1205 if (p->p_lflag & P_LTRACED && !bootarg_hide_process_traced) {
1207 if (p->p_lflag & P_LTRACED) {
H A Dkern_event.c1125 if ((p->p_lflag & P_LTRACED) != 0 && in filt_procattach()
/xnu-12377.41.6/bsd/sys/
H A Dsignalvar.h103 | (((p)->p_lflag & P_LTRACED) ? 0 : (p)->p_sigignore)) \
H A Dproc_internal.h528 #define P_LTRACED 0x00000400 /* */ macro
/xnu-12377.41.6/security/
H A Dmac_base.c1712 !(p->p_lflag & P_LTRACED && (p->p_lflag & P_LPPWAIT) == 0)) { in mac_do_machexc()