/freebsd-13-stable/lib/libc/compat-43/ |
H A D | setpgrp.c | 42 setpgrp(pid_t pid, pid_t pgid) argument 44 return(setpgid(pid, pgid));
|
H A D | killpg.c | 46 killpg(pid_t pgid, int sig) argument 48 if (pgid == 1) { 52 return (kill(-pgid, sig));
|
/freebsd-13-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-13-stable/share/examples/hast/ |
H A D | ucarp_down.sh | 51 pgid=`pgrep -f ucarp_up.sh | head -1` 52 [ -n "${pgid}" ] || break 53 kill -${sig} -- -${pgid} 57 if [ -n "${pgid}" ]; then
|
/freebsd-13-stable/sys/sys/ |
H A D | sigio.h | 57 pid_t sio_pgid; /* (c) pgid for signals */ 65 int fsetown(pid_t pgid, struct sigio **sigiop);
|
H A D | proc.h | 1012 #define PGRPHASH(pgid) (&pgrphashtbl[(pgid) & pgrphash]) 1084 int enterpgrp(struct proc *p, pid_t pgid, struct pgrp *pgrp,
|
H A D | signalvar.h | 386 void gsignal(int pgid, int sig, ksiginfo_t *ksi);
|
/freebsd-13-stable/contrib/kyua/utils/process/ |
H A D | operations.cpp | 211 /// \param pgid PID or process group ID to terminate. 213 process::terminate_group(const int pgid) argument 215 (void)::killpg(pgid, SIGKILL); 216 (void)::kill(pgid, SIGKILL);
|
/freebsd-13-stable/sys/fs/procfs/ |
H A D | procfs_status.c | 76 int pid, ppid, pgid, sid; local 82 pgid = p->p_pgrp->pg_id; 87 /* comm pid ppid pgid sid tty ctty,sldr start ut st wmsg 98 sbuf_printf(sb, " %d %d %d %d ", pid, ppid, pgid, sid);
|
/freebsd-13-stable/cddl/usr.sbin/dtrace/tests/common/scripting/ |
H A D | Makefile | 28 tst.pgid.d \
|
/freebsd-13-stable/sys/contrib/openzfs/module/os/freebsd/zfs/ |
H A D | spa_os.c | 85 uint64_t pgid; local 156 &pgid) == 0); 161 VERIFY(nvlist_add_uint64(nvroot, ZPOOL_CONFIG_GUID, pgid) == 0);
|
/freebsd-13-stable/crypto/openssh/openbsd-compat/ |
H A D | port-aix.c | 440 getgrouplist(const char *user, gid_t pgid, gid_t *groups, int *grpcnt) argument 459 groups[ngroups++] = pgid; 469 if (gid == pgid)
|
/freebsd-13-stable/usr.sbin/fmtree/ |
H A D | create.c | 286 statd(FTS *t, FTSENT *parent, uid_t *puid, gid_t *pgid, mode_t *pmode, u_long *pflags) argument 295 gid_t savegid = *pgid; 355 (((keys & F_GNAME) | (keys & F_GID)) && (*pgid != savegid)) || 397 *pgid = savegid;
|
/freebsd-13-stable/sys/contrib/octeon-sdk/ |
H A D | cvmx-hfa.h | 149 uint64_t pgid:6; member in struct:__anon10120::__anon10122 151 uint64_t pgid:6;
|
/freebsd-13-stable/contrib/mtree/ |
H A D | create.c | 334 statd(FILE *fp, FTS *t, FTSENT *parent, uid_t *puid, gid_t *pgid, mode_t *pmode, argument 352 savegid = *pgid; 402 ((keys & (F_GNAME | F_GID)) && (*pgid != savegid)) || 436 *pgid = savegid;
|
/freebsd-13-stable/sys/kern/ |
H A D | kern_prot.c | 369 * if pgid != pid 370 * there must exist some pid in same session having pgid (EPERM) 376 int pgid; /* target pgrp id */ member in struct:setpgid_args 389 if (uap->pgid < 0) 429 if (uap->pgid == 0) 430 uap->pgid = targp->p_pid; 431 if ((pgrp = pgfind(uap->pgid)) == NULL) { 432 if (uap->pgid == targp->p_pid) { 433 error = enterpgrp(targp, uap->pgid, newpgrp,
|
H A D | kern_sig.c | 107 static int killpg1(struct thread *td, int sig, int pgid, int all, 1743 killpg1(struct thread *td, int sig, int pgid, int all, ksiginfo_t *ksi) argument 1766 if (pgid == 0) { 1768 * zero pgid means send to my process group. 1773 pgrp = pgfind(pgid); 1878 int pgid; member in struct:okillpg_args 1889 AUDIT_ARG_PID(uap->pgid); 1898 return (killpg1(td, uap->signum, uap->pgid, 0, &ksi)); 1957 gsignal(int pgid, int sig, ksiginfo_t *ksi) argument 1961 if (pgid ! [all...] |
H A D | kern_descrip.c | 1146 fsetown(pid_t pgid, struct sigio **sigiop) argument 1153 if (pgid == 0) { 1161 sigio->sio_pgid = pgid; 1168 if (pgid > 0) { 1169 proc = pfind(pgid); 1192 } else /* if (pgid < 0) */ { 1193 pgrp = pgfind(-pgid); 1239 pid_t pgid; local 1242 pgid = (*sigiop != NULL) ? (*sigiop)->sio_pgid : 0; 1244 return (pgid); [all...] |
H A D | uipc_syscalls.c | 329 pid_t pgid; local 372 pgid = fgetown(&head->so_sigio); 373 if (pgid != 0) 374 fsetown(pgid, &so->so_sigio);
|
H A D | kern_proc.c | 488 pgfind(pid_t pgid) argument 494 LIST_FOREACH(pgrp, PGRPHASH(pgid), pg_hash) { 495 if (pgrp->pg_id == pgid) { 570 * pgid must be equal to the pid of p. 574 enterpgrp(struct proc *p, pid_t pgid, struct pgrp *pgrp, struct session *sess) argument 580 KASSERT(p->p_pid == pgid, 581 ("enterpgrp: new pgrp and pid != pgid")); 582 KASSERT(pgfind(pgid) == NULL, 583 ("enterpgrp: pgrp with pgid exists")); 613 pgrp->pg_id = pgid; [all...] |
/freebsd-13-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...] |
H A D | linux_syscall_hooks.h | 140 #define __sanitizer_syscall_pre_setpgid(pid, pgid) \ 141 __sanitizer_syscall_pre_impl_setpgid((long)(pid), (long)(pgid)) 142 #define __sanitizer_syscall_post_setpgid(res, pid, pgid) \ 143 __sanitizer_syscall_post_impl_setpgid(res, (long)(pid), (long)(pgid)) 2080 void __sanitizer_syscall_pre_impl_setpgid(long pid, long pgid); 2081 void __sanitizer_syscall_post_impl_setpgid(long res, long pid, long pgid);
|
/freebsd-13-stable/contrib/openbsm/bsm/ |
H A D | libbsm.h | 416 u_int32_t pgid; member in struct:__anon5786
|
/freebsd-13-stable/sys/security/mac_lomac/ |
H A D | mac_lomac.c | 502 pid_t pgid; local 560 pgid = p->p_pgrp->pg_id; /* XXX could be stale? */ 565 subjlabeltext, p->p_pid, pgid, curthread->td_ucred->cr_uid, 571 subjlabeltext, p->p_pid, pgid, curthread->td_ucred->cr_uid,
|
/freebsd-13-stable/contrib/ofed/libcxgb4/ |
H A D | t4fw_api.h | 2401 __be32 pgid; member in struct:fw_port_cmd::fw_port::fw_port_dcb::fw_port_dcb_pgid 2403 } pgid; member in union:fw_port_cmd::fw_port::fw_port_dcb
|