taglinefilesource code
pgrp493fs/open.cextern int kill_pg (int pgrp, int sig, int priv);
pgrp502fs/open.cif (tty && tty->pgrp > 0)
pgrp503fs/open.ckill_pg(tty->pgrp, SIGHUP, 0);
pgrp548fs/open.ctty->pgrp = -1;
pgrp191fs/proc/array.c(*p)->pgrp,
pgrp195fs/proc/array.ctty_table[(*p)->tty]->pgrp,
pgrp164include/linux/sched.hlong pid,pgrp,session,leader;
pgrp186include/linux/tty.hint pgrp;
pgrp287include/linux/tty.hextern int is_orphaned_pgrp(int pgrp);
pgrp290include/linux/tty.hextern int kill_pg(int pgrp, int sig, int priv);
pgrp400kernel/chr_drv/serial.cif (info->tty->pgrp > 0)
pgrp401kernel/chr_drv/serial.ckill_pg(info->tty->pgrp,SIGINT,1);
pgrp463kernel/chr_drv/serial.cif (info->tty->pgrp > 0)
pgrp464kernel/chr_drv/serial.ckill_pg(info->tty->pgrp,SIGINT,1);
pgrp471kernel/chr_drv/tty_io.ckill_pg(tty->pgrp, SIGINT, 1);
pgrp477kernel/chr_drv/tty_io.ckill_pg(tty->pgrp, SIGQUIT, 1);
pgrp483kernel/chr_drv/tty_io.cif (!is_orphaned_pgrp(tty->pgrp))
pgrp484kernel/chr_drv/tty_io.ckill_pg(tty->pgrp, SIGTSTP, 1);
pgrp764kernel/chr_drv/tty_io.cif (MINOR(inode->i_rdev) && (tty->pgrp > 0) &&
pgrp766kernel/chr_drv/tty_io.c(tty->pgrp != current->pgrp))
pgrp767kernel/chr_drv/tty_io.cif (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp))
pgrp770kernel/chr_drv/tty_io.c(void) kill_pg(current->pgrp, SIGTTIN, 1);
pgrp797kernel/chr_drv/tty_io.cif (!is_console && L_TOSTOP(tty) && (tty->pgrp > 0) &&
pgrp798kernel/chr_drv/tty_io.c(current->tty == dev) && (tty->pgrp != current->pgrp)) {
pgrp799kernel/chr_drv/tty_io.cif (is_orphaned_pgrp(current->pgrp))
pgrp802kernel/chr_drv/tty_io.c(void) kill_pg(current->pgrp, SIGTTOU, 1);
pgrp1025kernel/chr_drv/tty_io.ctty->pgrp = current->pgrp;
pgrp1147kernel/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);
pgrp132kernel/chr_drv/tty_ioctl.c(tty->pgrp != current->pgrp)) {
pgrp133kernel/chr_drv/tty_ioctl.cif (is_orphaned_pgrp(current->pgrp))
pgrp136kernel/chr_drv/tty_ioctl.c(void) kill_pg(current->pgrp,SIGTTOU,1);
pgrp182kernel/chr_drv/tty_ioctl.c(tty->pgrp > 0) &&
pgrp183kernel/chr_drv/tty_ioctl.c(tty->pgrp != current->pgrp)) {
pgrp184kernel/chr_drv/tty_ioctl.cif (is_orphaned_pgrp(current->pgrp))
pgrp187kernel/chr_drv/tty_ioctl.c(void) kill_pg(current->pgrp,SIGTTOU,1);
pgrp238kernel/chr_drv/tty_ioctl.ckill_pg(tty->pgrp, SIGWINCH, 1);
pgrp262kernel/chr_drv/tty_ioctl.cint pgrp;
pgrp346kernel/chr_drv/tty_ioctl.ctty->pgrp = current->pgrp;
pgrp352kernel/chr_drv/tty_ioctl.cput_fs_long(termios_tty->pgrp,(unsigned long *) arg);
pgrp359kernel/chr_drv/tty_ioctl.cpgrp=get_fs_long((unsigned long *) arg);
pgrp360kernel/chr_drv/tty_ioctl.cif (pgrp < 0)
pgrp362kernel/chr_drv/tty_ioctl.cif (session_of_pgrp(pgrp) != current->session)
pgrp364kernel/chr_drv/tty_ioctl.ctermios_tty->pgrp = pgrp;      
pgrp431kernel/chr_drv/tty_ioctl.cif (tty->pgrp > 0)
pgrp432kernel/chr_drv/tty_ioctl.ckill_pg(tty->pgrp, SIGHUP, 0);
pgrp433kernel/chr_drv/tty_ioctl.ctty->pgrp = -1;
pgrp174kernel/exit.cint session_of_pgrp(int pgrp)
pgrp183kernel/exit.cif ((*p)->pgrp == pgrp)
pgrp185kernel/exit.cif ((*p)->pid == pgrp)
pgrp195kernel/exit.cint kill_pg(int pgrp, int sig, int priv)
pgrp201kernel/exit.cif (sig<0 || sig>32 || pgrp<=0)
pgrp204kernel/exit.cif (*p && (*p)->pgrp == pgrp) {
pgrp258kernel/exit.creturn(kill_pg(current->pgrp,sig,0));
pgrp282kernel/exit.cint is_orphaned_pgrp(int pgrp)
pgrp288kernel/exit.c((*p)->pgrp != pgrp) || 
pgrp292kernel/exit.cif (((*p)->p_pptr->pgrp != pgrp) &&
pgrp299kernel/exit.cstatic int has_stopped_jobs(int pgrp)
pgrp304kernel/exit.cif (!*p || (*p)->pgrp != pgrp)
pgrp357kernel/exit.cif ((current->p_pptr->pgrp != current->pgrp) &&
pgrp359kernel/exit.cis_orphaned_pgrp(current->pgrp) &&
pgrp360kernel/exit.chas_stopped_jobs(current->pgrp)) {
pgrp361kernel/exit.ckill_pg(current->pgrp,SIGHUP,1);
pgrp362kernel/exit.ckill_pg(current->pgrp,SIGCONT,1);
pgrp394kernel/exit.cif ((p->pgrp != current->pgrp) &&
pgrp396kernel/exit.cis_orphaned_pgrp(p->pgrp) &&
pgrp397kernel/exit.chas_stopped_jobs(p->pgrp)) {
pgrp398kernel/exit.ckill_pg(p->pgrp,SIGHUP,1);
pgrp399kernel/exit.ckill_pg(p->pgrp,SIGCONT,1);
pgrp409kernel/exit.cif (tty->pgrp > 0)
pgrp410kernel/exit.ckill_pg(tty->pgrp, SIGHUP, 1);
pgrp411kernel/exit.ctty->pgrp = -1;
pgrp462kernel/exit.cif (p->pgrp != current->pgrp)
pgrp465kernel/exit.cif (p->pgrp != -pid)
pgrp54kernel/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);
pgrp452kernel/sys.ctask[i]->pgrp = pgid;
pgrp460kernel/sys.creturn current->pgrp;
pgrp468kernel/sys.ccurrent->session = current->pgrp = current->pid;
pgrp470kernel/sys.creturn current->pgrp;