tag | line | file | source code |
pgrp | 2415 | drivers/char/cyclades.c | (info->pgrp != current->pgrp)){ |
pgrp | 2588 | drivers/char/cyclades.c | info->pgrp = current->pgrp; |
pgrp | 2896 | drivers/char/cyclades.c | info->session, info->pgrp, (long)info->open_wait); |
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 | 420 | drivers/char/n_tty.c | if (!is_orphaned_pgrp(tty->pgrp)) |
pgrp | 766 | drivers/char/n_tty.c | if (tty->pgrp <= 0) |
pgrp | 768 | drivers/char/n_tty.c | else if (current->pgrp != tty->pgrp) { |
pgrp | 770 | drivers/char/n_tty.c | is_orphaned_pgrp(current->pgrp)) |
pgrp | 772 | drivers/char/n_tty.c | kill_pg(current->pgrp, SIGTTIN, 1); |
pgrp | 2151 | drivers/char/serial.c | (info->pgrp != current->pgrp)) |
pgrp | 2299 | drivers/char/serial.c | info->pgrp = current->pgrp; |
pgrp | 276 | drivers/char/tty_io.c | if (tty->pgrp <= 0) { |
pgrp | 280 | drivers/char/tty_io.c | if (current->pgrp == tty->pgrp) |
pgrp | 284 | drivers/char/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
pgrp | 286 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp,SIGTTOU,1); |
pgrp | 398 | drivers/char/tty_io.c | if (tty->pgrp > 0) |
pgrp | 399 | drivers/char/tty_io.c | p->tty_old_pgrp = tty->pgrp; |
pgrp | 406 | drivers/char/tty_io.c | tty->pgrp = -1; |
pgrp | 457 | drivers/char/tty_io.c | if (tty->pgrp > 0) { |
pgrp | 458 | drivers/char/tty_io.c | kill_pg(tty->pgrp, SIGHUP, priv); |
pgrp | 459 | drivers/char/tty_io.c | kill_pg(tty->pgrp, SIGCONT, priv); |
pgrp | 464 | drivers/char/tty_io.c | tty->pgrp = -1; |
pgrp | 703 | drivers/char/tty_io.c | (tty->pgrp > 0) && |
pgrp | 705 | drivers/char/tty_io.c | (tty->pgrp != current->pgrp)) |
pgrp | 706 | drivers/char/tty_io.c | if (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp)) |
pgrp | 709 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp, SIGTTIN, 1); |
pgrp | 739 | drivers/char/tty_io.c | if (!is_console && L_TOSTOP(tty) && (tty->pgrp > 0) && |
pgrp | 740 | drivers/char/tty_io.c | (current->tty == tty) && (tty->pgrp != current->pgrp)) { |
pgrp | 741 | drivers/char/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
pgrp | 744 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp, SIGTTOU, 1); |
pgrp | 1193 | drivers/char/tty_io.c | tty->pgrp = current->pgrp; |
pgrp | 1248 | drivers/char/tty_io.c | if (tty->pgrp) |
pgrp | 1249 | drivers/char/tty_io.c | filp->f_owner = -tty->pgrp; |
pgrp | 1308 | drivers/char/tty_io.c | pid_t pgrp; |
pgrp | 1349 | drivers/char/tty_io.c | if (tty->pgrp > 0) |
pgrp | 1350 | drivers/char/tty_io.c | kill_pg(tty->pgrp, SIGWINCH, 1); |
pgrp | 1351 | drivers/char/tty_io.c | if ((real_tty->pgrp != tty->pgrp) && |
pgrp | 1352 | drivers/char/tty_io.c | (real_tty->pgrp > 0)) |
pgrp | 1353 | drivers/char/tty_io.c | kill_pg(real_tty->pgrp, SIGWINCH, 1); |
pgrp | 1422 | drivers/char/tty_io.c | tty->pgrp = current->pgrp; |
pgrp | 1435 | drivers/char/tty_io.c | put_user(real_tty->pgrp, (pid_t *) arg); |
pgrp | 1445 | drivers/char/tty_io.c | pgrp = get_user((pid_t *) arg); |
pgrp | 1446 | drivers/char/tty_io.c | if (pgrp < 0) |
pgrp | 1448 | drivers/char/tty_io.c | if (session_of_pgrp(pgrp) != current->session) |
pgrp | 1450 | drivers/char/tty_io.c | real_tty->pgrp = pgrp; |
pgrp | 1635 | drivers/char/tty_io.c | tty->pgrp = -1; |
pgrp | 1014 | fs/binfmt_elf.c | psinfo.pr_pgrp = prstatus.pr_pgrp = current->pgrp; |
pgrp | 142 | fs/fcntl.c | if (current->pgrp == -arg || current->pid == arg) |
pgrp | 147 | fs/fcntl.c | (p->pgrp == -arg)) { |
pgrp | 429 | fs/proc/array.c | tty_pgrp = (*p)->tty->pgrp; |
pgrp | 439 | fs/proc/array.c | (*p)->pgrp, |
pgrp | 50 | include/linux/cyclades.h | long pgrp; /* pgrp of opening process */ |
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 | 164 | include/linux/sched.h | int pid,pgrp,tty_old_pgrp,session,leader; |
pgrp | 137 | include/linux/serial.h | long pgrp; /* pgrp of opening process */ |
pgrp | 204 | include/linux/tty.h | int pgrp; |
pgrp | 299 | 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 | 402 | kernel/exit.c | if ((current->p_pptr->pgrp != current->pgrp) && |
pgrp | 404 | kernel/exit.c | is_orphaned_pgrp(current->pgrp) && |
pgrp | 405 | kernel/exit.c | has_stopped_jobs(current->pgrp)) { |
pgrp | 406 | kernel/exit.c | kill_pg(current->pgrp,SIGHUP,1); |
pgrp | 407 | kernel/exit.c | kill_pg(current->pgrp,SIGCONT,1); |
pgrp | 439 | kernel/exit.c | if ((p->pgrp != current->pgrp) && |
pgrp | 441 | kernel/exit.c | is_orphaned_pgrp(p->pgrp) && |
pgrp | 442 | kernel/exit.c | has_stopped_jobs(p->pgrp)) { |
pgrp | 443 | kernel/exit.c | kill_pg(p->pgrp,SIGHUP,1); |
pgrp | 444 | kernel/exit.c | kill_pg(p->pgrp,SIGCONT,1); |
pgrp | 502 | kernel/exit.c | if (p->pgrp != current->pgrp) |
pgrp | 505 | kernel/exit.c | if (p->pgrp != -pid) |
pgrp | 52 | 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 | 500 | kernel/sys.c | if (tmp->pgrp == pgid && |
pgrp | 508 | kernel/sys.c | p->pgrp = pgid; |
pgrp | 517 | kernel/sys.c | return current->pgrp; |
pgrp | 520 | kernel/sys.c | return p->pgrp; |
pgrp | 527 | kernel/sys.c | return current->pgrp; |
pgrp | 535 | kernel/sys.c | current->session = current->pgrp = current->pid; |
pgrp | 538 | kernel/sys.c | return current->pgrp; |
pgrp | 416 | net/ipv4/af_inet.c | if (!suser() && current->pgrp != -arg && |
pgrp | 1299 | net/ipv4/af_inet.c | if (current->pid != pid && current->pgrp != -pid && !suser()) |