Lines Matching refs:t_session
369 tp->t_session == NULL ) { /* and tty not controlling */
379 oldsess = tp->t_session;
382 tp->t_session = sessp;
452 oldsessp = tp->t_session;
454 tp->t_session = NULL;
1391 ((sessp->s_ttyvp || tp->t_session) &&
1392 (tp->t_session != sessp))) {
1404 oldsessp = tp->t_session;
1409 tp->t_session = sessp;
1880 if (tp->t_session && tp->t_session->s_leader)
1881 psignal(tp->t_session->s_leader, SIGHUP);
2794 if (tp->t_session == NULL) {
3119 return (tp->t_session != NULL && p->p_pgrp != NULL && (p->p_pgrp != tp->t_pgrp) && isctty_sp(p, tp, p->p_pgrp->pg_session));
3129 retval = (sessp == tp->t_session && p->p_flag & P_CONTROLT);
3137 return(sessp == tp->t_session && p->p_flag & P_CONTROLT);