/macosx-10.9.5/xnu-2422.115.4/bsd/sys/ |
H A D | proc.h | 87 struct pgrp; 139 struct pgrp *p_pgrp; /* Pointer to process group. */
|
H A D | proc_internal.h | 128 pid_t s_ttypgrpid; /* tty's pgrp id */ 165 struct pgrp { struct 166 LIST_ENTRY(pgrp) pg_hash; /* Hash chain. (LL) */ 167 LIST_HEAD(, proc) pg_members; /* Pointer to pgrp members. (PGL) */ 170 int pg_jobc; /* # procs qualifying pgrp for job control (PGL) */ 174 lck_mtx_t pg_mlock; /* mutex lock to protect pgrp */ 183 #define PGRP_NULL (struct pgrp *)0 231 LIST_ENTRY(proc) p_pglist; /* List of processes in pgrp.(PGL) */ 334 struct pgrp *p_pgrp; /* Pointer to process group. (LL) */ 426 #define P_LIST_INPGRP 0x00020000 /* process is in pgrp */ [all...] |
H A D | signalvar.h | 215 void pgsignal(struct pgrp *pgrp, int sig, int checkctty);
|
/macosx-10.9.5/xnu-2422.115.4/bsd/kern/ |
H A D | proc_info.c | 510 struct pgrp * pg;
|
H A D | bsd_init.c | 205 struct pgrp pgrp0; 423 /* Initialize process and pgrp structures. */ 517 /* There is no other bsd thread this point and is safe without pgrp lock */
|
H A D | kern_proc.c | 173 static void orphanpg(struct pgrp *pg); 177 static void pgrp_add(struct pgrp * pgrp, proc_t parent, proc_t child); 179 static void pgrp_replace(proc_t p, struct pgrp *pgrp); 180 static void pgdelete_dropref(struct pgrp *pgrp); 181 extern void pg_rele_dropref(struct pgrp * pgrp); 186 struct pgrp * p 977 struct pgrp * pgrp; local 994 struct pgrp *pgrp; local 1003 pg_rele(struct pgrp * pgrp) argument 1011 pg_rele_dropref(struct pgrp * pgrp) argument 1092 struct pgrp *pgrp; local 1186 LIST_INSERT_HEAD(PGRPHASH(pgid), pgrp, pg_hash); local 1230 pgdelete_dropref(struct pgrp *pgrp) argument 1362 fixjobc(proc_t p, struct pgrp *pgrp, int entering) argument 1429 orphanpg(struct pgrp * pgrp) argument 2479 pgrp_add(struct pgrp * pgrp, struct proc * parent, struct proc * child) argument 2633 pgrp_lock(struct pgrp * pgrp) argument 2639 pgrp_unlock(struct pgrp * pgrp) argument 2660 struct pgrp * pgrp; local [all...] |
H A D | kern_resource.c | 200 struct pgrp *pg = PGRP_NULL; 203 /* returns the pgrp to ref */ 356 struct pgrp *pg = PGRP_NULL;
|
H A D | kern_sysctl.c | 1471 SYSCTL_PROC(_kern_proc, KERN_PROC_PGRP, pgrp, CTLTYPE_NODE|CTLFLAG_RD | CTLFLAG_LOCKED, 1504 struct pgrp *pg; 1564 struct pgrp *pg;
|
H A D | kern_exit.c | 467 struct pgrp * pg; 610 * Signal foreground pgrp, 1773 struct pgrp * pg; 1801 * Signal foreground pgrp,
|
H A D | tty.c | 345 struct pgrp *pg, *oldpg; 429 struct pgrp * oldpg; 458 /* drop the reference on prev session and pgrp */ 1056 struct pgrp *pg, *oldpg; 1203 case TIOCGPGRP: /* get pgrp of tty */ 1421 /* drop the reference on prev session and pgrp */ 1431 case TIOCSPGRP: { /* set pgrp of tty */ 1432 struct pgrp *pgrp = PGRP_NULL; local 1441 else if ((pgrp [all...] |
H A D | tty_ptmx.c | 664 struct pgrp * pg;
|
H A D | kern_sig.c | 1505 struct pgrp *pgrp; local 1532 pgrp = proc_pgrp(cp); 1534 pgrp = pgfind(pgid); 1535 if (pgrp == NULL) { 1548 /* PGRP_DROPREF drops the pgrp refernce */ 1549 pgrp_iterate(pgrp, PGRP_BLOCKITERATE | PGRP_DROPREF, killpg1_callback, &karg, 1565 struct pgrp *pgrp; local 1567 if (pgid && (pgrp 1601 pgsignal(struct pgrp *pgrp, int signum, int checkctty) argument [all...] |
H A D | tty_pty.c | 277 struct pgrp *pg;
|
H A D | kern_malloc.c | 145 "pgrp", /* 17 M_PGRP */ 339 { SOS(pgrp), KMZ_CREATEZONE, FALSE }, /* 17 M_PGRP */
|
/macosx-10.9.5/ruby-104/ruby/ |
H A D | process.c | 4125 rb_pid_t pgrp; local 4129 pgrp = getpgrp(); 4130 if (pgrp < 0) rb_sys_fail(0); 4131 return PIDT2NUM(pgrp); 4133 pgrp = getpgid(0); 4134 if (pgrp < 0) rb_sys_fail(0); 4135 return PIDT2NUM(pgrp); 4208 proc_setpgid(VALUE obj, VALUE pid, VALUE pgrp) argument 4214 ipgrp = NUM2PIDT(pgrp);
|
/macosx-10.9.5/top-89.1.2/ |
H A D | libtop.c | 1884 pinfo->psamp.pgrp = kinfo.kp_eproc.e_pgid;
|
H A D | libtop.h | 200 gid_t pgrp; member in struct:libtop_psamp_s
|
H A D | top.c | 156 case STATISTIC_PGRP: return COMP(a_a->pgrp, a_b->pgrp);
|
/macosx-10.9.5/Libc-997.90.3/include/ |
H A D | unistd.h | 709 int setpgrp(pid_t pid, pid_t pgrp); /* obsoleted by setpgid() */
|
/macosx-10.9.5/ksh-20/ksh/src/cmd/ksh93/sh/ |
H A D | jobs.c | 158 int tcsetpgrp(int fd,pid_t pgrp) argument 160 int pgid = pgrp; 724 * restore tty driver and pgrp
|
/macosx-10.9.5/libedit-39/src/ |
H A D | tty.c | 497 int pgrp; local 522 if (ioctl(el->el_outfd, TIOCGPGRP, &pgrp) < 0) { 528 else pgrp = -1; 530 if (pgrp >= 0 && getpgrp() != pgrp) { 533 "%s: getpgrp(%d) != pgrp(%d)\n", __func__, 534 (int)getpgrp(), (int)pgrp);
|
/macosx-10.9.5/sudo-72/src/ |
H A D | exec_pty.c | 414 ppgrp = getpgrp(); /* parent's pgrp, so child can signal us */ 905 * in the foreground, assign its pgrp to the tty. 1141 pid_t pgrp; local 1145 if ((pgrp = tcgetpgrp(dst)) != -1) 1146 killpg(pgrp, SIGWINCH);
|
H A D | pp | 2203 pgrp="${2:-$1}" \
|
/macosx-10.9.5/OpenSSH-186/openssh/contrib/aix/ |
H A D | buildbff.sh | 221 mkuser gecos='SSHD PrivSep User' login=false rlogin=false account_locked=true pgrp=$SSH_PRIVSEP_USER $SSH_PRIVSEP_USER
|
/macosx-10.9.5/OpenSSH-186/openssh/openbsd-compat/ |
H A D | bsd-nextstep.c | 75 int tcsetpgrp(int fd, pid_t pgrp) argument 77 return (ioctl(fd, TIOCSPGRP, &pgrp));
|