tag | line | file | source code |
pgrp | 809 | arch/sparc/kernel/sys_sunos.c | asmlinkage int sunos_killpg(int pgrp, int sig) |
pgrp | 811 | arch/sparc/kernel/sys_sunos.c | return kill_pg(pgrp, sig, 0); |
pgrp | 2481 | drivers/char/cyclades.c | (info->pgrp != current->pgrp)){ |
pgrp | 2655 | drivers/char/cyclades.c | info->pgrp = current->pgrp; |
pgrp | 3159 | drivers/char/cyclades.c | info->session, info->pgrp, (long)info->open_wait); |
pgrp | 272 | drivers/char/istallion.c | long pgrp; |
pgrp | 965 | drivers/char/istallion.c | (portp->pgrp != current->pgrp)) |
pgrp | 989 | 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 | 2250 | drivers/char/serial.c | (info->pgrp != current->pgrp)) |
pgrp | 2406 | drivers/char/serial.c | info->pgrp = current->pgrp; |
pgrp | 247 | drivers/char/stallion.c | long pgrp; |
pgrp | 750 | drivers/char/stallion.c | (portp->pgrp != current->pgrp)) |
pgrp | 774 | 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 | 807 | drivers/isdn/isdn_tty.c | (info->pgrp != current->pgrp)) |
pgrp | 943 | drivers/isdn/isdn_tty.c | info->pgrp = current->pgrp; |
pgrp | 1054 | fs/binfmt_elf.c | psinfo.pr_pgrp = prstatus.pr_pgrp = current->pgrp; |
pgrp | 1961 | 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 | 677 | fs/proc/array.c | tty_pgrp = tsk->tty->pgrp; |
pgrp | 695 | fs/proc/array.c | tsk->pgrp, |
pgrp | 95 | include/linux/cyclades.h | long pgrp; /* pgrp of opening process */ |
pgrp | 378 | include/linux/isdn.h | long pgrp; /* pgrp of opening process */ |
pgrp | 51 | include/linux/kernel.h | extern int session_of_pgrp(int pgrp); |
pgrp | 54 | include/linux/kernel.h | extern int kill_pg(int pgrp, int sig, int priv); |
pgrp | 199 | include/linux/sched.h | int pgrp; |
pgrp | 158 | 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 | 209 | kernel/exit.c | int session_of_pgrp(int pgrp) |
pgrp | 218 | kernel/exit.c | if (p->pgrp == pgrp) |
pgrp | 220 | kernel/exit.c | if (p->pid == pgrp) |
pgrp | 230 | kernel/exit.c | int kill_pg(int pgrp, int sig, int priv) |
pgrp | 236 | kernel/exit.c | if (sig<0 || sig>32 || pgrp<=0) |
pgrp | 239 | kernel/exit.c | if (p->pgrp == pgrp) { |
pgrp | 295 | kernel/exit.c | return(kill_pg(current->pgrp,sig,0)); |
pgrp | 321 | kernel/exit.c | int is_orphaned_pgrp(int pgrp) |
pgrp | 326 | kernel/exit.c | if ((p->pgrp != pgrp) || |
pgrp | 330 | kernel/exit.c | if ((p->p_pptr->pgrp != pgrp) && |
pgrp | 337 | kernel/exit.c | static inline int has_stopped_jobs(int pgrp) |
pgrp | 342 | kernel/exit.c | if (p->pgrp != pgrp) |
pgrp | 457 | kernel/exit.c | if ((current->p_pptr->pgrp != current->pgrp) && |
pgrp | 459 | kernel/exit.c | is_orphaned_pgrp(current->pgrp) && |
pgrp | 460 | kernel/exit.c | has_stopped_jobs(current->pgrp)) { |
pgrp | 461 | kernel/exit.c | kill_pg(current->pgrp,SIGHUP,1); |
pgrp | 462 | kernel/exit.c | kill_pg(current->pgrp,SIGCONT,1); |
pgrp | 494 | kernel/exit.c | if ((p->pgrp != current->pgrp) && |
pgrp | 496 | kernel/exit.c | is_orphaned_pgrp(p->pgrp) && |
pgrp | 497 | kernel/exit.c | has_stopped_jobs(p->pgrp)) { |
pgrp | 498 | kernel/exit.c | kill_pg(p->pgrp,SIGHUP,1); |
pgrp | 499 | kernel/exit.c | kill_pg(p->pgrp,SIGCONT,1); |
pgrp | 579 | kernel/exit.c | if (p->pgrp != current->pgrp) |
pgrp | 582 | kernel/exit.c | if (p->pgrp != -pid) |
pgrp | 71 | kernel/fork.c | p->pgrp == last_pid || |
pgrp | 53 | kernel/sys.c | who = current->pgrp; |
pgrp | 54 | kernel/sys.c | return(p->pgrp == who); |
pgrp | 652 | kernel/sys.c | if (tmp->pgrp == pgid && |
pgrp | 660 | kernel/sys.c | p->pgrp = pgid; |
pgrp | 669 | kernel/sys.c | return current->pgrp; |
pgrp | 672 | kernel/sys.c | return p->pgrp; |
pgrp | 679 | kernel/sys.c | return current->pgrp; |
pgrp | 700 | kernel/sys.c | current->session = current->pgrp = current->pid; |
pgrp | 703 | kernel/sys.c | return current->pgrp; |
pgrp | 364 | mm/vmscan.c | current->pgrp = 1; |
pgrp | 441 | net/ipv4/af_inet.c | if (!suser() && current->pgrp != -arg && |
pgrp | 1210 | net/ipv4/af_inet.c | if (current->pid != pid && current->pgrp != -pid && !suser()) |