tag | line | file | source code |
pgrp | 493 | fs/open.c | extern int kill_pg (int pgrp, int sig, int priv); |
pgrp | 502 | fs/open.c | if (tty && tty->pgrp > 0) |
pgrp | 503 | fs/open.c | kill_pg(tty->pgrp, SIGHUP, 0); |
pgrp | 548 | fs/open.c | tty->pgrp = -1; |
pgrp | 208 | fs/proc/array.c | (*p)->pgrp, |
pgrp | 212 | fs/proc/array.c | tty_table[(*p)->tty]->pgrp, |
pgrp | 161 | include/linux/sched.h | long pid,pgrp,session,leader; |
pgrp | 189 | include/linux/tty.h | int pgrp; |
pgrp | 320 | include/linux/tty.h | extern int is_orphaned_pgrp(int pgrp); |
pgrp | 323 | include/linux/tty.h | extern int kill_pg(int pgrp, int sig, int priv); |
pgrp | 384 | kernel/chr_drv/serial.c | if (info->tty->pgrp > 0) |
pgrp | 385 | kernel/chr_drv/serial.c | kill_pg(info->tty->pgrp, SIGINT,1); |
pgrp | 529 | kernel/chr_drv/tty_io.c | kill_pg(tty->pgrp, SIGINT, 1); |
pgrp | 535 | kernel/chr_drv/tty_io.c | kill_pg(tty->pgrp, SIGQUIT, 1); |
pgrp | 541 | kernel/chr_drv/tty_io.c | if (!is_orphaned_pgrp(tty->pgrp)) |
pgrp | 542 | kernel/chr_drv/tty_io.c | kill_pg(tty->pgrp, SIGTSTP, 1); |
pgrp | 822 | kernel/chr_drv/tty_io.c | if (MINOR(inode->i_rdev) && (tty->pgrp > 0) && |
pgrp | 824 | kernel/chr_drv/tty_io.c | (tty->pgrp != current->pgrp)) |
pgrp | 825 | kernel/chr_drv/tty_io.c | if (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp)) |
pgrp | 828 | kernel/chr_drv/tty_io.c | (void) kill_pg(current->pgrp, SIGTTIN, 1); |
pgrp | 858 | kernel/chr_drv/tty_io.c | if (!is_console && L_TOSTOP(tty) && (tty->pgrp > 0) && |
pgrp | 859 | kernel/chr_drv/tty_io.c | (current->tty == dev) && (tty->pgrp != current->pgrp)) { |
pgrp | 860 | kernel/chr_drv/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
pgrp | 863 | kernel/chr_drv/tty_io.c | (void) kill_pg(current->pgrp, SIGTTOU, 1); |
pgrp | 1118 | kernel/chr_drv/tty_io.c | tty->pgrp = current->pgrp; |
pgrp | 1340 | kernel/chr_drv/tty_io.c | tty->pgrp = -1; |
pgrp | 30 | kernel/chr_drv/tty_ioctl.c | extern int session_of_pgrp(int pgrp); |
pgrp | 32 | kernel/chr_drv/tty_ioctl.c | extern int kill_pg(int pgrp, int sig, int priv); |
pgrp | 140 | kernel/chr_drv/tty_ioctl.c | if (tty->pgrp <= 0 || tty->pgrp == current->pgrp) |
pgrp | 142 | kernel/chr_drv/tty_ioctl.c | if (is_orphaned_pgrp(current->pgrp)) |
pgrp | 146 | kernel/chr_drv/tty_ioctl.c | (void) kill_pg(current->pgrp,SIGTTOU,1); |
pgrp | 253 | kernel/chr_drv/tty_ioctl.c | kill_pg(tty->pgrp, SIGWINCH, 1); |
pgrp | 302 | kernel/chr_drv/tty_ioctl.c | int pgrp; |
pgrp | 387 | kernel/chr_drv/tty_ioctl.c | tty->pgrp = current->pgrp; |
pgrp | 393 | kernel/chr_drv/tty_ioctl.c | put_fs_long(termios_tty->pgrp,(unsigned long *) arg); |
pgrp | 400 | kernel/chr_drv/tty_ioctl.c | pgrp=get_fs_long((unsigned long *) arg); |
pgrp | 401 | kernel/chr_drv/tty_ioctl.c | if (pgrp < 0) |
pgrp | 403 | kernel/chr_drv/tty_ioctl.c | if (session_of_pgrp(pgrp) != current->session) |
pgrp | 405 | kernel/chr_drv/tty_ioctl.c | termios_tty->pgrp = pgrp; |
pgrp | 472 | kernel/chr_drv/tty_ioctl.c | if (tty->pgrp > 0) |
pgrp | 473 | kernel/chr_drv/tty_ioctl.c | kill_pg(tty->pgrp, SIGHUP, 0); |
pgrp | 474 | kernel/chr_drv/tty_ioctl.c | tty->pgrp = -1; |
pgrp | 174 | kernel/exit.c | int session_of_pgrp(int pgrp) |
pgrp | 183 | kernel/exit.c | if ((*p)->pgrp == pgrp) |
pgrp | 185 | kernel/exit.c | if ((*p)->pid == pgrp) |
pgrp | 195 | kernel/exit.c | int kill_pg(int pgrp, int sig, int priv) |
pgrp | 201 | kernel/exit.c | if (sig<0 || sig>32 || pgrp<=0) |
pgrp | 204 | kernel/exit.c | if (*p && (*p)->pgrp == pgrp) { |
pgrp | 258 | kernel/exit.c | return(kill_pg(current->pgrp,sig,0)); |
pgrp | 282 | kernel/exit.c | int is_orphaned_pgrp(int pgrp) |
pgrp | 288 | kernel/exit.c | ((*p)->pgrp != pgrp) || |
pgrp | 292 | kernel/exit.c | if (((*p)->p_pptr->pgrp != pgrp) && |
pgrp | 299 | kernel/exit.c | static int has_stopped_jobs(int pgrp) |
pgrp | 304 | kernel/exit.c | if (!*p || (*p)->pgrp != pgrp) |
pgrp | 357 | kernel/exit.c | if ((current->p_pptr->pgrp != current->pgrp) && |
pgrp | 359 | kernel/exit.c | is_orphaned_pgrp(current->pgrp) && |
pgrp | 360 | kernel/exit.c | has_stopped_jobs(current->pgrp)) { |
pgrp | 361 | kernel/exit.c | kill_pg(current->pgrp,SIGHUP,1); |
pgrp | 362 | kernel/exit.c | kill_pg(current->pgrp,SIGCONT,1); |
pgrp | 394 | kernel/exit.c | if ((p->pgrp != current->pgrp) && |
pgrp | 396 | kernel/exit.c | is_orphaned_pgrp(p->pgrp) && |
pgrp | 397 | kernel/exit.c | has_stopped_jobs(p->pgrp)) { |
pgrp | 398 | kernel/exit.c | kill_pg(p->pgrp,SIGHUP,1); |
pgrp | 399 | kernel/exit.c | kill_pg(p->pgrp,SIGCONT,1); |
pgrp | 409 | kernel/exit.c | if (tty->pgrp > 0) |
pgrp | 410 | kernel/exit.c | kill_pg(tty->pgrp, SIGHUP, 1); |
pgrp | 411 | kernel/exit.c | tty->pgrp = -1; |
pgrp | 462 | kernel/exit.c | if (p->pgrp != current->pgrp) |
pgrp | 465 | kernel/exit.c | if (p->pgrp != -pid) |
pgrp | 55 | kernel/fork.c | if (task[i]->pid == last_pid || task[i]->pgrp == last_pid) |
pgrp | 33 | kernel/sys.c | extern int session_of_pgrp(int pgrp); |
pgrp | 46 | kernel/sys.c | who = current->pgrp; |
pgrp | 47 | kernel/sys.c | return(p->pgrp == who); |
pgrp | 458 | kernel/sys.c | task[i]->pgrp = pgid; |
pgrp | 466 | kernel/sys.c | return current->pgrp; |
pgrp | 474 | kernel/sys.c | current->session = current->pgrp = current->pid; |
pgrp | 476 | kernel/sys.c | return current->pgrp; |
pgrp | 687 | net/tcp/sock.c | if (!suser() && current->pgrp != -arg && current->pid != arg) |