taglinefilesource code
session123include/linux/sched.hlong pid,pgrp,session,leader;
session148include/linux/tty.hint session;
session532kernel/chr_drv/tty_io.ctty->session==0) {
session534kernel/chr_drv/tty_io.ctty->session = current->session;
session322kernel/chr_drv/tty_ioctl.c(tty->session != current->session))
session327kernel/chr_drv/tty_ioctl.cif (session_of_pgrp(pgrp) != current->session)
session408kernel/chr_drv/tty_ioctl.ctty->session = 0;
session25kernel/exit.cif (!priv && ((sig != SIGCONT) || (current->session != p->session)) &&
session178kernel/exit.cif (!*p || (*p)->session <= 0)
session181kernel/exit.creturn (*p)->session;
session183kernel/exit.cfallback = (*p)->session;
session263kernel/exit.c((*p)->p_pptr->session == (*p)->session))
session329kernel/exit.c(current->p_pptr->session == current->session) &&
session366kernel/exit.c(p->session == current->session) &&
session382kernel/exit.ctty->session = 0;
session385kernel/exit.cif (*p && (*p)->session == current->session)
session370kernel/sys.cif ((task[i]->session != current->session) ||
session372kernel/sys.c(session_of_pgrp(pgid) != current->session)))
session390kernel/sys.ccurrent->session = current->pgrp = current->pid;