taglinefilesource code
pgrp437fs/open.cextern int kill_pg (int pgrp, int sig, int priv);
pgrp442fs/open.ckill_pg(current->pgrp, SIGHUP, 0);
pgrp488fs/open.ctty->pgrp = -1;
pgrp136include/linux/sched.hlong pid,pgrp,session,leader;
pgrp178include/linux/tty.hint pgrp;
pgrp302include/linux/tty.hextern int is_orphaned_pgrp(int pgrp);
pgrp305include/linux/tty.hextern int kill_pg(int pgrp, int sig, int priv);
pgrp49kernel/chr_drv/pty.cif (tty->link->pgrp > 0)
pgrp50kernel/chr_drv/pty.ckill_pg(tty->link->pgrp,SIGHUP,1);
pgrp195kernel/chr_drv/serial.c&& info->tty->pgrp > 0)
pgrp196kernel/chr_drv/serial.ckill_pg(info->tty->pgrp,SIGHUP,1);
pgrp221kernel/chr_drv/tty_io.ckill_pg(tty->pgrp, SIGINT, 1);
pgrp227kernel/chr_drv/tty_io.ckill_pg(tty->pgrp, SIGQUIT, 1);
pgrp233kernel/chr_drv/tty_io.cif (!is_orphaned_pgrp(tty->pgrp))
pgrp234kernel/chr_drv/tty_io.ckill_pg(tty->pgrp, SIGTSTP, 1);
pgrp304kernel/chr_drv/tty_io.cif ((tty->pgrp > 0) &&
pgrp306kernel/chr_drv/tty_io.c(tty->pgrp != current->pgrp))
pgrp307kernel/chr_drv/tty_io.cif (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp))
pgrp310kernel/chr_drv/tty_io.c(void) kill_pg(current->pgrp, SIGTTIN, 1);
pgrp435kernel/chr_drv/tty_io.cif (L_TOSTOP(tty) && (tty->pgrp > 0) &&
pgrp436kernel/chr_drv/tty_io.c(current->tty == channel) && (tty->pgrp != current->pgrp)) {
pgrp437kernel/chr_drv/tty_io.cif (is_orphaned_pgrp(tty->pgrp))
pgrp440kernel/chr_drv/tty_io.c(void) kill_pg(current->pgrp, SIGTTOU, 1);
pgrp602kernel/chr_drv/tty_io.ctty->pgrp = current->pgrp;
pgrp732kernel/chr_drv/tty_io.ctty->pgrp = -1;
pgrp19kernel/chr_drv/tty_ioctl.cextern int session_of_pgrp(int pgrp);
pgrp21kernel/chr_drv/tty_ioctl.cextern int kill_pg(int pgrp, int sig, int priv);
pgrp126kernel/chr_drv/tty_ioctl.c(tty->pgrp != current->pgrp)) {
pgrp127kernel/chr_drv/tty_ioctl.cif (is_orphaned_pgrp(current->pgrp))
pgrp130kernel/chr_drv/tty_ioctl.c(void) kill_pg(current->pgrp,SIGTTOU,1);
pgrp176kernel/chr_drv/tty_ioctl.c(tty->pgrp > 0) &&
pgrp177kernel/chr_drv/tty_ioctl.c(tty->pgrp != current->pgrp)) {
pgrp178kernel/chr_drv/tty_ioctl.cif (is_orphaned_pgrp(current->pgrp))
pgrp181kernel/chr_drv/tty_ioctl.c(void) kill_pg(current->pgrp,SIGTTOU,1);
pgrp232kernel/chr_drv/tty_ioctl.ckill_pg(tty->pgrp, SIGWINCH, 1);
pgrp255kernel/chr_drv/tty_ioctl.cint pgrp;
pgrp333kernel/chr_drv/tty_ioctl.cput_fs_long(tty->pgrp,(unsigned long *) arg);
pgrp340kernel/chr_drv/tty_ioctl.cpgrp=get_fs_long((unsigned long *) arg);
pgrp341kernel/chr_drv/tty_ioctl.cif (pgrp < 0)
pgrp343kernel/chr_drv/tty_ioctl.cif (session_of_pgrp(pgrp) != current->session)
pgrp345kernel/chr_drv/tty_ioctl.ctty->pgrp = pgrp;      
pgrp405kernel/chr_drv/tty_ioctl.cif (tty->pgrp > 0)
pgrp406kernel/chr_drv/tty_ioctl.ckill_pg(tty->pgrp, SIGHUP, 0);
pgrp407kernel/chr_drv/tty_ioctl.ctty->pgrp = -1;
pgrp173kernel/exit.cint session_of_pgrp(int pgrp)
pgrp182kernel/exit.cif ((*p)->pgrp == pgrp)
pgrp184kernel/exit.cif ((*p)->pid == pgrp)
pgrp190kernel/exit.cint kill_pg(int pgrp, int sig, int priv)
pgrp196kernel/exit.cif (sig<0 || sig>32 || pgrp<=0)
pgrp199kernel/exit.cif (*p && (*p)->pgrp == pgrp) {
pgrp254kernel/exit.creturn(kill_pg(current->pgrp,sig,0));
pgrp278kernel/exit.cint is_orphaned_pgrp(int pgrp)
pgrp284kernel/exit.c((*p)->pgrp != pgrp) || 
pgrp288kernel/exit.cif (((*p)->p_pptr->pgrp != pgrp) &&
pgrp295kernel/exit.cstatic int has_stopped_jobs(int pgrp)
pgrp300kernel/exit.cif (!*p || (*p)->pgrp != pgrp)
pgrp353kernel/exit.cif ((current->p_pptr->pgrp != current->pgrp) &&
pgrp355kernel/exit.cis_orphaned_pgrp(current->pgrp) &&
pgrp356kernel/exit.chas_stopped_jobs(current->pgrp)) {
pgrp357kernel/exit.ckill_pg(current->pgrp,SIGHUP,1);
pgrp358kernel/exit.ckill_pg(current->pgrp,SIGCONT,1);
pgrp390kernel/exit.cif ((p->pgrp != current->pgrp) &&
pgrp392kernel/exit.cis_orphaned_pgrp(p->pgrp) &&
pgrp393kernel/exit.chas_stopped_jobs(p->pgrp)) {
pgrp394kernel/exit.ckill_pg(p->pgrp,SIGHUP,1);
pgrp395kernel/exit.ckill_pg(p->pgrp,SIGCONT,1);
pgrp404kernel/exit.cif (tty->pgrp > 0)
pgrp405kernel/exit.ckill_pg(tty->pgrp, SIGHUP, 1);
pgrp406kernel/exit.ctty->pgrp = -1;
pgrp456kernel/exit.cif (p->pgrp != current->pgrp)
pgrp459kernel/exit.cif (p->pgrp != -pid)
pgrp80kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid)
pgrp33kernel/sys.cextern int session_of_pgrp(int pgrp);
pgrp46kernel/sys.cwho = current->pgrp;
pgrp47kernel/sys.creturn(p->pgrp == who);
pgrp447kernel/sys.ctask[i]->pgrp = pgid;
pgrp455kernel/sys.creturn current->pgrp;
pgrp463kernel/sys.ccurrent->session = current->pgrp = current->pid;
pgrp465kernel/sys.creturn current->pgrp;