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.c191 if ((p->p_flag & P_CONTROLT) == 0) { in uprintf()
242 if (p->p_flag & P_CONTROLT && p->p_session->s_ttyvp) { in vtprintf()
H A Dkern_fork.c612 if (p1->p_session->s_ttyvp != NULL && p1->p_flag & P_CONTROLT) in do_fork()
613 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.c602 p->p_flag &= ~P_CONTROLT; in enterpgrp()
1229 if ((p->p_flag & P_CONTROLT) && tp != NULL) { in fill_kinfo_proc_pgrp()
1685 if ((p->p_flag & P_CONTROLT) == 0 || in sysctl_kern_proc_iterate()
H A Dkern_sig.c2074 (checkctty == 0 || p->p_flag & P_CONTROLT)) in pgsignal()
4295 (checkctty == 0 || (p->p_flag & P_CONTROLT))) in pgsigio()
/freebsd/sys/fs/procfs/
H A Dprocfs_status.c95 if ((p->p_flag & P_CONTROLT) && (tp = sess->s_ttyp)) in procfs_doprocstatus()
/freebsd/lib/libkvm/
H A Dkvm_proc.c277 if ((proc.p_flag & P_CONTROLT) && sess.s_ttyp != NULL) { in kvm_proclist()
347 if ((proc.p_flag & P_CONTROLT) == 0 || in kvm_proclist()
/freebsd/sys/ddb/
H A Ddb_ps.c232 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.c275 if ((flag & P_CONTROLT) && k->ki_p->ki_pgid == k->ki_p->ki_tpgid) in state()
H A Dps.c593 (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.h807 #define P_CONTROLT 0x00000002 /* Has a controlling terminal. */ macro
/freebsd/sys/compat/linprocfs/
H A Dlinprocfs.c930 if ((p->p_flag & P_CONTROLT) == 0) in linprocfs_get_tty_nr()