Searched refs:P_CONTROLT (Results 1 – 11 of 11) sorted by relevance
| /xnu-12377.41.6/bsd/kern/ |
| H A D | tty_tty.c | 217 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 D | subr_prf.c | 168 if ((p->p_flag & P_CONTROLT) && pg) { in uprintf() 195 if ((p->p_flag & P_CONTROLT) && sessp->s_ttyvp) { in tprintf_open()
|
| H A D | kern_acct.c | 297 if ((p->p_flag & P_CONTROLT) && (pg = proc_pgrp(p, NULL))) { in acct_process()
|
| H A D | kern_fork.c | 1134 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 D | proc_info.c | 428 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 D | tty.c | 1518 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 D | kern_sysctl.c | 753 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 D | kern_sig.c | 1760 return p->p_flag & P_CONTROLT; in pgsignal()
|
| H A D | kern_proc.c | 2873 os_atomic_andnot(&p->p_flag, P_CONTROLT, relaxed); in enterpgrp()
|
| /xnu-12377.41.6/bsd/sys/ |
| H A D | proc.h | 168 #define P_CONTROLT 0x00000002 /* Has a controlling terminal */ macro
|
| /xnu-12377.41.6/bsd/vfs/ |
| H A D | vfs_syscalls.c | 5154 if (vnode_istty(vp) && !(p->p_flag & P_CONTROLT) && in open1()
|