/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/scripting/ |
H A D | tst.pgid.d | 41 printf("The pgid is %d\n", $pgid);
|
/freebsd-11-stable/lib/libc/compat-43/ |
H A D | setpgrp.c | 40 setpgrp(pid_t pid, pid_t pgid) argument 42 return(setpgid(pid, pgid));
|
H A D | killpg.c | 44 killpg(pid_t pgid, int sig) argument 46 if (pgid == 1) { 50 return (kill(-pgid, sig));
|
/freebsd-11-stable/share/examples/hast/ |
H A D | ucarp_down.sh | 49 pgid=`pgrep -f ucarp_up.sh | head -1` 50 [ -n "${pgid}" ] || break 51 kill -${sig} -- -${pgid} 55 if [ -n "${pgid}" ]; then
|
/freebsd-11-stable/sys/sys/ |
H A D | sigio.h | 55 pid_t sio_pgid; /* (c) pgid for signals */ 63 int fsetown(pid_t pgid, struct sigio **sigiop);
|
H A D | signalvar.h | 366 void gsignal(int pgid, int sig, ksiginfo_t *ksi);
|
H A D | proc.h | 946 #define PGRPHASH(pgid) (&pgrphashtbl[(pgid) & pgrphash]) 1008 int enterpgrp(struct proc *p, pid_t pgid, struct pgrp *pgrp,
|
/freebsd-11-stable/release/picobsd/tinyware/aps/ |
H A D | main.c | 49 char *pgid, *sid, *tty, *cred; local 67 pgid=strtok(NULL,sep);
|
/freebsd-11-stable/sys/fs/procfs/ |
H A D | procfs_status.c | 74 int pid, ppid, pgid, sid; local 80 pgid = p->p_pgrp->pg_id; 85 /* comm pid ppid pgid sid tty ctty,sldr start ut st wmsg 96 sbuf_printf(sb, " %d %d %d %d ", pid, ppid, pgid, sid);
|
/freebsd-11-stable/cddl/usr.sbin/dtrace/tests/common/scripting/ |
H A D | Makefile | 28 tst.pgid.d \
|
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | port-aix.c | 432 getgrouplist(const char *user, gid_t pgid, gid_t *groups, int *grpcnt) argument 451 groups[ngroups++] = pgid; 461 if (gid == pgid)
|
/freebsd-11-stable/usr.sbin/fmtree/ |
H A D | create.c | 284 statd(FTS *t, FTSENT *parent, uid_t *puid, gid_t *pgid, mode_t *pmode, u_long *pflags) argument 293 gid_t savegid = *pgid; 353 (((keys & F_GNAME) | (keys & F_GID)) && (*pgid != savegid)) || 395 *pgid = savegid;
|
/freebsd-11-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-hfa.h | 149 uint64_t pgid:6; member in struct:__anon8540::__anon8542 151 uint64_t pgid:6;
|
/freebsd-11-stable/contrib/mtree/ |
H A D | create.c | 332 statd(FILE *fp, FTS *t, FTSENT *parent, uid_t *puid, gid_t *pgid, mode_t *pmode, argument 350 savegid = *pgid; 400 ((keys & (F_GNAME | F_GID)) && (*pgid != savegid)) || 434 *pgid = savegid;
|
/freebsd-11-stable/sys/kern/ |
H A D | kern_prot.c | 379 * if pgid != pid 380 * there must exist some pid in same session having pgid (EPERM) 386 int pgid; /* target pgrp id */ member in struct:setpgid_args 399 if (uap->pgid < 0) 439 if (uap->pgid == 0) 440 uap->pgid = targp->p_pid; 441 if ((pgrp = pgfind(uap->pgid)) == NULL) { 442 if (uap->pgid == targp->p_pid) { 443 error = enterpgrp(targp, uap->pgid, newpgrp,
|
H A D | kern_proc.c | 378 pgfind(pgid) 379 register pid_t pgid; 385 LIST_FOREACH(pgrp, PGRPHASH(pgid), pg_hash) { 386 if (pgrp->pg_id == pgid) { 455 * pgid must be equal to the pid of p. 459 enterpgrp(p, pgid, pgrp, sess) 461 pid_t pgid; 469 KASSERT(p->p_pid == pgid, 470 ("enterpgrp: new pgrp and pid != pgid")); 471 KASSERT(pgfind(pgid) [all...] |
H A D | kern_sig.c | 106 static int killpg1(struct thread *td, int sig, int pgid, int all, 1690 killpg1(struct thread *td, int sig, int pgid, int all, ksiginfo_t *ksi) argument 1723 if (pgid == 0) { 1725 * zero pgid means send to my process group. 1730 pgrp = pgfind(pgid); 1843 int pgid; member in struct:okillpg_args 1854 AUDIT_ARG_PID(uap->pgid); 1863 return (killpg1(td, uap->signum, uap->pgid, 0, &ksi)); 1924 gsignal(int pgid, int sig, ksiginfo_t *ksi) argument 1928 if (pgid ! [all...] |
H A D | kern_descrip.c | 1043 fsetown(pid_t pgid, struct sigio **sigiop) argument 1050 if (pgid == 0) { 1059 sigio->sio_pgid = pgid; 1064 if (pgid > 0) { 1065 proc = pfind(pgid); 1086 } else /* if (pgid < 0) */ { 1087 pgrp = pgfind(-pgid); 1110 if (pgid > 0) { 1151 pid_t pgid; local 1154 pgid [all...] |
H A D | uipc_syscalls.c | 357 pid_t pgid; local 437 pgid = fgetown(&head->so_sigio); 438 if (pgid != 0) 439 fsetown(pgid, &so->so_sigio);
|
/freebsd-11-stable/sys/i386/ibcs2/ |
H A D | ibcs2_misc.c | 940 sa.pgid = 0; 953 sa.pgid = uap->pgid;
|
H A D | ibcs2_proto.h | 149 char pgid_l_[PADL_(int)]; int pgid; char pgid_r_[PADR_(int)]; member in struct:ibcs2_pgrpsys_args
|
/freebsd-11-stable/contrib/gdb/gdb/ |
H A D | go32-nat.c | 1957 tcsetpgrp (int fd, pid_t pgid) argument 1959 if (isatty (fd) && pgid == SOME_PID) 1961 errno = pgid == SOME_PID ? ENOTTY : ENOSYS;
|
/freebsd-11-stable/contrib/llvm-project/compiler-rt/include/sanitizer/ |
H A D | netbsd_syscall_hooks.h | 432 #define __sanitizer_syscall_pre_setpgid(pid, pgid) \ 433 __sanitizer_syscall_pre_impl_setpgid((long long)(pid), (long long)(pgid)) 434 #define __sanitizer_syscall_post_setpgid(res, pid, pgid) \ 436 (long long)(pgid)) 764 #define __sanitizer_syscall_pre_compat_43_okillpg(pgid, signum) \ 765 __sanitizer_syscall_pre_impl_compat_43_okillpg((long long)(pgid), \ 767 #define __sanitizer_syscall_post_compat_43_okillpg(res, pgid, signum) \ 768 __sanitizer_syscall_post_impl_compat_43_okillpg(res, (long long)(pgid), \ 3056 void __sanitizer_syscall_pre_impl_setpgid(long long pid, long long pgid); 3058 long long pgid); [all...] |
/freebsd-11-stable/sys/security/mac_lomac/ |
H A D | mac_lomac.c | 501 pid_t pgid; local 559 pgid = p->p_pgrp->pg_id; /* XXX could be stale? */ 564 subjlabeltext, p->p_pid, pgid, curthread->td_ucred->cr_uid, 570 subjlabeltext, p->p_pid, pgid, curthread->td_ucred->cr_uid,
|
/freebsd-11-stable/contrib/openbsm/bsm/ |
H A D | libbsm.h | 413 u_int32_t pgid; member in struct:__anon3947
|