Home
last modified time | relevance | path

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

/freebsd-14-stable/sys/kern/
HDtty_tty.c71 if (!(p->p_flag & P_CONTROLT)) in ctty_clone()
HDkern_acct.c374 if ((p->p_flag & P_CONTROLT) && p->p_pgrp->pg_session->s_ttyp) in acct_process()
HDsubr_prf.c193 if ((p->p_flag & P_CONTROLT) == 0) { in uprintf()
244 if (p->p_flag & P_CONTROLT && p->p_session->s_ttyvp) { in vtprintf()
HDkern_fork.c614 if (p1->p_session->s_ttyvp != NULL && p1->p_flag & P_CONTROLT) in do_fork()
615 p2->p_flag |= P_CONTROLT; in do_fork()
HDtty.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()
HDkern_proc.c607 p->p_flag &= ~P_CONTROLT; in enterpgrp()
1234 if ((p->p_flag & P_CONTROLT) && tp != NULL) { in fill_kinfo_proc_pgrp()
1690 if ((p->p_flag & P_CONTROLT) == 0 || in sysctl_kern_proc_iterate()
HDkern_sig.c2091 (checkctty == 0 || p->p_flag & P_CONTROLT)) in pgsignal()
4349 (checkctty == 0 || (p->p_flag & P_CONTROLT))) in pgsigio()
/freebsd-14-stable/sys/fs/procfs/
HDprocfs_status.c97 if ((p->p_flag & P_CONTROLT) && (tp = sess->s_ttyp)) in procfs_doprocstatus()
/freebsd-14-stable/lib/libkvm/
HDkvm_proc.c281 if ((proc.p_flag & P_CONTROLT) && sess.s_ttyp != NULL) { in kvm_proclist()
351 if ((proc.p_flag & P_CONTROLT) == 0 || in kvm_proclist()
/freebsd-14-stable/sys/ddb/
HDdb_ps.c232 if (p->p_flag & P_CONTROLT) in db_ps_proc()
/freebsd-14-stable/sys/compat/linux/
HDlinux_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-14-stable/sys/fs/devfs/
HDdevfs_vnops.c667 if (!(p->p_flag & P_CONTROLT)) { in devfs_access()
1032 if (!(p->p_flag & P_CONTROLT)) { in devfs_prison_check()
/freebsd-14-stable/sys/sys/
HDproc.h809 #define P_CONTROLT 0x00000002 /* Has a controlling terminal. */ macro
/freebsd-14-stable/sys/compat/linprocfs/
HDlinprocfs.c928 if ((p->p_flag & P_CONTROLT) == 0) in linprocfs_get_tty_nr()