Home
last modified time | relevance | path

Searched refs:p_oppid (Results 1 – 9 of 9) sorted by relevance

/xnu-12377.41.6/bsd/kern/
H A Dmach_process.c210 p->p_oppid = p->p_ppid; in ptrace()
285 t->p_oppid = t->p_ppid; in ptrace()
365 if (t->p_oppid != t->p_ppid) { in ptrace()
369 pp = proc_find(t->p_oppid); in ptrace()
383 t->p_oppid = 0; in ptrace()
H A Dkern_exit.c2464 opp = proc_find(q->p_oppid); in proc_exit()
2467 q->p_oppid = 0; in proc_exit()
2475 q->p_oppid = 0; in proc_exit()
2639 ((p->p_listflag & P_LIST_DEADPARENT) == 0 || p->p_oppid)) { in proc_exit()
2754 bool child_ptraced = child->p_oppid != 0; in reap_child_locked()
2761 orig_ppid = child->p_oppid; in reap_child_locked()
2762 child->p_oppid = 0; in reap_child_locked()
H A Dkern_sysctl.c1158 exp->p_oppid = 0;
1162 exp->p_oppid = p->p_oppid;
1221 exp->p_oppid = 0;
1225 exp->p_oppid = p->p_oppid;
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()
3906 (p->p_oppid == selfpid)) { in proc_pidexitreasoninfo()
3973 (p->p_oppid == selfpid)) { in proc_pidnoteexit()
H A Dkern_proc.c2749 child->p_oppid = sibling->p_oppid; in pinsertchild()
H A Dkern_exec.c5689 new_proc->p_oppid = old_proc->p_oppid; in proc_exec_switch_task()
H A Dkern_event.c1126 (p->p_oppid == selfpid)) { in filt_procattach()
1204 if ((kn->kn_proc->p_oppid != 0) in filt_procevent()
/xnu-12377.41.6/bsd/sys/
H A Dproc_internal.h331 pid_t p_oppid; /* Save parent pid during ptrace. XXX */ member
650 pid_t p_oppid; /* Save parent pid during ptrace. XXX */ member
702 pid_t p_oppid; /* Save parent pid during ptrace. XXX */ member
H A Dproc.h119 pid_t p_oppid; /* Save parent pid during ptrace. XXX */ member