tag | line | file | source code |
pgrp | 288 | drivers/char/n_tty.c | if (tty->pgrp > 0) |
pgrp | 289 | drivers/char/n_tty.c | kill_pg(tty->pgrp, sig, 1); |
pgrp | 410 | drivers/char/n_tty.c | if (!is_orphaned_pgrp(tty->pgrp)) |
pgrp | 755 | drivers/char/n_tty.c | if (tty->pgrp <= 0) |
pgrp | 757 | drivers/char/n_tty.c | else if (current->pgrp != tty->pgrp) { |
pgrp | 759 | drivers/char/n_tty.c | is_orphaned_pgrp(current->pgrp)) |
pgrp | 761 | drivers/char/n_tty.c | kill_pg(current->pgrp, SIGTTIN, 1); |
pgrp | 1887 | drivers/char/serial.c | (info->pgrp != current->pgrp)) |
pgrp | 2029 | drivers/char/serial.c | info->pgrp = current->pgrp; |
pgrp | 242 | drivers/char/tty_io.c | if (tty->pgrp <= 0) { |
pgrp | 246 | drivers/char/tty_io.c | if (current->pgrp == tty->pgrp) |
pgrp | 250 | drivers/char/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
pgrp | 252 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp,SIGTTOU,1); |
pgrp | 364 | drivers/char/tty_io.c | tty->pgrp = -1; |
pgrp | 414 | drivers/char/tty_io.c | if (tty->pgrp > 0) { |
pgrp | 415 | drivers/char/tty_io.c | kill_pg(tty->pgrp, SIGHUP, priv); |
pgrp | 416 | drivers/char/tty_io.c | kill_pg(tty->pgrp, SIGCONT, priv); |
pgrp | 419 | drivers/char/tty_io.c | tty->pgrp = -1; |
pgrp | 654 | drivers/char/tty_io.c | (tty->pgrp > 0) && |
pgrp | 656 | drivers/char/tty_io.c | (tty->pgrp != current->pgrp)) |
pgrp | 657 | drivers/char/tty_io.c | if (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp)) |
pgrp | 660 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp, SIGTTIN, 1); |
pgrp | 690 | drivers/char/tty_io.c | if (!is_console && L_TOSTOP(tty) && (tty->pgrp > 0) && |
pgrp | 691 | drivers/char/tty_io.c | (current->tty == tty) && (tty->pgrp != current->pgrp)) { |
pgrp | 692 | drivers/char/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
pgrp | 695 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp, SIGTTOU, 1); |
pgrp | 1124 | drivers/char/tty_io.c | tty->pgrp = current->pgrp; |
pgrp | 1179 | drivers/char/tty_io.c | if (tty->pgrp) |
pgrp | 1180 | drivers/char/tty_io.c | filp->f_owner = -tty->pgrp; |
pgrp | 1237 | drivers/char/tty_io.c | pid_t pgrp; |
pgrp | 1278 | drivers/char/tty_io.c | if (tty->pgrp > 0) |
pgrp | 1279 | drivers/char/tty_io.c | kill_pg(tty->pgrp, SIGWINCH, 1); |
pgrp | 1280 | drivers/char/tty_io.c | if ((real_tty->pgrp != tty->pgrp) && |
pgrp | 1281 | drivers/char/tty_io.c | (real_tty->pgrp > 0)) |
pgrp | 1282 | drivers/char/tty_io.c | kill_pg(real_tty->pgrp, SIGWINCH, 1); |
pgrp | 1350 | drivers/char/tty_io.c | tty->pgrp = current->pgrp; |
pgrp | 1363 | drivers/char/tty_io.c | put_fs_long(real_tty->pgrp, (pid_t *) arg); |
pgrp | 1373 | drivers/char/tty_io.c | pgrp = get_fs_long((pid_t *) arg); |
pgrp | 1374 | drivers/char/tty_io.c | if (pgrp < 0) |
pgrp | 1376 | drivers/char/tty_io.c | if (session_of_pgrp(pgrp) != current->session) |
pgrp | 1378 | drivers/char/tty_io.c | real_tty->pgrp = pgrp; |
pgrp | 1543 | drivers/char/tty_io.c | tty->pgrp = -1; |
pgrp | 142 | fs/fcntl.c | if (current->pgrp == -arg || current->pid != arg) |
pgrp | 147 | fs/fcntl.c | (p->pgrp == -arg)) { |
pgrp | 320 | fs/proc/array.c | tty_pgrp = (*p)->tty->pgrp; |
pgrp | 330 | fs/proc/array.c | (*p)->pgrp, |
pgrp | 48 | include/linux/kernel.h | extern int session_of_pgrp(int pgrp); |
pgrp | 51 | include/linux/kernel.h | extern int kill_pg(int pgrp, int sig, int priv); |
pgrp | 266 | include/linux/sched.h | int pid,pgrp,session,leader; |
pgrp | 107 | include/linux/serial.h | long pgrp; /* pgrp of opening process */ |
pgrp | 199 | include/linux/tty.h | int pgrp; |
pgrp | 296 | include/linux/tty.h | extern int is_orphaned_pgrp(int pgrp); |
pgrp | 204 | kernel/exit.c | int session_of_pgrp(int pgrp) |
pgrp | 213 | kernel/exit.c | if (p->pgrp == pgrp) |
pgrp | 215 | kernel/exit.c | if (p->pid == pgrp) |
pgrp | 225 | kernel/exit.c | int kill_pg(int pgrp, int sig, int priv) |
pgrp | 231 | kernel/exit.c | if (sig<0 || sig>32 || pgrp<=0) |
pgrp | 234 | kernel/exit.c | if (p->pgrp == pgrp) { |
pgrp | 290 | kernel/exit.c | return(kill_pg(current->pgrp,sig,0)); |
pgrp | 316 | kernel/exit.c | int is_orphaned_pgrp(int pgrp) |
pgrp | 321 | kernel/exit.c | if ((p->pgrp != pgrp) || |
pgrp | 325 | kernel/exit.c | if ((p->p_pptr->pgrp != pgrp) && |
pgrp | 332 | kernel/exit.c | static int has_stopped_jobs(int pgrp) |
pgrp | 337 | kernel/exit.c | if (p->pgrp != pgrp) |
pgrp | 431 | kernel/exit.c | if ((current->p_pptr->pgrp != current->pgrp) && |
pgrp | 433 | kernel/exit.c | is_orphaned_pgrp(current->pgrp) && |
pgrp | 434 | kernel/exit.c | has_stopped_jobs(current->pgrp)) { |
pgrp | 435 | kernel/exit.c | kill_pg(current->pgrp,SIGHUP,1); |
pgrp | 436 | kernel/exit.c | kill_pg(current->pgrp,SIGCONT,1); |
pgrp | 468 | kernel/exit.c | if ((p->pgrp != current->pgrp) && |
pgrp | 470 | kernel/exit.c | is_orphaned_pgrp(p->pgrp) && |
pgrp | 471 | kernel/exit.c | has_stopped_jobs(p->pgrp)) { |
pgrp | 472 | kernel/exit.c | kill_pg(p->pgrp,SIGHUP,1); |
pgrp | 473 | kernel/exit.c | kill_pg(p->pgrp,SIGCONT,1); |
pgrp | 531 | kernel/exit.c | if (p->pgrp != current->pgrp) |
pgrp | 534 | kernel/exit.c | if (p->pgrp != -pid) |
pgrp | 59 | kernel/fork.c | if (task[i]->pid == last_pid || task[i]->pgrp == last_pid || |
pgrp | 67 | kernel/sys.c | who = current->pgrp; |
pgrp | 68 | kernel/sys.c | return(p->pgrp == who); |
pgrp | 493 | kernel/sys.c | if (tmp->pgrp == pgid && |
pgrp | 501 | kernel/sys.c | p->pgrp = pgid; |
pgrp | 510 | kernel/sys.c | return current->pgrp; |
pgrp | 513 | kernel/sys.c | return p->pgrp; |
pgrp | 520 | kernel/sys.c | return current->pgrp; |
pgrp | 528 | kernel/sys.c | current->session = current->pgrp = current->pid; |
pgrp | 530 | kernel/sys.c | return current->pgrp; |
pgrp | 374 | net/inet/af_inet.c | if (!suser() && current->pgrp != -arg && |