taglinefilesource code
pgrp203fs/proc/array.ctty_pgrp = tty_table[tty_pgrp]->pgrp;
pgrp213fs/proc/array.c(*p)->pgrp,
pgrp162include/linux/sched.hlong pid,pgrp,session,leader;
pgrp203include/linux/tty.hint pgrp;
pgrp345include/linux/tty.hextern int is_orphaned_pgrp(int pgrp);
pgrp348include/linux/tty.hextern int kill_pg(int pgrp, int sig, int priv);
pgrp402kernel/chr_drv/serial.cif (info->tty->pgrp > 0)
pgrp403kernel/chr_drv/serial.ckill_pg(info->tty->pgrp, SIGINT,1);
pgrp258kernel/chr_drv/tty_io.ctty->pgrp = -1;
pgrp633kernel/chr_drv/tty_io.ckill_pg(tty->pgrp, SIGINT, 1);
pgrp638kernel/chr_drv/tty_io.ckill_pg(tty->pgrp, SIGQUIT, 1);
pgrp643kernel/chr_drv/tty_io.cif (!is_orphaned_pgrp(tty->pgrp)) {
pgrp644kernel/chr_drv/tty_io.ckill_pg(tty->pgrp, SIGTSTP, 1);
pgrp935kernel/chr_drv/tty_io.c(tty->pgrp > 0) &&
pgrp937kernel/chr_drv/tty_io.c(tty->pgrp != current->pgrp))
pgrp938kernel/chr_drv/tty_io.cif (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp))
pgrp941kernel/chr_drv/tty_io.c(void) kill_pg(current->pgrp, SIGTTIN, 1);
pgrp971kernel/chr_drv/tty_io.cif (!is_console && L_TOSTOP(tty) && (tty->pgrp > 0) &&
pgrp972kernel/chr_drv/tty_io.c(current->tty == dev) && (tty->pgrp != current->pgrp)) {
pgrp973kernel/chr_drv/tty_io.cif (is_orphaned_pgrp(current->pgrp))
pgrp976kernel/chr_drv/tty_io.c(void) kill_pg(current->pgrp, SIGTTOU, 1);
pgrp1241kernel/chr_drv/tty_io.ctty->pgrp = current->pgrp;
pgrp1463kernel/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);
pgrp143kernel/chr_drv/tty_ioctl.cif (tty->pgrp <= 0 || tty->pgrp == current->pgrp)
pgrp145kernel/chr_drv/tty_ioctl.cif (is_orphaned_pgrp(current->pgrp))
pgrp149kernel/chr_drv/tty_ioctl.c(void) kill_pg(current->pgrp,SIGTTOU,1);
pgrp258kernel/chr_drv/tty_ioctl.ckill_pg(tty->pgrp, SIGWINCH, 1);
pgrp309kernel/chr_drv/tty_ioctl.cint pgrp;
pgrp395kernel/chr_drv/tty_ioctl.ctty->pgrp = current->pgrp;
pgrp402kernel/chr_drv/tty_ioctl.cput_fs_long(termios_tty->pgrp,(unsigned long *) arg);
pgrp409kernel/chr_drv/tty_ioctl.cpgrp=get_fs_long((unsigned long *) arg);
pgrp410kernel/chr_drv/tty_ioctl.cif (pgrp < 0)
pgrp412kernel/chr_drv/tty_ioctl.cif (session_of_pgrp(pgrp) != current->session)
pgrp414kernel/chr_drv/tty_ioctl.ctermios_tty->pgrp = pgrp;      
pgrp484kernel/chr_drv/tty_ioctl.cif (tty->pgrp > 0)
pgrp485kernel/chr_drv/tty_ioctl.ckill_pg(tty->pgrp, SIGHUP, 0);
pgrp486kernel/chr_drv/tty_ioctl.ctty->pgrp = -1;
pgrp178kernel/exit.cint session_of_pgrp(int pgrp)
pgrp187kernel/exit.cif ((*p)->pgrp == pgrp)
pgrp189kernel/exit.cif ((*p)->pid == pgrp)
pgrp199kernel/exit.cint kill_pg(int pgrp, int sig, int priv)
pgrp205kernel/exit.cif (sig<0 || sig>32 || pgrp<=0)
pgrp208kernel/exit.cif (*p && (*p)->pgrp == pgrp) {
pgrp262kernel/exit.creturn(kill_pg(current->pgrp,sig,0));
pgrp286kernel/exit.cint is_orphaned_pgrp(int pgrp)
pgrp292kernel/exit.c((*p)->pgrp != pgrp) || 
pgrp296kernel/exit.cif (((*p)->p_pptr->pgrp != pgrp) &&
pgrp303kernel/exit.cstatic int has_stopped_jobs(int pgrp)
pgrp308kernel/exit.cif (!*p || (*p)->pgrp != pgrp)
pgrp361kernel/exit.cif ((current->p_pptr->pgrp != current->pgrp) &&
pgrp363kernel/exit.cis_orphaned_pgrp(current->pgrp) &&
pgrp364kernel/exit.chas_stopped_jobs(current->pgrp)) {
pgrp365kernel/exit.ckill_pg(current->pgrp,SIGHUP,1);
pgrp366kernel/exit.ckill_pg(current->pgrp,SIGCONT,1);
pgrp398kernel/exit.cif ((p->pgrp != current->pgrp) &&
pgrp400kernel/exit.cis_orphaned_pgrp(p->pgrp) &&
pgrp401kernel/exit.chas_stopped_jobs(p->pgrp)) {
pgrp402kernel/exit.ckill_pg(p->pgrp,SIGHUP,1);
pgrp403kernel/exit.ckill_pg(p->pgrp,SIGCONT,1);
pgrp413kernel/exit.cif (tty->pgrp > 0)
pgrp414kernel/exit.ckill_pg(tty->pgrp, SIGHUP, 1);
pgrp415kernel/exit.ctty->pgrp = -1;
pgrp469kernel/exit.cif (p->pgrp != current->pgrp)
pgrp472kernel/exit.cif (p->pgrp != -pid)
pgrp42kernel/fork.cif (task[i]->pid == last_pid || task[i]->pgrp == last_pid)
pgrp34kernel/sys.cextern int session_of_pgrp(int pgrp);
pgrp47kernel/sys.cwho = current->pgrp;
pgrp48kernel/sys.creturn(p->pgrp == who);
pgrp479kernel/sys.ctask[i]->pgrp = pgid;
pgrp487kernel/sys.creturn current->pgrp;
pgrp495kernel/sys.ccurrent->session = current->pgrp = current->pid;
pgrp497kernel/sys.creturn current->pgrp;
pgrp687net/tcp/sock.cif (!suser() && current->pgrp != -arg && current->pid != arg)