Searched refs:P_CONTROLT (Results 1 – 19 of 19) sorted by relevance
244 if ((p->p_flag & P_CONTROLT) == P_CONTROLT) in proc_pidbsdinfo()265 if ((p->p_flag & P_CONTROLT) && (sessionp != NULL) && (tp = sessionp->s_ttyp)) { in proc_pidbsdinfo()306 if ((p->p_flag & P_CONTROLT) == P_CONTROLT) in proc_pidshortbsdinfo()
72 if (!(p->p_flag & P_CONTROLT)) in ctty_clone()
590 if (p1->p_session->s_ttyvp != NULL && p1->p_flag & P_CONTROLT) in do_fork()591 p2->p_flag |= P_CONTROLT; in do_fork()
156 if ((p->p_flag & P_CONTROLT) == 0) { in uprintf()207 if (p->p_flag & P_CONTROLT && p->p_session->s_ttyvp) { in vtprintf()
377 if ((p->p_flag & P_CONTROLT) && p->p_pgrp->pg_session->s_ttyp) in acct_process()
469 p->p_flag &= ~P_CONTROLT;928 if ((p->p_flag & P_CONTROLT) && tp != NULL) { in fill_kinfo_proc_only()1440 if ((p->p_flag & P_CONTROLT) == 0 || in sysctl_kern_proc()
374 return (p->p_session == tp->t_session && p->p_flag & P_CONTROLT); in tty_is_ctty()1668 p->p_flag |= P_CONTROLT; in tty_generic_ioctl()
1911 (checkctty == 0 || p->p_flag & P_CONTROLT)) in pgsignal()3493 (checkctty == 0 || (p->p_flag & P_CONTROLT)))
96 if ((p->p_flag & P_CONTROLT) && (tp = sess->s_ttyp)) in procfs_doprocstatus()
294 if ((proc.p_flag & P_CONTROLT) && sess.s_ttyp != NULL) { in kvm_proclist()367 if ((proc.p_flag & P_CONTROLT) == 0 || in kvm_proclist()
203 if (!ret && !noctty && SESS_LEADER(p) && !(p->p_flag & P_CONTROLT)) {
189 if (p->p_flag & P_CONTROLT) in db_ps()
452 (kp->ki_flag & P_CONTROLT) == 0) in main()
407 !(p->p_flag & P_CONTROLT)) {
275 if ((flag & P_CONTROLT) && k->ki_p->ki_pgid == k->ki_p->ki_tpgid) in state()
548 (kp->ki_flag & P_CONTROLT) == 0)) in main()
550 if (!(p->p_flag & P_CONTROLT)) { in devfs_access()886 if (!(p->p_flag & P_CONTROLT)) { in devfs_prison_check()
673 #define P_CONTROLT 0x00002 /* Has a controlling terminal. */ macro
154 if (SESS_LEADER(p) && !(p->p_flag & P_CONTROLT)) { in linux_common_open()