Searched refs:PL_CONTROLT (Results 1 – 17 of 17) sorted by relevance
52 #define cttyvp(p) ((p)->p_lflag & PL_CONTROLT ? (p)->p_session->s_ttyvp : NULL)126 l->l_proc->p_lflag &= ~PL_CONTROLT; in cttyioctl()
513 if (p1->p_session->s_ttyvp != NULL && p1->p_lflag & PL_CONTROLT) in fork1()514 p2->p_lflag |= PL_CONTROLT; in fork1()
555 if (p->p_lflag & PL_CONTROLT && p->p_session->s_ttyvp) { in uprintf()571 if (p->p_lflag & PL_CONTROLT && p->p_session->s_ttyvp) { in uprintf_locked()602 if (p->p_lflag & PL_CONTROLT && p->p_session->s_ttyvp) { in tprintf_open()
475 if ((p->p_lflag & PL_CONTROLT) && p->p_pgrp->pg_session->s_ttyp) in acct_process()
1382 p->p_lflag &= ~PL_CONTROLT; in proc_enterpgrp()2011 PL_CONTROLT, P_CONTROLT,2177 if ((p->p_lflag & PL_CONTROLT) == 0 || in sysctl_doeproc()2182 } else if ((p->p_lflag & PL_CONTROLT) == 0 || in sysctl_doeproc()2738 if ((p->p_lflag & PL_CONTROLT) && in fill_eproc()2891 if ((p->p_lflag & PL_CONTROLT) && (tp = p->p_session->s_ttyp)) { in fill_kproc2()
2776 if (p1->p_session->s_ttyvp != NULL && p1->p_lflag & PL_CONTROLT) in do_posix_spawn() 2777 p2->p_lflag |= PL_CONTROLT; in do_posix_spawn()
899 if (checkctty == 0 || p->p_lflag & PL_CONTROLT) in kpgsignal()
1405 p->p_lflag |= PL_CONTROLT; in ttioctl()
242 ((p)->p_session == (tp)->t_session && (p)->p_lflag & PL_CONTROLT)
432 #define PL_CONTROLT 0x00000001 /* Has a controlling terminal */ macro
175 if (!ret && !noctty && SESS_LEADER(p) && !(p->p_lflag & PL_CONTROLT)) { in ultrix_sys_open()
147 if ((p->p_lflag & PL_CONTROLT) && (tp = sess->s_ttyp)) in procfs_status_netbsd()
366 if ((proc.p_lflag & PL_CONTROLT) && sess.s_ttyp != NULL) { in kvm_proclist() 416 if ((proc.p_lflag & PL_CONTROLT) == 0 || in kvm_proclist()
69 #define cttyvp(p) ((p)->p_lflag & PL_CONTROLT ? (p)->p_session->s_ttyvp : NULL)
205 if (!(flags & O_NOCTTY) && SESS_LEADER(p) && !(p->p_lflag & PL_CONTROLT)) { in linux_open_ctty()
711 if (!ret && !noctty && SESS_LEADER(p) && !(p->p_lflag & PL_CONTROLT)) { in sunos_sys_open()
942 if (!ret && !noctty && SESS_LEADER(p) && !(p->p_lflag & PL_CONTROLT)) { in sunos32_sys_open()