Home
last modified time | relevance | path

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

/freebsd-14.2/sys/kern/
H A Dtty_tty.c71 if (!(p->p_flag & P_CONTROLT)) in ctty_clone()
H A Dkern_acct.c374 if ((p->p_flag & P_CONTROLT) && p->p_pgrp->pg_session->s_ttyp) in acct_process()
H A Dsubr_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()
H A Dkern_fork.c615 if (p1->p_session->s_ttyvp != NULL && p1->p_flag & P_CONTROLT) in do_fork()
616 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.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()
H A Dkern_sig.c2076 (checkctty == 0 || p->p_flag & P_CONTROLT)) in pgsignal()
4297 (checkctty == 0 || (p->p_flag & P_CONTROLT))) in pgsigio()
/freebsd-14.2/sys/fs/procfs/
H A Dprocfs_status.c97 if ((p->p_flag & P_CONTROLT) && (tp = sess->s_ttyp)) in procfs_doprocstatus()
/freebsd-14.2/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-14.2/sys/ddb/
H A Ddb_ps.c232 if (p->p_flag & P_CONTROLT) in db_ps_proc()
/freebsd-14.2/bin/pkill/
H A Dpkill.c480 (kp->ki_flag & P_CONTROLT) == 0) in main()
/freebsd-14.2/bin/ps/
H A Dprint.c282 if ((flag & P_CONTROLT) && k->ki_p->ki_pgid == k->ki_p->ki_tpgid) in state()
H A Dps.c604 (kp->ki_flag & P_CONTROLT) == 0)) in main()
/freebsd-14.2/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-14.2/sys/fs/devfs/
H A Ddevfs_vnops.c667 if (!(p->p_flag & P_CONTROLT)) { in devfs_access()
1032 if (!(p->p_flag & P_CONTROLT)) { in devfs_prison_check()
/freebsd-14.2/sys/sys/
H A Dproc.h807 #define P_CONTROLT 0x00000002 /* Has a controlling terminal. */ macro
/freebsd-14.2/sys/compat/linprocfs/
H A Dlinprocfs.c932 if ((p->p_flag & P_CONTROLT) == 0) in linprocfs_get_tty_nr()