Home
last modified time | relevance | path

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

/xnu-12377.1.9/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.c2431 opp = proc_find(q->p_oppid); in proc_exit()
2434 q->p_oppid = 0; in proc_exit()
2442 q->p_oppid = 0; in proc_exit()
2606 ((p->p_listflag & P_LIST_DEADPARENT) == 0 || p->p_oppid)) { in proc_exit()
2721 bool child_ptraced = child->p_oppid != 0; in reap_child_locked()
2728 orig_ppid = child->p_oppid; in reap_child_locked()
2729 child->p_oppid = 0; in reap_child_locked()
H A Dkern_sysctl.c1155 exp->p_oppid = 0;
1159 exp->p_oppid = p->p_oppid;
1218 exp->p_oppid = 0;
1222 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()
3890 (p->p_oppid == selfpid)) { in proc_pidexitreasoninfo()
3957 (p->p_oppid == selfpid)) { in proc_pidnoteexit()
H A Dkern_proc.c2749 child->p_oppid = sibling->p_oppid; in pinsertchild()
H A Dkern_exec.c5226 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.1.9/bsd/sys/
H A Dproc_internal.h331 pid_t p_oppid; /* Save parent pid during ptrace. XXX */ member
648 pid_t p_oppid; /* Save parent pid during ptrace. XXX */ member
700 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