/freebsd-13-stable/crypto/openssh/contrib/redhat/ |
H A D | sshd.init | 13 # pidfile: /var/run/sshd.pid 26 PID_FILE=/var/run/sshd.pid
|
/freebsd-13-stable/crypto/openssh/openbsd-compat/ |
H A D | bsd-misc.c | 240 getpgid(pid_t pid) argument 243 return getpgrp(pid); 245 if (pid == 0) 305 getsid(pid_t pid) argument
|
/freebsd-13-stable/share/examples/libusb20/ |
H A D | control.c | 309 unsigned int vid = UINT_MAX, pid = UINT_MAX; /* impossible VID:PID */ local 342 pid = strtol(optarg, NULL, 0); 356 if (vid != UINT_MAX || pid != UINT_MAX) 412 if (ddp->idVendor == vid && ddp->idProduct == pid)
|
/freebsd-13-stable/usr.bin/truss/ |
H A D | truss.h | 101 pid_t pid; member in struct:procinfo
|
H A D | syscalls.c | 1119 get_struct(pid_t pid, uintptr_t offset, void *buf, int len) argument 1127 if (ptrace(PT_IO, pid, (caddr_t)&iorequest, 0) < 0) 1140 get_string(pid_t pid, uintptr_t addr, int max) argument 1164 if (ptrace(PT_IO, pid, (caddr_t)&iorequest, 0) < 0) { 1267 pid_t pid = trussinfo->curthread->proc->pid; local 1280 if (get_struct(pid, arg, sa, len) == -1) { 1334 pid_t pid = trussinfo->curthread->proc->pid; local 1348 if (get_struct(pid, ar 1635 print_cmsgs(FILE *fp, pid_t pid, bool receive, struct msghdr *msghdr) argument 1734 pid_t pid; local [all...] |
/freebsd-13-stable/usr.sbin/rpc.statd/ |
H A D | file.c | 308 pid_t pid; local 322 pid = fork(); 323 if (pid == -1) 328 if (pid) return;
|
/freebsd-13-stable/sys/ofed/drivers/infiniband/core/ |
H A D | ib_umem.c | 128 umem->pid = get_pid(task_pid(current)); 220 put_pid(umem->pid); 263 task = get_pid_task(umem->pid, PIDTYPE_PID); 264 put_pid(umem->pid);
|
/freebsd-13-stable/sys/ofed/include/rdma/ |
H A D | ib_umem.h | 54 pid_t pid; member in struct:ib_umem
|
/freebsd-13-stable/usr.bin/time/ |
H A D | time.c | 81 pid_t pid; local 126 switch(pid = fork()) { 141 while (wait4(pid, &status, 0, &ru) != pid) {
|
/freebsd-13-stable/tools/regression/netinet/ip_id_period/ |
H A D | ip_id_period.py | 45 os.kill(tcpdump.pid, signal.SIGTERM)
|
/freebsd-13-stable/tools/regression/priv/ |
H A D | priv_sched_rtprio.c | 314 pid_t pid; local 319 pid = waitpid(childproc, NULL, 0); 320 if (pid == -1) 323 if (pid == childproc)
|
/freebsd-13-stable/lib/libc/gen/ |
H A D | posix_spawn.c | 253 do_posix_spawn(pid_t *pid, const char *path, argument 340 else if (pid != NULL) 342 *pid = p; 347 posix_spawn(pid_t *pid, const char *path, argument 352 return do_posix_spawn(pid, path, fa, sa, argv, envp, 0); 356 posix_spawnp(pid_t *pid, const char *path, argument 361 return do_posix_spawn(pid, path, fa, sa, argv, envp, 1);
|
/freebsd-13-stable/contrib/atf/atf-c/detail/ |
H A D | process.c | 392 const pid_t pid, 402 c->m_pid = pid; 462 pid_t pid; local 472 pid = fork(); 473 if (pid == -1) { 478 if (pid == 0) { 484 err = do_parent(c, pid, &outsp, &errsp); 391 do_parent(atf_process_child_t *c, const pid_t pid, const stream_prepare_t *outsp, const stream_prepare_t *errsp) argument
|
H A D | process_test.c | 582 pid_t pid; local 585 pid = fork(); 586 ATF_REQUIRE(pid != -1); 587 if (pid == 0) { 592 ATF_REQUIRE(waitpid(pid, &status, 0) != 0); 701 const pid_t pid = getpid(); local 702 if (write(STDOUT_FILENO, &pid, sizeof(pid)) != sizeof(pid)) 711 atf_tc_set_md_var(tc, "descr", "Tests the correctness of the pid " 719 pid_t pid; local 729 ATF_CHECK_EQ(atf_process_child_pid(&child), pid); local [all...] |
/freebsd-13-stable/contrib/wpa/src/utils/ |
H A D | os_internal.c | 505 pid_t pid; local 508 pid = fork(); 509 if (pid < 0) { 514 if (pid == 0) { 550 waitpid(pid, &pid_status, 0);
|
/freebsd-13-stable/bin/mv/ |
H A D | mv.c | 379 int pid, status; local 400 if (!(pid = vfork())) { 405 if (waitpid(pid, &status, 0) == -1) { 427 if (!(pid = vfork())) { 431 if (waitpid(pid, &status, 0) == -1) {
|
/freebsd-13-stable/contrib/ntp/libntp/ |
H A D | msyslog.c | 155 int pid; local 187 /* syslog() adds the timestamp, name, and pid */ 193 pid = getpid(); 195 pid = -1; 210 fprintf(term_file, "%s[%d]: ", prog, pid); 218 fprintf(syslog_file, "%s[%d]: %s%s", prog, pid, msg,
|
/freebsd-13-stable/tools/tools/netrate/tcpp/ |
H A D | tcpp_client.c | 273 pid_t pid; local 296 pid = fork(); 297 if (pid < 0) { 305 if (pid == 0) { 309 pid_list[i] = pid;
|
/freebsd-13-stable/usr.bin/cpuset/ |
H A D | cpuset.c | 238 static const char *whichnames[] = { NULL, "tid", "pid", "cpuset", "irq", "jail", 292 pid_t pid; local 300 id = pid = tid = setid = -1; 339 id = pid = atoi(optarg); 433 if (cpuset_setid(CPU_WHICH_PID, pid, setid)) 437 * to effect the pid and not the set. 440 id = pid; 463 " cpuset [-l cpu-list] [-n policy:domain-list] [-s setid] -p pid\n"); 465 " cpuset [-c] [-l cpu-list] [-n policy:domain-list] -C -p pid\n"); 468 " [-j jailid | -p pid | [all...] |
/freebsd-13-stable/crypto/heimdal/lib/ipc/ |
H A D | server.c | 212 pid_t pid; local 225 audit_token_to_au32(client_creds, NULL, &uid, &gid, NULL, NULL, &pid, &session, NULL); 227 kr = _heim_ipc_create_cred(uid, gid, pid, session, &s->cred); 267 pid_t pid; local 276 audit_token_to_au32(client_creds, NULL, &uid, &gid, NULL, NULL, &pid, &session, NULL); 278 kr = _heim_ipc_create_cred(uid, gid, pid, session, &s->cred); 476 pid_t pid; member in struct:client::__anon6765 508 c->unixrights.pid = 0; 523 c->unixrights.pid = 0; 537 c->unixrights.pid [all...] |
/freebsd-13-stable/sys/dev/hwpmc/ |
H A D | hwpmc_logging.c | 923 PMCDBG3(LOG,SAM,1,"pm=%p pid=%d n=%d", pm, ps->ps_pid, 955 pmclog_process_map_in(struct pmc_owner *po, pid_t pid, uintfptr_t start, argument 967 PMCLOG_EMIT32(pid); 975 pmclog_process_map_out(struct pmc_owner *po, pid_t pid, uintfptr_t start, argument 981 PMCLOG_EMIT32(pid); 1026 pmclog_process_pmcattach(struct pmc *pm, pid_t pid, char *path) argument 1031 PMCDBG2(LOG,ATT,1,"pm=%p pid=%d", pm, pid); 1040 PMCLOG_EMIT32(pid); 1046 pmclog_process_pmcdetach(struct pmc *pm, pid_t pid) argument 1105 pmclog_process_procexec(struct pmc_owner *po, pmc_id_t pmid, pid_t pid, uintfptr_t startaddr, char *path) argument 1163 pmclog_process_sysexit(struct pmc_owner *po, pid_t pid) argument [all...] |
/freebsd-13-stable/contrib/bmake/ |
H A D | job.c | 520 debug_printf("job %d, status %d, flags %s, pid %d\n", 521 (int)(job - job_table), job->status, flags, job->pid); 622 signo, job->pid); 623 KILLPG(job->pid, signo); 735 JobFindPid(int pid, JobStatus status, Boolean isJobs) argument 740 if (job->status == status && job->pid == pid) 744 job_table_dump("no pid"); 1115 DEBUG2(JOB, "Process %d [%s] exited.\n", job->pid, job->node->name); 1165 job->pid, jo 1987 int pid; /* pid of dead child */ local 2011 JobReapChild(pid_t pid, WAIT_T status, Boolean isJobs) argument [all...] |
/freebsd-13-stable/lib/libprocstat/ |
H A D | libprocstat.c | 129 static Elf_Auxinfo *procstat_getauxv_sysctl(pid_t pid, unsigned int *cntp); 163 static gid_t *procstat_getgroups_sysctl(pid_t pid, unsigned int *count); 164 static struct kinfo_kstack *procstat_getkstack_sysctl(pid_t pid, 170 static int procstat_getosrel_sysctl(pid_t pid, int *osrelp); 173 static int procstat_getpathname_sysctl(pid_t pid, char *pathname, 179 static int procstat_getrlimit_sysctl(pid_t pid, int which, 185 static int procstat_getumask_sysctl(pid_t pid, unsigned short *maskp); 426 warnx("can't read proc struct at %p for pid %d", 435 warnx("can't read pgrp struct at %p for pid %d", 442 warnx("can't read session struct at %p for pid 2034 procstat_getgroups_sysctl(pid_t pid, unsigned int *cntp) argument 2115 procstat_getumask_sysctl(pid_t pid, unsigned short *maskp) argument 2195 procstat_getrlimit_sysctl(pid_t pid, int which, struct rlimit* rlimit) argument 2259 procstat_getpathname_sysctl(pid_t pid, char *pathname, size_t maxlen) argument 2339 procstat_getosrel_sysctl(pid_t pid, int *osrelp) argument 2398 is_elf32_sysctl(pid_t pid) argument 2420 procstat_getauxv32_sysctl(pid_t pid, unsigned int *cntp) argument 2469 procstat_getauxv_sysctl(pid_t pid, unsigned int *cntp) argument 2586 procstat_getkstack_sysctl(pid_t pid, int *cntp) argument [all...] |
/freebsd-13-stable/sys/ddb/ |
H A D | db_command.c | 672 db_expr_t old_radix, pid, sig; local 687 if (!db_expression(&pid)) 699 if (p->p_pid == pid) 703 DB_ERROR(("Can't find process with pid %ld\n", (long) pid)); 707 DB_ERROR(("Can't lock process with pid %ld\n", (long) pid)); 802 pid_t pid; local 837 pid = td->td_proc->p_pid; 839 pid [all...] |
/freebsd-13-stable/sys/compat/linux/ |
H A D | linux_time.c | 264 pid_t pid; local 283 pid = LINUX_CPUCLOCK_ID(args->which); 286 pid = 0; 288 if (pid == 0) { 292 error = pget(pid, PGET_CANSEE, &p); 441 pid_t pid; local 472 pid = LINUX_CPUCLOCK_ID(args->which); 473 if (pid != 0) { 474 error = pget(pid, PGET_CANSEE, &p);
|