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()
192 if ((p->p_flag & P_CONTROLT) == 0) { in uprintf()243 if (p->p_flag & P_CONTROLT && p->p_session->s_ttyvp) { in vtprintf()
613 if (p1->p_session->s_ttyvp != NULL && p1->p_flag & P_CONTROLT) in do_fork()614 p2->p_flag |= P_CONTROLT; in do_fork()
418 return (p->p_session == tp->t_session && p->p_flag & P_CONTROLT); in tty_is_ctty()1266 p->p_flag &= ~P_CONTROLT; in tty_drop_ctty()1890 p->p_flag |= P_CONTROLT; in tty_generic_ioctl()
605 p->p_flag &= ~P_CONTROLT; in enterpgrp()1227 if ((p->p_flag & P_CONTROLT) && tp != NULL) { in fill_kinfo_proc_pgrp()1683 if ((p->p_flag & P_CONTROLT) == 0 || in sysctl_kern_proc_iterate()
2084 (checkctty == 0 || p->p_flag & P_CONTROLT)) in pgsignal()4285 (checkctty == 0 || (p->p_flag & P_CONTROLT))) in pgsigio()
96 if ((p->p_flag & P_CONTROLT) && (tp = sess->s_ttyp)) in procfs_doprocstatus()
279 if ((proc.p_flag & P_CONTROLT) && sess.s_ttyp != NULL) { in kvm_proclist()349 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()
580 (kp->ki_flag & P_CONTROLT) == 0)) in main()
171 if (p->p_flag & P_CONTROLT) in linux_common_open()189 if (SESS_LEADER(p) && !(p->p_flag & P_CONTROLT)) { in linux_common_open()
665 if (!(p->p_flag & P_CONTROLT)) { in devfs_access()1030 if (!(p->p_flag & P_CONTROLT)) { in devfs_prison_check()
804 #define P_CONTROLT 0x00000002 /* Has a controlling terminal. */ macro
926 if ((p->p_flag & P_CONTROLT) == 0) in linprocfs_get_tty_nr()