tag | line | file | source code |
pgrp | 566 | drivers/char/serial.c | if (info->tty->pgrp > 0) |
pgrp | 567 | drivers/char/serial.c | kill_pg(info->tty->pgrp, SIGINT,1); |
pgrp | 1592 | drivers/char/serial.c | (info->pgrp != current->pgrp)) |
pgrp | 1719 | drivers/char/serial.c | info->pgrp = current->pgrp; |
pgrp | 260 | drivers/char/tty_io.c | tty->pgrp = -1; |
pgrp | 308 | drivers/char/tty_io.c | if (tty->pgrp > 0) |
pgrp | 309 | drivers/char/tty_io.c | kill_pg(tty->pgrp, SIGHUP, priv); |
pgrp | 311 | drivers/char/tty_io.c | tty->pgrp = -1; |
pgrp | 680 | drivers/char/tty_io.c | kill_pg(tty->pgrp, SIGINT, 1); |
pgrp | 688 | drivers/char/tty_io.c | kill_pg(tty->pgrp, SIGQUIT, 1); |
pgrp | 696 | drivers/char/tty_io.c | if (!is_orphaned_pgrp(tty->pgrp)) { |
pgrp | 697 | drivers/char/tty_io.c | kill_pg(tty->pgrp, SIGTSTP, 1); |
pgrp | 1035 | drivers/char/tty_io.c | (tty->pgrp > 0) && |
pgrp | 1037 | drivers/char/tty_io.c | (tty->pgrp != current->pgrp)) |
pgrp | 1038 | drivers/char/tty_io.c | if (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp)) |
pgrp | 1041 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp, SIGTTIN, 1); |
pgrp | 1071 | drivers/char/tty_io.c | if (!is_console && L_TOSTOP(tty) && (tty->pgrp > 0) && |
pgrp | 1072 | drivers/char/tty_io.c | (current->tty == dev) && (tty->pgrp != current->pgrp)) { |
pgrp | 1073 | drivers/char/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
pgrp | 1076 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp, SIGTTOU, 1); |
pgrp | 1397 | drivers/char/tty_io.c | tty->pgrp = current->pgrp; |
pgrp | 1646 | drivers/char/tty_io.c | tty->pgrp = -1; |
pgrp | 33 | drivers/char/tty_ioctl.c | extern int session_of_pgrp(int pgrp); |
pgrp | 35 | drivers/char/tty_ioctl.c | extern int kill_pg(int pgrp, int sig, int priv); |
pgrp | 178 | drivers/char/tty_ioctl.c | if (tty->pgrp <= 0 || tty->pgrp == current->pgrp) |
pgrp | 180 | drivers/char/tty_ioctl.c | if (is_orphaned_pgrp(current->pgrp)) |
pgrp | 184 | drivers/char/tty_ioctl.c | (void) kill_pg(current->pgrp,SIGTTOU,1); |
pgrp | 364 | drivers/char/tty_ioctl.c | kill_pg(tty->pgrp, SIGWINCH, 1); |
pgrp | 416 | drivers/char/tty_ioctl.c | int pgrp; |
pgrp | 531 | drivers/char/tty_ioctl.c | tty->pgrp = current->pgrp; |
pgrp | 536 | drivers/char/tty_ioctl.c | put_fs_long(termios_tty->pgrp,(unsigned long *) arg); |
pgrp | 543 | drivers/char/tty_ioctl.c | pgrp=get_fs_long((unsigned long *) arg); |
pgrp | 544 | drivers/char/tty_ioctl.c | if (pgrp < 0) |
pgrp | 546 | drivers/char/tty_ioctl.c | if (session_of_pgrp(pgrp) != current->session) |
pgrp | 548 | drivers/char/tty_ioctl.c | termios_tty->pgrp = pgrp; |
pgrp | 260 | fs/proc/array.c | tty_pgrp = tty_table[tty_pgrp]->pgrp; |
pgrp | 270 | fs/proc/array.c | (*p)->pgrp, |
pgrp | 49 | include/linux/kernel.h | int session_of_pgrp(int pgrp); |
pgrp | 52 | include/linux/kernel.h | int kill_pg(int pgrp, int sig, int priv); |
pgrp | 173 | include/linux/sched.h | int 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 | 372 | include/linux/tty.h | extern int is_orphaned_pgrp(int pgrp); |
pgrp | 197 | kernel/exit.c | int session_of_pgrp(int pgrp) |
pgrp | 206 | kernel/exit.c | if (p->pgrp == pgrp) |
pgrp | 208 | kernel/exit.c | if (p->pid == pgrp) |
pgrp | 218 | kernel/exit.c | int kill_pg(int pgrp, int sig, int priv) |
pgrp | 224 | kernel/exit.c | if (sig<0 || sig>32 || pgrp<=0) |
pgrp | 227 | kernel/exit.c | if (p->pgrp == pgrp) { |
pgrp | 283 | kernel/exit.c | return(kill_pg(current->pgrp,sig,0)); |
pgrp | 309 | kernel/exit.c | int is_orphaned_pgrp(int pgrp) |
pgrp | 314 | kernel/exit.c | if ((p->pgrp != pgrp) || |
pgrp | 318 | kernel/exit.c | if ((p->p_pptr->pgrp != pgrp) && |
pgrp | 325 | kernel/exit.c | static int has_stopped_jobs(int pgrp) |
pgrp | 330 | kernel/exit.c | if (p->pgrp != pgrp) |
pgrp | 410 | kernel/exit.c | if ((current->p_pptr->pgrp != current->pgrp) && |
pgrp | 412 | kernel/exit.c | is_orphaned_pgrp(current->pgrp) && |
pgrp | 413 | kernel/exit.c | has_stopped_jobs(current->pgrp)) { |
pgrp | 414 | kernel/exit.c | kill_pg(current->pgrp,SIGHUP,1); |
pgrp | 415 | kernel/exit.c | kill_pg(current->pgrp,SIGCONT,1); |
pgrp | 447 | kernel/exit.c | if ((p->pgrp != current->pgrp) && |
pgrp | 449 | kernel/exit.c | is_orphaned_pgrp(p->pgrp) && |
pgrp | 450 | kernel/exit.c | has_stopped_jobs(p->pgrp)) { |
pgrp | 451 | kernel/exit.c | kill_pg(p->pgrp,SIGHUP,1); |
pgrp | 452 | kernel/exit.c | kill_pg(p->pgrp,SIGCONT,1); |
pgrp | 503 | kernel/exit.c | if (p->pgrp != current->pgrp) |
pgrp | 506 | kernel/exit.c | if (p->pgrp != -pid) |
pgrp | 59 | kernel/fork.c | if (task[i]->pid == last_pid || task[i]->pgrp == last_pid) |
pgrp | 43 | kernel/sys.c | who = current->pgrp; |
pgrp | 44 | kernel/sys.c | return(p->pgrp == who); |
pgrp | 487 | kernel/sys.c | task[i]->pgrp = pgid; |
pgrp | 495 | kernel/sys.c | return current->pgrp; |
pgrp | 503 | kernel/sys.c | current->session = current->pgrp = current->pid; |
pgrp | 505 | kernel/sys.c | return current->pgrp; |
pgrp | 463 | net/inet/sock.c | if (!suser() && current->pgrp != -arg && |