Home
last modified time | relevance | path

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

/xnu-12377.41.6/bsd/kern/
H A Dtty_tty.c217 os_atomic_andnot(&p->p_flag, P_CONTROLT, relaxed); in cttyioctl()
264 vp = (p->p_flag & P_CONTROLT ? sessp->s_ttyvp : NULLVP); in cttyvp()
H A Dsubr_prf.c168 if ((p->p_flag & P_CONTROLT) && pg) { in uprintf()
195 if ((p->p_flag & P_CONTROLT) && sessp->s_ttyvp) { in tprintf_open()
H A Dkern_acct.c297 if ((p->p_flag & P_CONTROLT) && (pg = proc_pgrp(p, NULL))) { in acct_process()
H A Dkern_fork.c1134 if (pg->pg_session->s_ttyvp != NULL && parent_proc->p_flag & P_CONTROLT) { in forkproc()
1135 os_atomic_or(&child_proc->p_flag, P_CONTROLT, relaxed); in forkproc()
H A Dproc_info.c428 if (p->p_flag & P_CONTROLT) { in proc_listpids()
726 if ((p->p_flag & P_CONTROLT) == P_CONTROLT) { in proc_pidbsdinfo()
814 if (p->p_flag & P_CONTROLT) { in proc_pidbsdinfo()
855 if ((p->p_flag & P_CONTROLT) == P_CONTROLT) { in proc_pidshortbsdinfo()
H A Dtty.c1518 os_atomic_or(&p->p_flag, P_CONTROLT, relaxed); in ttioctl_locked()
3365 return tp->t_session->s_sid == proc_sessionid(p) && (p->p_flag & P_CONTROLT); in isbackground()
3385 return sessp == tp->t_session && (p->p_flag & P_CONTROLT); in isctty_sp()
H A Dkern_sysctl.c753 if ((p->p_flag & P_CONTROLT) && (pg = proc_pgrp(p, NULL)) != PGRP_NULL) { in sysdoproc_filt_KERN_PROC_TTY()
1061 if (p->p_flag & P_CONTROLT) { in fill_user32_eproc()
1118 if (p->p_flag & P_CONTROLT) { in fill_user64_eproc()
H A Dkern_sig.c1760 return p->p_flag & P_CONTROLT; in pgsignal()
H A Dkern_proc.c2873 os_atomic_andnot(&p->p_flag, P_CONTROLT, relaxed); in enterpgrp()
/xnu-12377.41.6/bsd/sys/
H A Dproc.h168 #define P_CONTROLT 0x00000002 /* Has a controlling terminal */ macro
/xnu-12377.41.6/bsd/vfs/
H A Dvfs_syscalls.c5154 if (vnode_istty(vp) && !(p->p_flag & P_CONTROLT) && in open1()