Home
last modified time | relevance | path

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

/NextBSD/sys/compat/mach/
HDproc_info.c244 if ((p->p_flag & P_CONTROLT) == P_CONTROLT) in proc_pidbsdinfo()
265 if ((p->p_flag & P_CONTROLT) && (sessionp != NULL) && (tp = sessionp->s_ttyp)) { in proc_pidbsdinfo()
306 if ((p->p_flag & P_CONTROLT) == P_CONTROLT) in proc_pidshortbsdinfo()
/NextBSD/sys/kern/
HDtty_tty.c72 if (!(p->p_flag & P_CONTROLT)) in ctty_clone()
HDkern_fork.c590 if (p1->p_session->s_ttyvp != NULL && p1->p_flag & P_CONTROLT) in do_fork()
591 p2->p_flag |= P_CONTROLT; in do_fork()
HDsubr_prf.c156 if ((p->p_flag & P_CONTROLT) == 0) { in uprintf()
207 if (p->p_flag & P_CONTROLT && p->p_session->s_ttyvp) { in vtprintf()
HDkern_acct.c377 if ((p->p_flag & P_CONTROLT) && p->p_pgrp->pg_session->s_ttyp) in acct_process()
HDkern_proc.c469 p->p_flag &= ~P_CONTROLT;
928 if ((p->p_flag & P_CONTROLT) && tp != NULL) { in fill_kinfo_proc_only()
1440 if ((p->p_flag & P_CONTROLT) == 0 || in sysctl_kern_proc()
HDtty.c374 return (p->p_session == tp->t_session && p->p_flag & P_CONTROLT); in tty_is_ctty()
1668 p->p_flag |= P_CONTROLT; in tty_generic_ioctl()
HDkern_sig.c1911 (checkctty == 0 || p->p_flag & P_CONTROLT)) in pgsignal()
3493 (checkctty == 0 || (p->p_flag & P_CONTROLT)))
/NextBSD/sys/fs/procfs/
HDprocfs_status.c96 if ((p->p_flag & P_CONTROLT) && (tp = sess->s_ttyp)) in procfs_doprocstatus()
/NextBSD/lib/libkvm/
HDkvm_proc.c294 if ((proc.p_flag & P_CONTROLT) && sess.s_ttyp != NULL) { in kvm_proclist()
367 if ((proc.p_flag & P_CONTROLT) == 0 || in kvm_proclist()
/NextBSD/sys/i386/ibcs2/
HDibcs2_fcntl.c203 if (!ret && !noctty && SESS_LEADER(p) && !(p->p_flag & P_CONTROLT)) {
/NextBSD/sys/ddb/
HDdb_ps.c189 if (p->p_flag & P_CONTROLT) in db_ps()
/NextBSD/bin/pkill/
HDpkill.c452 (kp->ki_flag & P_CONTROLT) == 0) in main()
/NextBSD/sys/compat/svr4/
HDsvr4_fcntl.c407 !(p->p_flag & P_CONTROLT)) {
/NextBSD/bin/ps/
HDprint.c275 if ((flag & P_CONTROLT) && k->ki_p->ki_pgid == k->ki_p->ki_tpgid) in state()
HDps.c548 (kp->ki_flag & P_CONTROLT) == 0)) in main()
/NextBSD/sys/fs/devfs/
HDdevfs_vnops.c550 if (!(p->p_flag & P_CONTROLT)) { in devfs_access()
886 if (!(p->p_flag & P_CONTROLT)) { in devfs_prison_check()
/NextBSD/sys/sys/
HDproc.h673 #define P_CONTROLT 0x00002 /* Has a controlling terminal. */ macro
/NextBSD/sys/compat/linux/
HDlinux_file.c154 if (SESS_LEADER(p) && !(p->p_flag & P_CONTROLT)) { in linux_common_open()