Searched refs:P_CONTROLT (Results 1 - 11 of 11) sorted by relevance

/darwin-on-arm/xnu/bsd/kern/
H A Dtty_tty.c206 OSBitAndAtomic(~((uint32_t)P_CONTROLT), &p->p_flag);
255 vp = (p->p_flag & P_CONTROLT ? sessp->s_ttyvp : NULLVP);
H A Dsubr_prf.c168 if (p->p_flag & P_CONTROLT && sessp != SESSION_NULL && sessp->s_ttyvp) {
190 if (p->p_flag & P_CONTROLT && sessp->s_ttyvp) {
H A Dkern_acct.c280 if ((p->p_flag & P_CONTROLT) && (sessp != SESSION_NULL) && ((tp = SESSION_TP(sessp)) != TTY_NULL)) {
H A Dproc_info.c247 if ((p->p_flag & P_CONTROLT) == 0 ||
523 if ((p->p_flag & P_CONTROLT) == P_CONTROLT)
576 if ((p->p_flag & P_CONTROLT) && (sessionp != SESSION_NULL) && (tp = SESSION_TP(sessionp))) {
612 if ((p->p_flag & P_CONTROLT) == P_CONTROLT)
H A Dkern_fork.c1297 if (sessp->s_ttyvp != NULL && parent_proc->p_flag & P_CONTROLT)
1298 OSBitOrAtomic(P_CONTROLT, &child_proc->p_flag);
H A Dtty.c375 OSBitOrAtomic(P_CONTROLT, &p->p_flag);
1418 OSBitOrAtomic(P_CONTROLT, &p->p_flag);
3129 retval = (sessp == tp->t_session && p->p_flag & P_CONTROLT);
3137 return(sessp == tp->t_session && p->p_flag & P_CONTROLT);
H A Dkern_sysctl.c1208 if ((p->p_flag & P_CONTROLT) == 0 ||
1534 if ((p->p_flag & P_CONTROLT) && (sessp != SESSION_NULL) &&
1594 if ((p->p_flag & P_CONTROLT) && (sessp != SESSION_NULL) &&
H A Dkern_proc.c1084 OSBitAndAtomic(~((uint32_t)P_CONTROLT), &p->p_flag);
H A Dkern_sig.c1581 if ((checkctty == 0) || p->p_flag & P_CONTROLT)
/darwin-on-arm/xnu/bsd/sys/
H A Dproc.h156 #define P_CONTROLT 0x00000002 /* Has a controlling terminal */ macro
/darwin-on-arm/xnu/bsd/vfs/
H A Dvfs_syscalls.c2995 if (!(p->p_flag & P_CONTROLT)) {
3101 if (no_controlling_tty && (p->p_flag & P_CONTROLT)) {

Completed in 119 milliseconds