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 */
1056 * ttcompat:ENOTTY TIOCGSID, if no session or session
1080 struct session *sessp, *oldsessp;
1296 * is to exit from the session leader.
1444 /* drop the reference on prev session and pgrp */
1480 * The session leader is going away and is possibly going to revoke
3158 struct session * sessp;
3167 isctty_sp(proc_t p, struct tty *tp, struct session *sessp)