/linux-2.4.37.9/kernel/ |
D | exit.c | 81 int session_of_pgrp(int pgrp) in session_of_pgrp() argument 91 if (p->pgrp == pgrp) { in session_of_pgrp() 95 if (p->pid == pgrp) in session_of_pgrp() 110 static int will_become_orphaned_pgrp(int pgrp, struct task_struct * ignored_task) in will_become_orphaned_pgrp() argument 116 if ((p == ignored_task) || (p->pgrp != pgrp) || in will_become_orphaned_pgrp() 120 if ((p->p_pptr->pgrp != pgrp) && in will_become_orphaned_pgrp() 130 int is_orphaned_pgrp(int pgrp) in is_orphaned_pgrp() argument 132 return will_become_orphaned_pgrp(pgrp, 0); in is_orphaned_pgrp() 135 static inline int has_stopped_jobs(int pgrp) in has_stopped_jobs() argument 142 if (p->pgrp != pgrp) in has_stopped_jobs() [all …]
|
D | capability.c | 79 static void cap_set_pg(int pgrp, in cap_set_pg() argument 89 if (target->pgrp != pgrp) in cap_set_pg()
|
D | sys.c | 205 who = current->pgrp; in proc_sel() 206 return(p->pgrp == who); in proc_sel() 866 if (tmp->pgrp == pgid && in sys_setpgid() 874 p->pgrp = pgid; in sys_setpgid() 885 return current->pgrp; in sys_getpgid() 895 retval = p->pgrp; in sys_getpgid() 904 return current->pgrp; in sys_getpgrp() 933 if (p->pgrp == current->pid) in sys_setsid() 938 current->session = current->pgrp = current->pid; in sys_setsid() 941 err = current->pgrp; in sys_setsid()
|
D | signal.c | 626 kill_pg_info(int sig, struct siginfo *info, pid_t pgrp) in kill_pg_info() argument 629 if (pgrp > 0) { in kill_pg_info() 635 if (p->pgrp == pgrp && thread_group_leader(p)) { in kill_pg_info() 706 return kill_pg_info(sig, info, current->pgrp); in kill_something_info() 746 kill_pg(pid_t pgrp, int sig, int priv) in kill_pg() argument 748 return kill_pg_info(sig, (void *)(long)(priv != 0), pgrp); in kill_pg()
|
D | fork.c | 109 p->pgrp == last_pid || in get_pid() 125 if(p->pgrp > last_pid && next_safe > p->pgrp) in get_pid() 126 next_safe = p->pgrp; in get_pid()
|
/linux-2.4.37.9/drivers/char/ |
D | tty_io.c | 630 if (tty->pgrp <= 0) { in tty_check_change() 634 if (current->pgrp == tty->pgrp) in tty_check_change() 638 if (is_orphaned_pgrp(current->pgrp)) in tty_check_change() 640 (void) kill_pg(current->pgrp,SIGTTOU,1); in tty_check_change() 828 if (tty->pgrp > 0) in do_tty_hangup() 829 p->tty_old_pgrp = tty->pgrp; in do_tty_hangup() 838 tty->pgrp = -1; in do_tty_hangup() 913 tty_pgrp = tty->pgrp; in disassociate_ctty() 931 tty->pgrp = -1; in disassociate_ctty() 995 (tty->pgrp > 0) && in tty_read() [all …]
|
D | riscom8.h | 78 long pgrp; member
|
D | specialix_io8.h | 117 long pgrp; member
|
D | n_tty.c | 512 if (tty->pgrp > 0) in isig() 513 kill_pg(tty->pgrp, sig, 1); in isig() 1139 if (tty->pgrp <= 0) in job_control() 1141 else if (current->pgrp != tty->pgrp) { in job_control() 1143 is_orphaned_pgrp(current->pgrp)) in job_control() 1145 kill_pg(current->pgrp, SIGTTIN, 1); in job_control()
|
D | pcxx.h | 82 long pgrp; member
|
D | epca.h | 128 long pgrp; member
|
/linux-2.4.37.9/fs/autofs/ |
D | inode.c | 50 static int parse_options(char *options, int *pipefd, uid_t *uid, gid_t *gid, pid_t *pgrp, int *minp… in parse_options() argument 56 *pgrp = current->pgrp; in parse_options() 90 *pgrp = simple_strtoul(value,&value,0); in parse_options() 132 sbi->oz_pgrp = current->pgrp; in autofs_read_super()
|
D | autofs_i.h | 120 return sbi->catatonic || current->pgrp == sbi->oz_pgrp; in autofs_oz_mode()
|
/linux-2.4.37.9/fs/autofs4/ |
D | inode.c | 101 pid_t *pgrp, int *minproto, int *maxproto) in parse_options() argument 107 *pgrp = current->pgrp; in parse_options() 142 *pgrp = simple_strtoul(value,&value,0); in parse_options() 197 sbi->oz_pgrp = current->pgrp; in autofs4_read_super()
|
D | autofs_i.h | 114 return sbi->catatonic || current->pgrp == sbi->oz_pgrp; in autofs4_oz_mode()
|
/linux-2.4.37.9/include/net/irda/ |
D | ircomm_tty.h | 106 long pgrp; /* pgrp of opening process */ member
|
/linux-2.4.37.9/drivers/sbus/char/ |
D | aurora.h | 251 long pgrp; member
|
/linux-2.4.37.9/arch/cris/drivers/ |
D | serial.h | 90 long pgrp; /* pgrp of opening process */ member
|
/linux-2.4.37.9/include/linux/ |
D | stallion.h | 88 long pgrp; member
|
D | istallion.h | 70 long pgrp; member
|
D | generic_serial.h | 44 long pgrp; member
|
D | hayesesp.h | 100 long pgrp; /* pgrp of opening process */ member
|
D | serial167.h | 47 long pgrp; /* pgrp of opening process */ member
|
D | serialP.h | 83 long pgrp; /* pgrp of opening process */ member
|
/linux-2.4.37.9/drivers/char/ip2/ |
D | i2lib.h | 95 int pgrp; // Defined in tty.h member
|