Searched refs:P_CONTROLT (Results 1 – 10 of 10) sorted by relevance
75 if (!(p->p_flag & P_CONTROLT)) in ctty_clone()
386 if ((p->p_flag & P_CONTROLT) && p->p_pgrp->pg_session->s_ttyp) in acct_process()
588 if (p1->p_session->s_ttyvp != NULL && p1->p_flag & P_CONTROLT) in do_fork()589 p2->p_flag |= P_CONTROLT; in do_fork()
193 if ((p->p_flag & P_CONTROLT) == 0) { in uprintf()244 if (p->p_flag & P_CONTROLT && p->p_session->s_ttyvp) { in vtprintf()
420 return (p->p_session == tp->t_session && p->p_flag & P_CONTROLT); in tty_is_ctty()1264 p->p_flag &= ~P_CONTROLT; in tty_drop_ctty()1853 p->p_flag |= P_CONTROLT; in tty_generic_ioctl()
590 p->p_flag &= ~P_CONTROLT; in enterpgrp()1197 if ((p->p_flag & P_CONTROLT) && tp != NULL) { in fill_kinfo_proc_pgrp()1653 if ((p->p_flag & P_CONTROLT) == 0 || in sysctl_kern_proc_iterate()
1973 (checkctty == 0 || p->p_flag & P_CONTROLT)) in pgsignal()3933 (checkctty == 0 || (p->p_flag & P_CONTROLT))) in pgsigio()
232 if (p->p_flag & P_CONTROLT) in db_ps_proc()
1000 (checkctty == 0 || (p->p_flag & P_CONTROLT)))
746 #define P_CONTROLT 0x00000002 /* Has a controlling terminal. */ macro