tag | line | file | source code |
pgrp | 123 | include/linux/sched.h | long pid,pgrp,session,leader; |
pgrp | 147 | include/linux/tty.h | int pgrp; |
pgrp | 230 | include/linux/tty.h | extern int is_orphaned_pgrp(int pgrp); |
pgrp | 233 | include/linux/tty.h | extern int kill_pg(int pgrp, int sig, int priv); |
pgrp | 48 | kernel/chr_drv/pty.c | if (tty->link->pgrp > 0) |
pgrp | 49 | kernel/chr_drv/pty.c | kill_pg(tty->link->pgrp,SIGHUP,1); |
pgrp | 120 | kernel/chr_drv/serial.c | if ((status & 0x88) == 0x08 && info->tty->pgrp > 0) |
pgrp | 121 | kernel/chr_drv/serial.c | kill_pg(info->tty->pgrp,SIGHUP,1); |
pgrp | 216 | kernel/chr_drv/tty_io.c | kill_pg(tty->pgrp, SIGINT, 1); |
pgrp | 222 | kernel/chr_drv/tty_io.c | kill_pg(tty->pgrp, SIGQUIT, 1); |
pgrp | 228 | kernel/chr_drv/tty_io.c | if (!is_orphaned_pgrp(tty->pgrp)) |
pgrp | 229 | kernel/chr_drv/tty_io.c | kill_pg(tty->pgrp, SIGTSTP, 1); |
pgrp | 278 | kernel/chr_drv/tty_io.c | (void) kill_pg(current->pgrp,sig,1); |
pgrp | 316 | kernel/chr_drv/tty_io.c | if ((tty->pgrp > 0) && |
pgrp | 318 | kernel/chr_drv/tty_io.c | (tty->pgrp != current->pgrp)) |
pgrp | 319 | kernel/chr_drv/tty_io.c | if (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp)) |
pgrp | 399 | kernel/chr_drv/tty_io.c | if (L_TOSTOP(tty) && (tty->pgrp > 0) && |
pgrp | 400 | kernel/chr_drv/tty_io.c | (current->tty == channel) && (tty->pgrp != current->pgrp)) { |
pgrp | 401 | kernel/chr_drv/tty_io.c | if (is_orphaned_pgrp(tty->pgrp)) |
pgrp | 535 | kernel/chr_drv/tty_io.c | tty->pgrp = current->pgrp; |
pgrp | 19 | kernel/chr_drv/tty_ioctl.c | extern int session_of_pgrp(int pgrp); |
pgrp | 21 | kernel/chr_drv/tty_ioctl.c | extern int kill_pg(int pgrp, int sig, int priv); |
pgrp | 131 | kernel/chr_drv/tty_ioctl.c | (tty->pgrp != current->pgrp)) { |
pgrp | 132 | kernel/chr_drv/tty_ioctl.c | if (is_orphaned_pgrp(current->pgrp)) |
pgrp | 173 | kernel/chr_drv/tty_ioctl.c | (tty->pgrp > 0) && |
pgrp | 174 | kernel/chr_drv/tty_ioctl.c | (tty->pgrp != current->pgrp)) { |
pgrp | 175 | kernel/chr_drv/tty_ioctl.c | if (is_orphaned_pgrp(current->pgrp)) |
pgrp | 211 | kernel/chr_drv/tty_ioctl.c | kill_pg(tty->pgrp, SIGWINCH, 1); |
pgrp | 234 | kernel/chr_drv/tty_ioctl.c | int pgrp; |
pgrp | 317 | kernel/chr_drv/tty_ioctl.c | put_fs_long(tty->pgrp,(unsigned long *) arg); |
pgrp | 324 | kernel/chr_drv/tty_ioctl.c | pgrp=get_fs_long((unsigned long *) arg); |
pgrp | 325 | kernel/chr_drv/tty_ioctl.c | if (pgrp < 0) |
pgrp | 327 | kernel/chr_drv/tty_ioctl.c | if (session_of_pgrp(pgrp) != current->session) |
pgrp | 329 | kernel/chr_drv/tty_ioctl.c | tty->pgrp = pgrp; |
pgrp | 405 | kernel/chr_drv/tty_ioctl.c | if (tty->pgrp > 0) |
pgrp | 406 | kernel/chr_drv/tty_ioctl.c | kill_pg(tty->pgrp, SIGHUP, 0); |
pgrp | 407 | kernel/chr_drv/tty_ioctl.c | tty->pgrp = -1; |
pgrp | 171 | kernel/exit.c | int session_of_pgrp(int pgrp) |
pgrp | 180 | kernel/exit.c | if ((*p)->pgrp == pgrp) |
pgrp | 182 | kernel/exit.c | if ((*p)->pid == pgrp) |
pgrp | 188 | kernel/exit.c | int kill_pg(int pgrp, int sig, int priv) |
pgrp | 194 | kernel/exit.c | if (sig<0 || sig>32 || pgrp<=0) |
pgrp | 197 | kernel/exit.c | if (*p && (*p)->pgrp == pgrp) { |
pgrp | 228 | kernel/exit.c | return(kill_pg(current->pgrp,sig,0)); |
pgrp | 252 | kernel/exit.c | int is_orphaned_pgrp(int pgrp) |
pgrp | 258 | kernel/exit.c | ((*p)->pgrp != pgrp) || |
pgrp | 262 | kernel/exit.c | if (((*p)->p_pptr->pgrp != pgrp) && |
pgrp | 269 | kernel/exit.c | static int has_stopped_jobs(int pgrp) |
pgrp | 274 | kernel/exit.c | if (!*p || (*p)->pgrp != pgrp) |
pgrp | 328 | kernel/exit.c | if ((current->p_pptr->pgrp != current->pgrp) && |
pgrp | 330 | kernel/exit.c | is_orphaned_pgrp(current->pgrp) && |
pgrp | 331 | kernel/exit.c | has_stopped_jobs(current->pgrp)) { |
pgrp | 332 | kernel/exit.c | kill_pg(current->pgrp,SIGHUP,1); |
pgrp | 333 | kernel/exit.c | kill_pg(current->pgrp,SIGCONT,1); |
pgrp | 365 | kernel/exit.c | if ((p->pgrp != current->pgrp) && |
pgrp | 367 | kernel/exit.c | is_orphaned_pgrp(p->pgrp) && |
pgrp | 368 | kernel/exit.c | has_stopped_jobs(p->pgrp)) { |
pgrp | 369 | kernel/exit.c | kill_pg(p->pgrp,SIGHUP,1); |
pgrp | 370 | kernel/exit.c | kill_pg(p->pgrp,SIGCONT,1); |
pgrp | 379 | kernel/exit.c | if (tty->pgrp > 0) |
pgrp | 380 | kernel/exit.c | kill_pg(tty->pgrp, SIGHUP, 1); |
pgrp | 381 | kernel/exit.c | tty->pgrp = -1; |
pgrp | 431 | kernel/exit.c | if (p->pgrp != current->pgrp) |
pgrp | 434 | kernel/exit.c | if (p->pgrp != -pid) |
pgrp | 83 | kernel/fork.c | if (task[i]->pid == last_pid || task[i]->pgrp == last_pid) |
pgrp | 31 | kernel/sys.c | extern int session_of_pgrp(int pgrp); |
pgrp | 44 | kernel/sys.c | who = current->pgrp; |
pgrp | 45 | kernel/sys.c | return(p->pgrp == who); |
pgrp | 374 | kernel/sys.c | task[i]->pgrp = pgid; |
pgrp | 382 | kernel/sys.c | return current->pgrp; |
pgrp | 390 | kernel/sys.c | current->session = current->pgrp = current->pid; |
pgrp | 392 | kernel/sys.c | return current->pgrp; |