tag | line | file | source code |
pgrp | 792 | arch/sparc/kernel/sys_sunos.c | asmlinkage int sunos_killpg(int pgrp, int sig) |
pgrp | 794 | arch/sparc/kernel/sys_sunos.c | return kill_pg(pgrp, sig, 0); |
pgrp | 2475 | drivers/char/cyclades.c | (info->pgrp != current->pgrp)){ |
pgrp | 2649 | drivers/char/cyclades.c | info->pgrp = current->pgrp; |
pgrp | 3154 | drivers/char/cyclades.c | info->session, info->pgrp, (long)info->open_wait); |
pgrp | 263 | drivers/char/istallion.c | long pgrp; |
pgrp | 949 | drivers/char/istallion.c | (portp->pgrp != current->pgrp)) |
pgrp | 973 | drivers/char/istallion.c | portp->pgrp = current->pgrp; |
pgrp | 295 | drivers/char/n_tty.c | if (tty->pgrp > 0) |
pgrp | 296 | drivers/char/n_tty.c | kill_pg(tty->pgrp, sig, 1); |
pgrp | 427 | drivers/char/n_tty.c | if (!is_orphaned_pgrp(tty->pgrp)) |
pgrp | 775 | drivers/char/n_tty.c | if (tty->pgrp <= 0) |
pgrp | 777 | drivers/char/n_tty.c | else if (current->pgrp != tty->pgrp) { |
pgrp | 779 | drivers/char/n_tty.c | is_orphaned_pgrp(current->pgrp)) |
pgrp | 781 | drivers/char/n_tty.c | kill_pg(current->pgrp, SIGTTIN, 1); |
pgrp | 2246 | drivers/char/serial.c | (info->pgrp != current->pgrp)) |
pgrp | 2402 | drivers/char/serial.c | info->pgrp = current->pgrp; |
pgrp | 236 | drivers/char/stallion.c | long pgrp; |
pgrp | 703 | drivers/char/stallion.c | (portp->pgrp != current->pgrp)) |
pgrp | 727 | drivers/char/stallion.c | portp->pgrp = current->pgrp; |
pgrp | 301 | drivers/char/tty_io.c | if (tty->pgrp <= 0) { |
pgrp | 305 | drivers/char/tty_io.c | if (current->pgrp == tty->pgrp) |
pgrp | 309 | drivers/char/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
pgrp | 311 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp,SIGTTOU,1); |
pgrp | 424 | drivers/char/tty_io.c | if (tty->pgrp > 0) |
pgrp | 425 | drivers/char/tty_io.c | p->tty_old_pgrp = tty->pgrp; |
pgrp | 432 | drivers/char/tty_io.c | tty->pgrp = -1; |
pgrp | 489 | drivers/char/tty_io.c | if (tty->pgrp > 0) { |
pgrp | 490 | drivers/char/tty_io.c | kill_pg(tty->pgrp, SIGHUP, on_exit); |
pgrp | 491 | drivers/char/tty_io.c | kill_pg(tty->pgrp, SIGCONT, on_exit); |
pgrp | 496 | drivers/char/tty_io.c | tty->pgrp = -1; |
pgrp | 735 | drivers/char/tty_io.c | (tty->pgrp > 0) && |
pgrp | 737 | drivers/char/tty_io.c | (tty->pgrp != current->pgrp)) |
pgrp | 738 | drivers/char/tty_io.c | if (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp)) |
pgrp | 741 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp, SIGTTIN, 1); |
pgrp | 771 | drivers/char/tty_io.c | if (!is_console && L_TOSTOP(tty) && (tty->pgrp > 0) && |
pgrp | 772 | drivers/char/tty_io.c | (current->tty == tty) && (tty->pgrp != current->pgrp)) { |
pgrp | 773 | drivers/char/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
pgrp | 776 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp, SIGTTOU, 1); |
pgrp | 1230 | drivers/char/tty_io.c | tty->pgrp = current->pgrp; |
pgrp | 1315 | drivers/char/tty_io.c | if (tty->pgrp) |
pgrp | 1316 | drivers/char/tty_io.c | filp->f_owner = -tty->pgrp; |
pgrp | 1368 | drivers/char/tty_io.c | pid_t pgrp; |
pgrp | 1409 | drivers/char/tty_io.c | if (tty->pgrp > 0) |
pgrp | 1410 | drivers/char/tty_io.c | kill_pg(tty->pgrp, SIGWINCH, 1); |
pgrp | 1411 | drivers/char/tty_io.c | if ((real_tty->pgrp != tty->pgrp) && |
pgrp | 1412 | drivers/char/tty_io.c | (real_tty->pgrp > 0)) |
pgrp | 1413 | drivers/char/tty_io.c | kill_pg(real_tty->pgrp, SIGWINCH, 1); |
pgrp | 1482 | drivers/char/tty_io.c | tty->pgrp = current->pgrp; |
pgrp | 1495 | drivers/char/tty_io.c | put_user(real_tty->pgrp, (pid_t *) arg); |
pgrp | 1505 | drivers/char/tty_io.c | pgrp = get_user((pid_t *) arg); |
pgrp | 1506 | drivers/char/tty_io.c | if (pgrp < 0) |
pgrp | 1508 | drivers/char/tty_io.c | if (session_of_pgrp(pgrp) != current->session) |
pgrp | 1510 | drivers/char/tty_io.c | real_tty->pgrp = pgrp; |
pgrp | 1706 | drivers/char/tty_io.c | tty->pgrp = -1; |
pgrp | 1060 | fs/binfmt_elf.c | psinfo.pr_pgrp = prstatus.pr_pgrp = current->pgrp; |
pgrp | 1944 | fs/buffer.c | current->pgrp = 1; |
pgrp | 132 | fs/fcntl.c | if (current->pgrp == -arg || current->pid == arg) |
pgrp | 137 | fs/fcntl.c | (p->pgrp == -arg)) { |
pgrp | 499 | fs/proc/array.c | tty_pgrp = tsk->tty->pgrp; |
pgrp | 517 | fs/proc/array.c | tsk->pgrp, |
pgrp | 95 | 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 | 201 | include/linux/sched.h | int pgrp; |
pgrp | 157 | include/linux/serial.h | long pgrp; /* pgrp of opening process */ |
pgrp | 204 | include/linux/tty.h | int pgrp; |
pgrp | 303 | include/linux/tty.h | extern int is_orphaned_pgrp(int pgrp); |
pgrp | 208 | kernel/exit.c | int session_of_pgrp(int pgrp) |
pgrp | 217 | kernel/exit.c | if (p->pgrp == pgrp) |
pgrp | 219 | kernel/exit.c | if (p->pid == pgrp) |
pgrp | 229 | kernel/exit.c | int kill_pg(int pgrp, int sig, int priv) |
pgrp | 235 | kernel/exit.c | if (sig<0 || sig>32 || pgrp<=0) |
pgrp | 238 | kernel/exit.c | if (p->pgrp == pgrp) { |
pgrp | 294 | kernel/exit.c | return(kill_pg(current->pgrp,sig,0)); |
pgrp | 320 | kernel/exit.c | int is_orphaned_pgrp(int pgrp) |
pgrp | 325 | kernel/exit.c | if ((p->pgrp != pgrp) || |
pgrp | 329 | kernel/exit.c | if ((p->p_pptr->pgrp != pgrp) && |
pgrp | 336 | kernel/exit.c | static inline int has_stopped_jobs(int pgrp) |
pgrp | 341 | kernel/exit.c | if (p->pgrp != pgrp) |
pgrp | 456 | kernel/exit.c | if ((current->p_pptr->pgrp != current->pgrp) && |
pgrp | 458 | kernel/exit.c | is_orphaned_pgrp(current->pgrp) && |
pgrp | 459 | kernel/exit.c | has_stopped_jobs(current->pgrp)) { |
pgrp | 460 | kernel/exit.c | kill_pg(current->pgrp,SIGHUP,1); |
pgrp | 461 | kernel/exit.c | kill_pg(current->pgrp,SIGCONT,1); |
pgrp | 493 | kernel/exit.c | if ((p->pgrp != current->pgrp) && |
pgrp | 495 | kernel/exit.c | is_orphaned_pgrp(p->pgrp) && |
pgrp | 496 | kernel/exit.c | has_stopped_jobs(p->pgrp)) { |
pgrp | 497 | kernel/exit.c | kill_pg(p->pgrp,SIGHUP,1); |
pgrp | 498 | kernel/exit.c | kill_pg(p->pgrp,SIGCONT,1); |
pgrp | 577 | kernel/exit.c | if (p->pgrp != current->pgrp) |
pgrp | 580 | kernel/exit.c | if (p->pgrp != -pid) |
pgrp | 71 | kernel/fork.c | p->pgrp == last_pid || |
pgrp | 47 | kernel/sys.c | who = current->pgrp; |
pgrp | 48 | kernel/sys.c | return(p->pgrp == who); |
pgrp | 542 | kernel/sys.c | if (tmp->pgrp == pgid && |
pgrp | 550 | kernel/sys.c | p->pgrp = pgid; |
pgrp | 559 | kernel/sys.c | return current->pgrp; |
pgrp | 562 | kernel/sys.c | return p->pgrp; |
pgrp | 569 | kernel/sys.c | return current->pgrp; |
pgrp | 590 | kernel/sys.c | current->session = current->pgrp = current->pid; |
pgrp | 593 | kernel/sys.c | return current->pgrp; |
pgrp | 365 | mm/vmscan.c | current->pgrp = 1; |
pgrp | 453 | net/ipv4/af_inet.c | if (!suser() && current->pgrp != -arg && |
pgrp | 1266 | net/ipv4/af_inet.c | if (current->pid != pid && current->pgrp != -pid && !suser()) |