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 | 756 | drivers/char/n_tty.c | if (tty->pgrp <= 0) |
pgrp | 758 | drivers/char/n_tty.c | else if (current->pgrp != tty->pgrp) { |
pgrp | 760 | drivers/char/n_tty.c | is_orphaned_pgrp(current->pgrp)) |
pgrp | 762 | drivers/char/n_tty.c | kill_pg(current->pgrp, SIGTTIN, 1); |
pgrp | 1953 | drivers/char/serial.c | (info->pgrp != current->pgrp)) |
pgrp | 2095 | 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 | 1130 | drivers/char/tty_io.c | tty->pgrp = current->pgrp; |
pgrp | 1185 | drivers/char/tty_io.c | if (tty->pgrp) |
pgrp | 1186 | drivers/char/tty_io.c | filp->f_owner = -tty->pgrp; |
pgrp | 1243 | drivers/char/tty_io.c | pid_t pgrp; |
pgrp | 1284 | drivers/char/tty_io.c | if (tty->pgrp > 0) |
pgrp | 1285 | drivers/char/tty_io.c | kill_pg(tty->pgrp, SIGWINCH, 1); |
pgrp | 1286 | drivers/char/tty_io.c | if ((real_tty->pgrp != tty->pgrp) && |
pgrp | 1287 | drivers/char/tty_io.c | (real_tty->pgrp > 0)) |
pgrp | 1288 | drivers/char/tty_io.c | kill_pg(real_tty->pgrp, SIGWINCH, 1); |
pgrp | 1356 | drivers/char/tty_io.c | tty->pgrp = current->pgrp; |
pgrp | 1369 | drivers/char/tty_io.c | put_fs_long(real_tty->pgrp, (pid_t *) arg); |
pgrp | 1379 | drivers/char/tty_io.c | pgrp = get_fs_long((pid_t *) arg); |
pgrp | 1380 | drivers/char/tty_io.c | if (pgrp < 0) |
pgrp | 1382 | drivers/char/tty_io.c | if (session_of_pgrp(pgrp) != current->session) |
pgrp | 1384 | drivers/char/tty_io.c | real_tty->pgrp = pgrp; |
pgrp | 1550 | 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 | 203 | kernel/exit.c | int session_of_pgrp(int pgrp) |
pgrp | 212 | kernel/exit.c | if (p->pgrp == pgrp) |
pgrp | 214 | kernel/exit.c | if (p->pid == pgrp) |
pgrp | 224 | kernel/exit.c | int kill_pg(int pgrp, int sig, int priv) |
pgrp | 230 | kernel/exit.c | if (sig<0 || sig>32 || pgrp<=0) |
pgrp | 233 | kernel/exit.c | if (p->pgrp == pgrp) { |
pgrp | 289 | kernel/exit.c | return(kill_pg(current->pgrp,sig,0)); |
pgrp | 315 | kernel/exit.c | int is_orphaned_pgrp(int pgrp) |
pgrp | 320 | kernel/exit.c | if ((p->pgrp != pgrp) || |
pgrp | 324 | kernel/exit.c | if ((p->p_pptr->pgrp != pgrp) && |
pgrp | 331 | kernel/exit.c | static int has_stopped_jobs(int pgrp) |
pgrp | 336 | kernel/exit.c | if (p->pgrp != pgrp) |
pgrp | 428 | kernel/exit.c | if ((current->p_pptr->pgrp != current->pgrp) && |
pgrp | 430 | kernel/exit.c | is_orphaned_pgrp(current->pgrp) && |
pgrp | 431 | kernel/exit.c | has_stopped_jobs(current->pgrp)) { |
pgrp | 432 | kernel/exit.c | kill_pg(current->pgrp,SIGHUP,1); |
pgrp | 433 | kernel/exit.c | kill_pg(current->pgrp,SIGCONT,1); |
pgrp | 465 | kernel/exit.c | if ((p->pgrp != current->pgrp) && |
pgrp | 467 | kernel/exit.c | is_orphaned_pgrp(p->pgrp) && |
pgrp | 468 | kernel/exit.c | has_stopped_jobs(p->pgrp)) { |
pgrp | 469 | kernel/exit.c | kill_pg(p->pgrp,SIGHUP,1); |
pgrp | 470 | kernel/exit.c | kill_pg(p->pgrp,SIGCONT,1); |
pgrp | 528 | kernel/exit.c | if (p->pgrp != current->pgrp) |
pgrp | 531 | kernel/exit.c | if (p->pgrp != -pid) |
pgrp | 58 | 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 | 503 | kernel/sys.c | if (tmp->pgrp == pgid && |
pgrp | 511 | kernel/sys.c | p->pgrp = pgid; |
pgrp | 520 | kernel/sys.c | return current->pgrp; |
pgrp | 523 | kernel/sys.c | return p->pgrp; |
pgrp | 530 | kernel/sys.c | return current->pgrp; |
pgrp | 538 | kernel/sys.c | current->session = current->pgrp = current->pid; |
pgrp | 540 | kernel/sys.c | return current->pgrp; |
pgrp | 374 | net/inet/af_inet.c | if (!suser() && current->pgrp != -arg && |