tag | line | file | source code |
pgrp | 203 | fs/proc/array.c | tty_pgrp = tty_table[tty_pgrp]->pgrp; |
pgrp | 213 | fs/proc/array.c | (*p)->pgrp, |
pgrp | 162 | include/linux/sched.h | long pid,pgrp,session,leader; |
pgrp | 203 | include/linux/tty.h | int pgrp; |
pgrp | 345 | include/linux/tty.h | extern int is_orphaned_pgrp(int pgrp); |
pgrp | 348 | include/linux/tty.h | extern int kill_pg(int pgrp, int sig, int priv); |
pgrp | 402 | kernel/chr_drv/serial.c | if (info->tty->pgrp > 0) |
pgrp | 403 | kernel/chr_drv/serial.c | kill_pg(info->tty->pgrp, SIGINT,1); |
pgrp | 258 | kernel/chr_drv/tty_io.c | tty->pgrp = -1; |
pgrp | 633 | kernel/chr_drv/tty_io.c | kill_pg(tty->pgrp, SIGINT, 1); |
pgrp | 638 | kernel/chr_drv/tty_io.c | kill_pg(tty->pgrp, SIGQUIT, 1); |
pgrp | 643 | kernel/chr_drv/tty_io.c | if (!is_orphaned_pgrp(tty->pgrp)) { |
pgrp | 644 | kernel/chr_drv/tty_io.c | kill_pg(tty->pgrp, SIGTSTP, 1); |
pgrp | 935 | kernel/chr_drv/tty_io.c | (tty->pgrp > 0) && |
pgrp | 937 | kernel/chr_drv/tty_io.c | (tty->pgrp != current->pgrp)) |
pgrp | 938 | kernel/chr_drv/tty_io.c | if (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp)) |
pgrp | 941 | kernel/chr_drv/tty_io.c | (void) kill_pg(current->pgrp, SIGTTIN, 1); |
pgrp | 971 | kernel/chr_drv/tty_io.c | if (!is_console && L_TOSTOP(tty) && (tty->pgrp > 0) && |
pgrp | 972 | kernel/chr_drv/tty_io.c | (current->tty == dev) && (tty->pgrp != current->pgrp)) { |
pgrp | 973 | kernel/chr_drv/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
pgrp | 976 | kernel/chr_drv/tty_io.c | (void) kill_pg(current->pgrp, SIGTTOU, 1); |
pgrp | 1241 | kernel/chr_drv/tty_io.c | tty->pgrp = current->pgrp; |
pgrp | 1463 | 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 | 143 | kernel/chr_drv/tty_ioctl.c | if (tty->pgrp <= 0 || tty->pgrp == current->pgrp) |
pgrp | 145 | kernel/chr_drv/tty_ioctl.c | if (is_orphaned_pgrp(current->pgrp)) |
pgrp | 149 | kernel/chr_drv/tty_ioctl.c | (void) kill_pg(current->pgrp,SIGTTOU,1); |
pgrp | 258 | kernel/chr_drv/tty_ioctl.c | kill_pg(tty->pgrp, SIGWINCH, 1); |
pgrp | 309 | kernel/chr_drv/tty_ioctl.c | int pgrp; |
pgrp | 395 | kernel/chr_drv/tty_ioctl.c | tty->pgrp = current->pgrp; |
pgrp | 402 | kernel/chr_drv/tty_ioctl.c | put_fs_long(termios_tty->pgrp,(unsigned long *) arg); |
pgrp | 409 | kernel/chr_drv/tty_ioctl.c | pgrp=get_fs_long((unsigned long *) arg); |
pgrp | 410 | kernel/chr_drv/tty_ioctl.c | if (pgrp < 0) |
pgrp | 412 | kernel/chr_drv/tty_ioctl.c | if (session_of_pgrp(pgrp) != current->session) |
pgrp | 414 | kernel/chr_drv/tty_ioctl.c | termios_tty->pgrp = pgrp; |
pgrp | 484 | kernel/chr_drv/tty_ioctl.c | if (tty->pgrp > 0) |
pgrp | 485 | kernel/chr_drv/tty_ioctl.c | kill_pg(tty->pgrp, SIGHUP, 0); |
pgrp | 486 | kernel/chr_drv/tty_ioctl.c | tty->pgrp = -1; |
pgrp | 178 | kernel/exit.c | int session_of_pgrp(int pgrp) |
pgrp | 187 | kernel/exit.c | if ((*p)->pgrp == pgrp) |
pgrp | 189 | kernel/exit.c | if ((*p)->pid == pgrp) |
pgrp | 199 | kernel/exit.c | int kill_pg(int pgrp, int sig, int priv) |
pgrp | 205 | kernel/exit.c | if (sig<0 || sig>32 || pgrp<=0) |
pgrp | 208 | kernel/exit.c | if (*p && (*p)->pgrp == pgrp) { |
pgrp | 262 | kernel/exit.c | return(kill_pg(current->pgrp,sig,0)); |
pgrp | 286 | kernel/exit.c | int is_orphaned_pgrp(int pgrp) |
pgrp | 292 | kernel/exit.c | ((*p)->pgrp != pgrp) || |
pgrp | 296 | kernel/exit.c | if (((*p)->p_pptr->pgrp != pgrp) && |
pgrp | 303 | kernel/exit.c | static int has_stopped_jobs(int pgrp) |
pgrp | 308 | kernel/exit.c | if (!*p || (*p)->pgrp != pgrp) |
pgrp | 361 | kernel/exit.c | if ((current->p_pptr->pgrp != current->pgrp) && |
pgrp | 363 | kernel/exit.c | is_orphaned_pgrp(current->pgrp) && |
pgrp | 364 | kernel/exit.c | has_stopped_jobs(current->pgrp)) { |
pgrp | 365 | kernel/exit.c | kill_pg(current->pgrp,SIGHUP,1); |
pgrp | 366 | kernel/exit.c | kill_pg(current->pgrp,SIGCONT,1); |
pgrp | 398 | kernel/exit.c | if ((p->pgrp != current->pgrp) && |
pgrp | 400 | kernel/exit.c | is_orphaned_pgrp(p->pgrp) && |
pgrp | 401 | kernel/exit.c | has_stopped_jobs(p->pgrp)) { |
pgrp | 402 | kernel/exit.c | kill_pg(p->pgrp,SIGHUP,1); |
pgrp | 403 | kernel/exit.c | kill_pg(p->pgrp,SIGCONT,1); |
pgrp | 413 | kernel/exit.c | if (tty->pgrp > 0) |
pgrp | 414 | kernel/exit.c | kill_pg(tty->pgrp, SIGHUP, 1); |
pgrp | 415 | kernel/exit.c | tty->pgrp = -1; |
pgrp | 469 | kernel/exit.c | if (p->pgrp != current->pgrp) |
pgrp | 472 | kernel/exit.c | if (p->pgrp != -pid) |
pgrp | 42 | kernel/fork.c | if (task[i]->pid == last_pid || task[i]->pgrp == last_pid) |
pgrp | 34 | kernel/sys.c | extern int session_of_pgrp(int pgrp); |
pgrp | 47 | kernel/sys.c | who = current->pgrp; |
pgrp | 48 | kernel/sys.c | return(p->pgrp == who); |
pgrp | 479 | kernel/sys.c | task[i]->pgrp = pgid; |
pgrp | 487 | kernel/sys.c | return current->pgrp; |
pgrp | 495 | kernel/sys.c | current->session = current->pgrp = current->pid; |
pgrp | 497 | kernel/sys.c | return current->pgrp; |
pgrp | 687 | net/tcp/sock.c | if (!suser() && current->pgrp != -arg && current->pid != arg) |