tag | line | file | source code |
pgrp | 827 | drivers/char/keyboard.c | if (tty->pgrp > 0) |
pgrp | 828 | drivers/char/keyboard.c | kill_pg(tty->pgrp, SIGINT, 1); |
pgrp | 572 | drivers/char/serial.c | if (info->tty->pgrp > 0) |
pgrp | 573 | drivers/char/serial.c | kill_pg(info->tty->pgrp, SIGINT,1); |
pgrp | 1627 | drivers/char/serial.c | (info->pgrp != current->pgrp)) |
pgrp | 1761 | drivers/char/serial.c | info->pgrp = current->pgrp; |
pgrp | 267 | drivers/char/tty_io.c | tty->pgrp = -1; |
pgrp | 315 | drivers/char/tty_io.c | if (tty->pgrp > 0) { |
pgrp | 316 | drivers/char/tty_io.c | kill_pg(tty->pgrp, SIGHUP, priv); |
pgrp | 317 | drivers/char/tty_io.c | kill_pg(tty->pgrp, SIGCONT, priv); |
pgrp | 320 | drivers/char/tty_io.c | tty->pgrp = -1; |
pgrp | 717 | drivers/char/tty_io.c | kill_pg(tty->pgrp, sig, 1); |
pgrp | 871 | drivers/char/tty_io.c | if (!is_orphaned_pgrp(tty->pgrp)) |
pgrp | 962 | drivers/char/tty_io.c | if (tty->pgrp <= 0) |
pgrp | 964 | drivers/char/tty_io.c | else if (current->pgrp != tty->pgrp) { |
pgrp | 966 | drivers/char/tty_io.c | is_orphaned_pgrp(current->pgrp)) |
pgrp | 968 | drivers/char/tty_io.c | kill_pg(current->pgrp, SIGTTIN, 1); |
pgrp | 1167 | drivers/char/tty_io.c | (tty->pgrp > 0) && |
pgrp | 1169 | drivers/char/tty_io.c | (tty->pgrp != current->pgrp)) |
pgrp | 1170 | drivers/char/tty_io.c | if (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp)) |
pgrp | 1173 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp, SIGTTIN, 1); |
pgrp | 1206 | drivers/char/tty_io.c | if (!is_console && L_TOSTOP(tty) && (tty->pgrp > 0) && |
pgrp | 1207 | drivers/char/tty_io.c | (current->tty == dev) && (tty->pgrp != current->pgrp)) { |
pgrp | 1208 | drivers/char/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
pgrp | 1211 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp, SIGTTOU, 1); |
pgrp | 1544 | drivers/char/tty_io.c | tty->pgrp = current->pgrp; |
pgrp | 1776 | drivers/char/tty_io.c | tty->pgrp = -1; |
pgrp | 34 | drivers/char/tty_ioctl.c | extern int session_of_pgrp(int pgrp); |
pgrp | 36 | drivers/char/tty_ioctl.c | extern int kill_pg(int pgrp, int sig, int priv); |
pgrp | 170 | drivers/char/tty_ioctl.c | if (tty->pgrp <= 0) { |
pgrp | 174 | drivers/char/tty_ioctl.c | if (current->pgrp == tty->pgrp) |
pgrp | 178 | drivers/char/tty_ioctl.c | if (is_orphaned_pgrp(current->pgrp)) |
pgrp | 180 | drivers/char/tty_ioctl.c | (void) kill_pg(current->pgrp,SIGTTOU,1); |
pgrp | 287 | drivers/char/tty_ioctl.c | tty->pgrp > 0) |
pgrp | 288 | drivers/char/tty_ioctl.c | kill_pg(tty->pgrp, SIGWINCH, 1); |
pgrp | 343 | drivers/char/tty_ioctl.c | pid_t pgrp; |
pgrp | 483 | drivers/char/tty_ioctl.c | tty->pgrp = current->pgrp; |
pgrp | 495 | drivers/char/tty_ioctl.c | put_fs_long(termios_tty->pgrp, (pid_t *) arg); |
pgrp | 505 | drivers/char/tty_ioctl.c | pgrp = get_fs_long((pid_t *) arg); |
pgrp | 506 | drivers/char/tty_ioctl.c | if (pgrp < 0) |
pgrp | 508 | drivers/char/tty_ioctl.c | if (session_of_pgrp(pgrp) != current->session) |
pgrp | 510 | drivers/char/tty_ioctl.c | termios_tty->pgrp = pgrp; |
pgrp | 311 | fs/proc/array.c | tty_pgrp = tty_table[tty_pgrp]->pgrp; |
pgrp | 321 | fs/proc/array.c | (*p)->pgrp, |
pgrp | 46 | include/linux/kernel.h | int session_of_pgrp(int pgrp); |
pgrp | 49 | include/linux/kernel.h | int kill_pg(int pgrp, int sig, int priv); |
pgrp | 197 | include/linux/sched.h | int pid,pgrp,session,leader; |
pgrp | 41 | include/linux/serial.h | long pgrp; /* pgrp of opening process */ |
pgrp | 244 | include/linux/tty.h | int pgrp; |
pgrp | 413 | include/linux/tty.h | extern int is_orphaned_pgrp(int pgrp); |
pgrp | 199 | kernel/exit.c | int session_of_pgrp(int pgrp) |
pgrp | 208 | kernel/exit.c | if (p->pgrp == pgrp) |
pgrp | 210 | kernel/exit.c | if (p->pid == pgrp) |
pgrp | 220 | kernel/exit.c | int kill_pg(int pgrp, int sig, int priv) |
pgrp | 226 | kernel/exit.c | if (sig<0 || sig>32 || pgrp<=0) |
pgrp | 229 | kernel/exit.c | if (p->pgrp == pgrp) { |
pgrp | 285 | kernel/exit.c | return(kill_pg(current->pgrp,sig,0)); |
pgrp | 311 | kernel/exit.c | int is_orphaned_pgrp(int pgrp) |
pgrp | 316 | kernel/exit.c | if ((p->pgrp != pgrp) || |
pgrp | 320 | kernel/exit.c | if ((p->p_pptr->pgrp != pgrp) && |
pgrp | 327 | kernel/exit.c | static int has_stopped_jobs(int pgrp) |
pgrp | 332 | kernel/exit.c | if (p->pgrp != pgrp) |
pgrp | 413 | kernel/exit.c | if ((current->p_pptr->pgrp != current->pgrp) && |
pgrp | 415 | kernel/exit.c | is_orphaned_pgrp(current->pgrp) && |
pgrp | 416 | kernel/exit.c | has_stopped_jobs(current->pgrp)) { |
pgrp | 417 | kernel/exit.c | kill_pg(current->pgrp,SIGHUP,1); |
pgrp | 418 | kernel/exit.c | kill_pg(current->pgrp,SIGCONT,1); |
pgrp | 450 | kernel/exit.c | if ((p->pgrp != current->pgrp) && |
pgrp | 452 | kernel/exit.c | is_orphaned_pgrp(p->pgrp) && |
pgrp | 453 | kernel/exit.c | has_stopped_jobs(p->pgrp)) { |
pgrp | 454 | kernel/exit.c | kill_pg(p->pgrp,SIGHUP,1); |
pgrp | 455 | kernel/exit.c | kill_pg(p->pgrp,SIGCONT,1); |
pgrp | 509 | kernel/exit.c | if (p->pgrp != current->pgrp) |
pgrp | 512 | kernel/exit.c | if (p->pgrp != -pid) |
pgrp | 59 | kernel/fork.c | if (task[i]->pid == last_pid || task[i]->pgrp == last_pid || |
pgrp | 47 | kernel/sys.c | who = current->pgrp; |
pgrp | 48 | kernel/sys.c | return(p->pgrp == who); |
pgrp | 507 | kernel/sys.c | if (tmp->pgrp == pgid && |
pgrp | 515 | kernel/sys.c | p->pgrp = pgid; |
pgrp | 524 | kernel/sys.c | return current->pgrp; |
pgrp | 527 | kernel/sys.c | return p->pgrp; |
pgrp | 534 | kernel/sys.c | return current->pgrp; |
pgrp | 542 | kernel/sys.c | current->session = current->pgrp = current->pid; |
pgrp | 544 | kernel/sys.c | return current->pgrp; |
pgrp | 422 | net/inet/sock.c | if (!suser() && current->pgrp != -arg && |