Home
last modified time | relevance | path

Searched refs:P_CONTROLT (Results 1 – 17 of 17) sorted by relevance

/freebsd/sys/kern/
H A Dtty_tty.c70 if (!(p->p_flag & P_CONTROLT)) in ctty_clone()
H A Dkern_acct.c371 if ((p->p_flag & P_CONTROLT) && p->p_pgrp->pg_session->s_ttyp) in acct_process()
H A Dsubr_prf.c192 if ((p->p_flag & P_CONTROLT) == 0) { in uprintf()
243 if (p->p_flag & P_CONTROLT && p->p_session->s_ttyvp) { in vtprintf()
H A Dkern_fork.c613 if (p1->p_session->s_ttyvp != NULL && p1->p_flag & P_CONTROLT) in do_fork()
614 p2->p_flag |= P_CONTROLT; in do_fork()
H A Dtty.c418 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()
H A Dkern_proc.c605 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()
H A Dkern_sig.c2084 (checkctty == 0 || p->p_flag & P_CONTROLT)) in pgsignal()
4285 (checkctty == 0 || (p->p_flag & P_CONTROLT))) in pgsigio()
/freebsd/sys/fs/procfs/
H A Dprocfs_status.c96 if ((p->p_flag & P_CONTROLT) && (tp = sess->s_ttyp)) in procfs_doprocstatus()
/freebsd/lib/libkvm/
H A Dkvm_proc.c279 if ((proc.p_flag & P_CONTROLT) && sess.s_ttyp != NULL) { in kvm_proclist()
349 if ((proc.p_flag & P_CONTROLT) == 0 || in kvm_proclist()
/freebsd/sys/ddb/
H A Ddb_ps.c230 if (p->p_flag & P_CONTROLT) in db_ps_proc()
/freebsd/bin/pkill/
H A Dpkill.c479 (kp->ki_flag & P_CONTROLT) == 0) in main()
/freebsd/bin/ps/
H A Dprint.c272 if ((flag & P_CONTROLT) && k->ki_p->ki_pgid == k->ki_p->ki_tpgid) in state()
H A Dps.c580 (kp->ki_flag & P_CONTROLT) == 0)) in main()
/freebsd/sys/compat/linux/
H A Dlinux_file.c171 if (p->p_flag & P_CONTROLT) in linux_common_open()
189 if (SESS_LEADER(p) && !(p->p_flag & P_CONTROLT)) { in linux_common_open()
/freebsd/sys/fs/devfs/
H A Ddevfs_vnops.c665 if (!(p->p_flag & P_CONTROLT)) { in devfs_access()
1030 if (!(p->p_flag & P_CONTROLT)) { in devfs_prison_check()
/freebsd/sys/sys/
H A Dproc.h804 #define P_CONTROLT 0x00000002 /* Has a controlling terminal. */ macro
/freebsd/sys/compat/linprocfs/
H A Dlinprocfs.c926 if ((p->p_flag & P_CONTROLT) == 0) in linprocfs_get_tty_nr()