Searched refs:P_CONTROLT (Results 1 – 17 of 17) sorted by relevance
70 if (!(p->p_flag & P_CONTROLT)) in ctty_clone()
371 if ((p->p_flag & P_CONTROLT) && p->p_pgrp->pg_session->s_ttyp) in acct_process()
188 if ((p->p_flag & P_CONTROLT) == 0) { in uprintf()239 if (p->p_flag & P_CONTROLT && p->p_session->s_ttyvp) { in vtprintf()
661 if (p1->p_flag & P_CONTROLT) { in do_fork()664 p2->p_flag |= P_CONTROLT; in do_fork()
417 return (p->p_session == tp->t_session && p->p_flag & P_CONTROLT); in tty_is_ctty()1271 p->p_flag &= ~P_CONTROLT; in tty_drop_ctty()1913 p->p_flag |= P_CONTROLT; in tty_generic_ioctl()
605 p->p_flag &= ~P_CONTROLT; in enterpgrp()1228 if ((p->p_flag & P_CONTROLT) && tp != NULL) { in fill_kinfo_proc_pgrp()1693 if ((p->p_flag & P_CONTROLT) == 0 || in sysctl_kern_proc_iterate()
2081 (checkctty == 0 || p->p_flag & P_CONTROLT)) in pgsignal() 3800 (checkctty == 0 || (p->p_flag & P_CONTROLT))) in pgsigio()
96 if ((p->p_flag & P_CONTROLT) && (tp = sess->s_ttyp)) in procfs_doprocstatus()
281 if ((proc.p_flag & P_CONTROLT) && sess.s_ttyp != NULL) { in kvm_proclist()351 if ((proc.p_flag & P_CONTROLT) == 0 || in kvm_proclist()
230 if (p->p_flag & P_CONTROLT) in db_ps_proc()
479 (kp->ki_flag & P_CONTROLT) == 0) in main()
272 if ((flag & P_CONTROLT) && k->ki_p->ki_pgid == k->ki_p->ki_tpgid) in state()
642 (kp->ki_flag & P_CONTROLT) == 0)) in main()
173 if (p->p_flag & P_CONTROLT) in linux_common_open()191 if (SESS_LEADER(p) && !(p->p_flag & P_CONTROLT)) { in linux_common_open()
679 if (!(p->p_flag & P_CONTROLT)) { in devfs_access()1044 if (!(p->p_flag & P_CONTROLT)) { in devfs_prison_check()
808 #define P_CONTROLT 0x00000002 /* Has a controlling terminal. */ macro
922 if ((p->p_flag & P_CONTROLT) == 0) in linprocfs_get_tty_nr()