tag | line | file | source code |
pgrp | 2446 | drivers/char/cyclades.c | (info->pgrp != current->pgrp)){ |
pgrp | 2620 | drivers/char/cyclades.c | info->pgrp = current->pgrp; |
pgrp | 3098 | drivers/char/cyclades.c | info->session, info->pgrp, (long)info->open_wait); |
pgrp | 269 | drivers/char/istallion.c | long pgrp; |
pgrp | 955 | drivers/char/istallion.c | (portp->pgrp != current->pgrp)) |
pgrp | 979 | drivers/char/istallion.c | portp->pgrp = current->pgrp; |
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 | 2166 | drivers/char/serial.c | (info->pgrp != current->pgrp)) |
pgrp | 2314 | drivers/char/serial.c | info->pgrp = current->pgrp; |
pgrp | 240 | drivers/char/stallion.c | long pgrp; |
pgrp | 748 | drivers/char/stallion.c | (portp->pgrp != current->pgrp)) |
pgrp | 772 | drivers/char/stallion.c | portp->pgrp = current->pgrp; |
pgrp | 278 | drivers/char/tty_io.c | if (tty->pgrp <= 0) { |
pgrp | 282 | drivers/char/tty_io.c | if (current->pgrp == tty->pgrp) |
pgrp | 286 | drivers/char/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
pgrp | 288 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp,SIGTTOU,1); |
pgrp | 400 | drivers/char/tty_io.c | if (tty->pgrp > 0) |
pgrp | 401 | drivers/char/tty_io.c | p->tty_old_pgrp = tty->pgrp; |
pgrp | 408 | drivers/char/tty_io.c | tty->pgrp = -1; |
pgrp | 459 | drivers/char/tty_io.c | if (tty->pgrp > 0) { |
pgrp | 460 | drivers/char/tty_io.c | kill_pg(tty->pgrp, SIGHUP, priv); |
pgrp | 461 | drivers/char/tty_io.c | kill_pg(tty->pgrp, SIGCONT, priv); |
pgrp | 466 | drivers/char/tty_io.c | tty->pgrp = -1; |
pgrp | 705 | drivers/char/tty_io.c | (tty->pgrp > 0) && |
pgrp | 707 | drivers/char/tty_io.c | (tty->pgrp != current->pgrp)) |
pgrp | 708 | drivers/char/tty_io.c | if (is_ignored(SIGTTIN) || is_orphaned_pgrp(current->pgrp)) |
pgrp | 711 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp, SIGTTIN, 1); |
pgrp | 741 | drivers/char/tty_io.c | if (!is_console && L_TOSTOP(tty) && (tty->pgrp > 0) && |
pgrp | 742 | drivers/char/tty_io.c | (current->tty == tty) && (tty->pgrp != current->pgrp)) { |
pgrp | 743 | drivers/char/tty_io.c | if (is_orphaned_pgrp(current->pgrp)) |
pgrp | 746 | drivers/char/tty_io.c | (void) kill_pg(current->pgrp, SIGTTOU, 1); |
pgrp | 1195 | drivers/char/tty_io.c | tty->pgrp = current->pgrp; |
pgrp | 1280 | drivers/char/tty_io.c | if (tty->pgrp) |
pgrp | 1281 | drivers/char/tty_io.c | filp->f_owner = -tty->pgrp; |
pgrp | 1333 | drivers/char/tty_io.c | pid_t pgrp; |
pgrp | 1374 | drivers/char/tty_io.c | if (tty->pgrp > 0) |
pgrp | 1375 | drivers/char/tty_io.c | kill_pg(tty->pgrp, SIGWINCH, 1); |
pgrp | 1376 | drivers/char/tty_io.c | if ((real_tty->pgrp != tty->pgrp) && |
pgrp | 1377 | drivers/char/tty_io.c | (real_tty->pgrp > 0)) |
pgrp | 1378 | drivers/char/tty_io.c | kill_pg(real_tty->pgrp, SIGWINCH, 1); |
pgrp | 1447 | drivers/char/tty_io.c | tty->pgrp = current->pgrp; |
pgrp | 1460 | drivers/char/tty_io.c | put_user(real_tty->pgrp, (pid_t *) arg); |
pgrp | 1470 | drivers/char/tty_io.c | pgrp = get_user((pid_t *) arg); |
pgrp | 1471 | drivers/char/tty_io.c | if (pgrp < 0) |
pgrp | 1473 | drivers/char/tty_io.c | if (session_of_pgrp(pgrp) != current->session) |
pgrp | 1475 | drivers/char/tty_io.c | real_tty->pgrp = pgrp; |
pgrp | 1660 | drivers/char/tty_io.c | tty->pgrp = -1; |
pgrp | 1042 | 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 | 437 | fs/proc/array.c | tty_pgrp = tsk->tty->pgrp; |
pgrp | 447 | fs/proc/array.c | tsk->pgrp, |
pgrp | 72 | 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 | 173 | 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 | 305 | include/linux/tty.h | extern int is_orphaned_pgrp(int pgrp); |
pgrp | 206 | kernel/exit.c | int session_of_pgrp(int pgrp) |
pgrp | 215 | kernel/exit.c | if (p->pgrp == pgrp) |
pgrp | 217 | kernel/exit.c | if (p->pid == pgrp) |
pgrp | 227 | kernel/exit.c | int kill_pg(int pgrp, int sig, int priv) |
pgrp | 233 | kernel/exit.c | if (sig<0 || sig>32 || pgrp<=0) |
pgrp | 236 | kernel/exit.c | if (p->pgrp == pgrp) { |
pgrp | 292 | kernel/exit.c | return(kill_pg(current->pgrp,sig,0)); |
pgrp | 318 | kernel/exit.c | int is_orphaned_pgrp(int pgrp) |
pgrp | 323 | kernel/exit.c | if ((p->pgrp != pgrp) || |
pgrp | 327 | kernel/exit.c | if ((p->p_pptr->pgrp != pgrp) && |
pgrp | 334 | kernel/exit.c | static int has_stopped_jobs(int pgrp) |
pgrp | 339 | kernel/exit.c | if (p->pgrp != pgrp) |
pgrp | 439 | kernel/exit.c | if ((current->p_pptr->pgrp != current->pgrp) && |
pgrp | 441 | kernel/exit.c | is_orphaned_pgrp(current->pgrp) && |
pgrp | 442 | kernel/exit.c | has_stopped_jobs(current->pgrp)) { |
pgrp | 443 | kernel/exit.c | kill_pg(current->pgrp,SIGHUP,1); |
pgrp | 444 | kernel/exit.c | kill_pg(current->pgrp,SIGCONT,1); |
pgrp | 476 | kernel/exit.c | if ((p->pgrp != current->pgrp) && |
pgrp | 478 | kernel/exit.c | is_orphaned_pgrp(p->pgrp) && |
pgrp | 479 | kernel/exit.c | has_stopped_jobs(p->pgrp)) { |
pgrp | 480 | kernel/exit.c | kill_pg(p->pgrp,SIGHUP,1); |
pgrp | 481 | kernel/exit.c | kill_pg(p->pgrp,SIGCONT,1); |
pgrp | 554 | kernel/exit.c | if (p->pgrp != current->pgrp) |
pgrp | 557 | kernel/exit.c | if (p->pgrp != -pid) |
pgrp | 53 | 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 | 417 | net/ipv4/af_inet.c | if (!suser() && current->pgrp != -arg && |
pgrp | 1291 | net/ipv4/af_inet.c | if (current->pid != pid && current->pgrp != -pid && !suser()) |