Lines Matching refs:session
149 static int isctty_sp(proc_t p, struct tty *tp, struct session *sessp);
346 struct session *sessp, *oldsess;
365 * tty, if the tty does not already have a session associated with it.
367 if (SESS_LEADER(p, sessp) && /* the process is the session leader */
430 struct session * oldsessp;
458 /* drop the reference on prev session and pgrp */
1033 * ttcompat:ENOTTY TIOCGSID, if no session or session
1057 struct session *sessp, *oldsessp;
1273 * is to exit from the session leader.
1421 /* drop the reference on prev session and pgrp */
3126 struct session * sessp;
3135 isctty_sp(proc_t p, struct tty *tp, struct session *sessp)