tag | line | file | source code |
pgrp | 211 | fs/proc/array.c | tty_pgrp = tty_table[tty_pgrp]->pgrp; |
pgrp | 221 | fs/proc/array.c | (*p)->pgrp, |
pgrp | 173 | include/linux/sched.h | long pid,pgrp,session,leader; |
pgrp | 41 | include/linux/serial.h | long pgrp; /* pgrp of opening process */ |
pgrp | 215 | include/linux/tty.h | int pgrp; |
pgrp | 367 | include/linux/tty.h | extern int is_orphaned_pgrp(int pgrp); |
pgrp | 370 | include/linux/tty.h | extern int kill_pg(int pgrp, int sig, int priv); |
pgrp | 552 | kernel/chr_drv/serial.c | if (info->tty->pgrp > 0) |
pgrp | 553 | kernel/chr_drv/serial.c | kill_pg(info->tty->pgrp, SIGINT,1); |
pgrp | 1498 | kernel/chr_drv/serial.c | (info->pgrp != current->pgrp)) |
pgrp | 1641 | kernel/chr_drv/serial.c | info->pgrp = current->pgrp; |
pgrp | 270 | kernel/chr_drv/tty_io.c | tty->pgrp = -1; |
pgrp | 648 | kernel/chr_drv/tty_io.c | kill_pg(tty->pgrp, SIGINT, 1); |
pgrp | 656 | kernel/chr_drv/tty_io.c | kill_pg(tty->pgrp, SIGQUIT, 1); |
pgrp | 664 | kernel/chr_drv/tty_io.c | if (!is_orphaned_pgrp(tty->pgrp)) { |
pgrp | 665 | kernel/chr_drv/tty_io.c | kill_pg(tty->pgrp, SIGTSTP, 1); |
pgrp | 1003 | kernel/chr_drv/tty_io.c | (tty->pgrp > 0) && |
pgrp | 1005 | kernel/chr_drv/tty_io.c | (tty->pgrp != current->pgrp)) |
pgrp | 1006 | kernel/chr_drv/tty_io.c | if (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp)) |
pgrp | 1009 | kernel/chr_drv/tty_io.c | (void) kill_pg(current->pgrp, SIGTTIN, 1); |
pgrp | 1039 | kernel/chr_drv/tty_io.c | if (!is_console && L_TOSTOP(tty) && (tty->pgrp > 0) && |
pgrp | 1040 | kernel/chr_drv/tty_io.c | (current->tty == dev) && (tty->pgrp != current->pgrp)) { |
pgrp | 1041 | kernel/chr_drv/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
pgrp | 1044 | kernel/chr_drv/tty_io.c | (void) kill_pg(current->pgrp, SIGTTOU, 1); |
pgrp | 1340 | kernel/chr_drv/tty_io.c | tty->pgrp = current->pgrp; |
pgrp | 1582 | kernel/chr_drv/tty_io.c | tty->pgrp = -1; |
pgrp | 31 | kernel/chr_drv/tty_ioctl.c | extern int session_of_pgrp(int pgrp); |
pgrp | 33 | kernel/chr_drv/tty_ioctl.c | extern int kill_pg(int pgrp, int sig, int priv); |
pgrp | 172 | kernel/chr_drv/tty_ioctl.c | if (tty->pgrp <= 0 || tty->pgrp == current->pgrp) |
pgrp | 174 | kernel/chr_drv/tty_ioctl.c | if (is_orphaned_pgrp(current->pgrp)) |
pgrp | 178 | kernel/chr_drv/tty_ioctl.c | (void) kill_pg(current->pgrp,SIGTTOU,1); |
pgrp | 354 | kernel/chr_drv/tty_ioctl.c | kill_pg(tty->pgrp, SIGWINCH, 1); |
pgrp | 406 | kernel/chr_drv/tty_ioctl.c | int pgrp; |
pgrp | 496 | kernel/chr_drv/tty_ioctl.c | tty->pgrp = current->pgrp; |
pgrp | 503 | kernel/chr_drv/tty_ioctl.c | put_fs_long(termios_tty->pgrp,(unsigned long *) arg); |
pgrp | 510 | kernel/chr_drv/tty_ioctl.c | pgrp=get_fs_long((unsigned long *) arg); |
pgrp | 511 | kernel/chr_drv/tty_ioctl.c | if (pgrp < 0) |
pgrp | 513 | kernel/chr_drv/tty_ioctl.c | if (session_of_pgrp(pgrp) != current->session) |
pgrp | 515 | kernel/chr_drv/tty_ioctl.c | termios_tty->pgrp = pgrp; |
pgrp | 591 | kernel/chr_drv/tty_ioctl.c | if (tty->pgrp > 0) |
pgrp | 592 | kernel/chr_drv/tty_ioctl.c | kill_pg(tty->pgrp, SIGHUP, 0); |
pgrp | 593 | kernel/chr_drv/tty_ioctl.c | tty->pgrp = -1; |
pgrp | 196 | kernel/exit.c | int session_of_pgrp(int pgrp) |
pgrp | 205 | kernel/exit.c | if (p->pgrp == pgrp) |
pgrp | 207 | kernel/exit.c | if (p->pid == pgrp) |
pgrp | 217 | kernel/exit.c | int kill_pg(int pgrp, int sig, int priv) |
pgrp | 223 | kernel/exit.c | if (sig<0 || sig>32 || pgrp<=0) |
pgrp | 226 | kernel/exit.c | if (p->pgrp == pgrp) { |
pgrp | 282 | kernel/exit.c | return(kill_pg(current->pgrp,sig,0)); |
pgrp | 308 | kernel/exit.c | int is_orphaned_pgrp(int pgrp) |
pgrp | 313 | kernel/exit.c | if ((p->pgrp != pgrp) || |
pgrp | 317 | kernel/exit.c | if ((p->p_pptr->pgrp != pgrp) && |
pgrp | 324 | kernel/exit.c | static int has_stopped_jobs(int pgrp) |
pgrp | 329 | kernel/exit.c | if (p->pgrp != pgrp) |
pgrp | 409 | kernel/exit.c | if ((current->p_pptr->pgrp != current->pgrp) && |
pgrp | 411 | kernel/exit.c | is_orphaned_pgrp(current->pgrp) && |
pgrp | 412 | kernel/exit.c | has_stopped_jobs(current->pgrp)) { |
pgrp | 413 | kernel/exit.c | kill_pg(current->pgrp,SIGHUP,1); |
pgrp | 414 | kernel/exit.c | kill_pg(current->pgrp,SIGCONT,1); |
pgrp | 446 | kernel/exit.c | if ((p->pgrp != current->pgrp) && |
pgrp | 448 | kernel/exit.c | is_orphaned_pgrp(p->pgrp) && |
pgrp | 449 | kernel/exit.c | has_stopped_jobs(p->pgrp)) { |
pgrp | 450 | kernel/exit.c | kill_pg(p->pgrp,SIGHUP,1); |
pgrp | 451 | kernel/exit.c | kill_pg(p->pgrp,SIGCONT,1); |
pgrp | 461 | kernel/exit.c | if (tty->pgrp > 0) |
pgrp | 462 | kernel/exit.c | kill_pg(tty->pgrp, SIGHUP, 1); |
pgrp | 463 | kernel/exit.c | tty->pgrp = -1; |
pgrp | 518 | kernel/exit.c | if (p->pgrp != current->pgrp) |
pgrp | 521 | kernel/exit.c | if (p->pgrp != -pid) |
pgrp | 50 | kernel/fork.c | if (task[i]->pid == last_pid || task[i]->pgrp == last_pid) |
pgrp | 35 | kernel/sys.c | extern int session_of_pgrp(int pgrp); |
pgrp | 49 | kernel/sys.c | who = current->pgrp; |
pgrp | 50 | kernel/sys.c | return(p->pgrp == who); |
pgrp | 510 | kernel/sys.c | task[i]->pgrp = pgid; |
pgrp | 518 | kernel/sys.c | return current->pgrp; |
pgrp | 526 | kernel/sys.c | current->session = current->pgrp = current->pid; |
pgrp | 528 | kernel/sys.c | return current->pgrp; |
pgrp | 503 | net/inet/sock.c | if (!suser() && current->pgrp != -arg && |