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;
pgrp208fs/proc/array.c(*p)->pgrp,
pgrp212fs/proc/array.ctty_table[(*p)->tty]->pgrp,
pgrp161include/linux/sched.hlong pid,pgrp,session,leader;
pgrp189include/linux/tty.hint pgrp;
pgrp320include/linux/tty.hextern int is_orphaned_pgrp(int pgrp);
pgrp323include/linux/tty.hextern int kill_pg(int pgrp, int sig, int priv);
pgrp384kernel/chr_drv/serial.cif (info->tty->pgrp > 0)
pgrp385kernel/chr_drv/serial.ckill_pg(info->tty->pgrp, SIGINT,1);
pgrp529kernel/chr_drv/tty_io.ckill_pg(tty->pgrp, SIGINT, 1);
pgrp535kernel/chr_drv/tty_io.ckill_pg(tty->pgrp, SIGQUIT, 1);
pgrp541kernel/chr_drv/tty_io.cif (!is_orphaned_pgrp(tty->pgrp))
pgrp542kernel/chr_drv/tty_io.ckill_pg(tty->pgrp, SIGTSTP, 1);
pgrp822kernel/chr_drv/tty_io.cif (MINOR(inode->i_rdev) && (tty->pgrp > 0) &&
pgrp824kernel/chr_drv/tty_io.c(tty->pgrp != current->pgrp))
pgrp825kernel/chr_drv/tty_io.cif (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp))
pgrp828kernel/chr_drv/tty_io.c(void) kill_pg(current->pgrp, SIGTTIN, 1);
pgrp858kernel/chr_drv/tty_io.cif (!is_console && L_TOSTOP(tty) && (tty->pgrp > 0) &&
pgrp859kernel/chr_drv/tty_io.c(current->tty == dev) && (tty->pgrp != current->pgrp)) {
pgrp860kernel/chr_drv/tty_io.cif (is_orphaned_pgrp(current->pgrp))
pgrp863kernel/chr_drv/tty_io.c(void) kill_pg(current->pgrp, SIGTTOU, 1);
pgrp1118kernel/chr_drv/tty_io.ctty->pgrp = current->pgrp;
pgrp1340kernel/chr_drv/tty_io.ctty->pgrp = -1;
pgrp30kernel/chr_drv/tty_ioctl.cextern int session_of_pgrp(int pgrp);
pgrp32kernel/chr_drv/tty_ioctl.cextern int kill_pg(int pgrp, int sig, int priv);
pgrp140kernel/chr_drv/tty_ioctl.cif (tty->pgrp <= 0 || tty->pgrp == current->pgrp)
pgrp142kernel/chr_drv/tty_ioctl.cif (is_orphaned_pgrp(current->pgrp))
pgrp146kernel/chr_drv/tty_ioctl.c(void) kill_pg(current->pgrp,SIGTTOU,1);
pgrp253kernel/chr_drv/tty_ioctl.ckill_pg(tty->pgrp, SIGWINCH, 1);
pgrp302kernel/chr_drv/tty_ioctl.cint pgrp;
pgrp387kernel/chr_drv/tty_ioctl.ctty->pgrp = current->pgrp;
pgrp393kernel/chr_drv/tty_ioctl.cput_fs_long(termios_tty->pgrp,(unsigned long *) arg);
pgrp400kernel/chr_drv/tty_ioctl.cpgrp=get_fs_long((unsigned long *) arg);
pgrp401kernel/chr_drv/tty_ioctl.cif (pgrp < 0)
pgrp403kernel/chr_drv/tty_ioctl.cif (session_of_pgrp(pgrp) != current->session)
pgrp405kernel/chr_drv/tty_ioctl.ctermios_tty->pgrp = pgrp;      
pgrp472kernel/chr_drv/tty_ioctl.cif (tty->pgrp > 0)
pgrp473kernel/chr_drv/tty_ioctl.ckill_pg(tty->pgrp, SIGHUP, 0);
pgrp474kernel/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)
pgrp55kernel/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);
pgrp458kernel/sys.ctask[i]->pgrp = pgid;
pgrp466kernel/sys.creturn current->pgrp;
pgrp474kernel/sys.ccurrent->session = current->pgrp = current->pid;
pgrp476kernel/sys.creturn current->pgrp;
pgrp687net/tcp/sock.cif (!suser() && current->pgrp != -arg && current->pid != arg)