Symbol: getpid
bin/csh/csh.c
357
doldol = putn((int) getpid()); /* For $$ */
bin/csh/csh.c
564
shpgrp = getpid();
bin/csh/dol.c
834
((int)tv.tv_nsec) ^ ((int)getpid())) & 0x00ffffff);
bin/csh/proc.c
1281
pgrp = pcurrjob ? pcurrjob->p_jobid : getpid();
bin/csh/sem.c
306
pgrp = pcurrjob ? pcurrjob->p_jobid : getpid();
bin/ksh/io.c
161
shf_fprintf(kshdebug_shf, "\nNew shell[pid %d]\n", getpid());
bin/ksh/io.c
175
shf_fprintf(kshdebug_shf, "[%d] ", getpid());
bin/ksh/io.c
192
shf_fprintf(kshdebug_shf, "[%d] %s:\n", getpid(), str);
bin/ksh/jobs.c
522
p->pid = procpid = getpid();
bin/ksh/main.c
219
kshpid = procpid = getpid();
bin/sh/error.c
175
CTRACE(DBG_ERRS, ("\") pid=%d\n", getpid()));
bin/sh/error.c
178
getpid()));
bin/sh/eval.c
282
getpid(), n, NODETYPENAME(n->type), n->type, flags));
bin/sh/jobs.c
1074
return stop_me(sig, force, pgrp, getpid());
bin/sh/jobs.c
1093
if (pid == rootpid || pid == getpid()) {
bin/sh/jobs.c
1421
getpid(), vforked?"v":"", getppid(), mode));
bin/sh/jobs.c
1454
pgrp = getpid();
bin/sh/jobs.c
616
if (mflag && gotpid != -1 && tcgetpgrp(ttyfd) != getpid()) {
bin/sh/jobs.c
617
if (tcsetpgrp(ttyfd, getpid()) == -1)
bin/sh/main.c
157
rootpid = getpid();
bin/sh/main.c
209
rootpid = getpid();
bin/sh/show.c
142
pid = getpid();
bin/sh/show.c
959
c = ((i = getpid()) == tf->pid) ? ':' : '=';
bin/sh/trap.c
897
("pid %d: exitshell(%d)\n", getpid(), status));
bin/sh/trap.c
915
getpid(), exiting ? " exiting" : "", exitstatus,
bin/sh/trap.c
976
getpid(), s));
bin/sh/trap.c
981
getpid(), exiting_status));
bin/sh/var.c
1741
random_val = (getpid()<<3) ^ time((time_t *)0);
common/lib/libc/arch/arm/gen/__aeabi_idiv0.c
56
info.si_pid = getpid();
common/lib/libc/arch/arm/gen/__aeabi_idiv0.c
59
sigqueueinfo(getpid(), &info);
common/lib/libc/arch/arm/gen/__aeabi_ldiv0.c
56
info.si_pid = getpid();
common/lib/libc/arch/arm/gen/__aeabi_ldiv0.c
59
sigqueueinfo(getpid(), &info);
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1172
SADB_SATYPE_UNSPEC, seq, getpid());
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1341
sa_parms->satype, sa_parms->seq, getpid());
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1529
getpid());
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1609
getpid());
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1680
SADB_SATYPE_UNSPEC, seq, getpid());
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
1735
SADB_SATYPE_UNSPEC, 0, getpid());
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
434
(u_int)len, satype, seq, getpid());
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
642
satype, 0, getpid());
crypto/dist/ipsec-tools/src/libipsec/pfkey.c
737
pid_t pid = getpid();
crypto/dist/ipsec-tools/src/racoon/pfkey.c
1001
if (msg->sadb_msg_pid != getpid()) {
crypto/dist/ipsec-tools/src/racoon/pfkey.c
1260
if (msg->sadb_msg_pid != getpid()) {
crypto/dist/ipsec-tools/src/racoon/pfkey.c
1536
if (msg->sadb_msg_pid != getpid()) {
crypto/dist/ipsec-tools/src/racoon/pfkey.c
1979
if (msg->sadb_msg_pid == getpid()) {
crypto/dist/ipsec-tools/src/racoon/pfkey.c
304
pid_t pid = getpid();
crypto/dist/ipsec-tools/src/racoon/pfkey.c
3539
newmsg->sadb_msg_pid = (uint32_t)getpid();
crypto/dist/ipsec-tools/src/racoon/privsep.c
195
kill(getpid(), SIGTERM);
crypto/dist/ipsec-tools/src/racoon/privsep.c
302
"racoon privileged process running with PID %d\n", getpid());
crypto/dist/ipsec-tools/src/racoon/privsep.c
883
"racoon privileged process %d terminated\n", getpid());
crypto/dist/ipsec-tools/src/racoon/session.c
279
racoon_pid = getpid();
crypto/dist/ipsec-tools/src/racoon/session.c
348
plog(LLV_INFO, LOCATION, NULL, "racoon process %d shutdown\n", getpid());
crypto/dist/ipsec-tools/src/setkey/parse.y
963
msg->sadb_msg_pid = getpid();
crypto/dist/ipsec-tools/src/setkey/setkey.c
391
msg.sadb_msg_pid = getpid();
crypto/dist/ipsec-tools/src/setkey/setkey.c
410
msg.sadb_msg_pid = getpid();
crypto/dist/ipsec-tools/src/setkey/setkey.c
505
msg.sadb_msg_pid = getpid();
crypto/dist/ipsec-tools/src/setkey/setkey.c
777
msg->sadb_msg_pid == getpid() && !priority_support_check) {
dist/pf/libexec/tftp-proxy/filter.c
204
getpid(), id);
dist/pf/libexec/tftp-proxy/filter.c
245
getpid(), id);
dist/pf/usr.sbin/authpf/authpf.c
164
luser, (long)getpid())) < 0 || (u_int)n >= sizeof(rulesetname)) {
dist/pf/usr.sbin/authpf/authpf.c
166
luser, (long)getpid(), (long)getpid());
dist/pf/usr.sbin/authpf/authpf.c
168
(long)getpid())) < 0 || (u_int)n >= sizeof(rulesetname)) {
dist/pf/usr.sbin/authpf/authpf.c
296
fprintf(pidfp, "%ld\n%s\n", (long)getpid(), luser);
dist/pf/usr.sbin/authpf/authpf.c
335
(long)getpid());
dist/pf/usr.sbin/ftp-proxy/filter.c
226
getpid(), id);
dist/pf/usr.sbin/ftp-proxy/filter.c
267
getpid(), id);
distrib/utils/more/signal.c
215
(void)kill(getpid(), SIGTSTP);
games/canfield/canfield/canfield.c
1396
kill(getpid(), SIGTSTP);
games/ching/castching/castching.c
85
seed = (int)now + getquest() + getgid() + getuid() + getpid();
games/fortune/strfile/strfile.c
441
srandom((int)(time(NULL) + getpid()));
games/hack/hack.main.c
114
hackpid = getpid();
games/hangman/setup.c
70
srand(time(NULL) + getpid());
games/hunt/huntd/driver.c
378
(void) setpgrp(getpid(), getpid());
games/larn/signal.c
137
kill(getpid(), sig); /* this will terminate us */
games/larn/signal.c
83
kill(getpid(), SIGTSTP);
games/snake/snake/snake.c
979
kill(getpid(), SIGTSTP);
games/tetris/screen.c
138
(void) kill(getpid(), sig);
games/tetris/screen.c
151
(void) kill(getpid(), sig);
games/warp/intrp.c
389
snprintf(scrbuf, sizeof(scrbuf), "%d",getpid());
games/warp/warp.c
320
srandom(getpid());
games/warp/warp.c
345
term+5,getpid());
games/worm/worm.c
116
srand(getpid());
include/unistd.h
123
pid_t getpid(void);
lib/libc/gen/lockf.c
74
if (fl.l_type == F_UNLCK || fl.l_pid == getpid())
lib/libc/gen/xsyslog.c
215
prlen = snprintf_ss(p, tbuf_left, "%d ", getpid());
lib/libc/gmon/gmon.c
434
profdir, getpid(), getprogname()) >= (int)(sizeof buf)) {
lib/libc/net/rcmd.c
213
pid = getpid();
lib/libc/resolv/res_init.c
200
ext->kqpid = getpid();
lib/libc/resolv/res_init.c
586
if (statp->_u._ext.ext->kqpid != getpid() &&
lib/libc/resolv/res_init.c
772
u16 = getpid();
lib/libc/resolv/res_init.c
831
if (ext->kq != -1 && ext->kqpid == getpid())
lib/libc/rpc/clnt_simple.c
168
if (!(rcp->valid && rcp->pid == getpid() &&
lib/libc/rpc/clnt_simple.c
182
rcp->pid = getpid();
lib/libc/rpc/svc_fdset.c
85
fprintf(stderr, "%s[%d.%d]: %s, %zu: ", getprogname(), (int)getpid(),
lib/libc/sys/sigqueue.c
56
info.si_pid = getpid();
lib/libc/yp/yplib.c
126
gpid = getpid();
lib/libcurses/PSD.doc/twinkle1.c
63
srand(getpid()); /* initialize random sequence */
lib/libcurses/PSD.doc/twinkle2.c
70
srand(getpid()); /* initialize random sequence */
lib/libm/softfloat/feraiseexcept.c
59
info.si_pid = getpid();
lib/libm/softfloat/feraiseexcept.c
71
sigqueueinfo(getpid(), &info);
lib/libpam/modules/pam_krb5/pam_krb5.c
529
l = snprintf(p, len, "%d", getpid());
lib/libpam/modules/pam_lastlog/pam_lastlog.c
287
utmpx.ut_pid = getpid();
lib/libperfuse/perfuse.c
329
_PATH_TMP, getprogname(), getpid());
lib/libpthread/pthread_misc.c
108
if (_sched_getaffinity(getpid(), thread->pt_lid, size, cpuset) < 0)
lib/libpthread/pthread_misc.c
124
if (_sched_setaffinity(getpid(), thread->pt_lid, size, cpuset) < 0)
lib/libpthread/pthread_misc.c
142
if (_sched_setparam(getpid(), thread->pt_lid, SCHED_NONE, &sp) < 0)
lib/libpthread/pthread_misc.c
73
if (_sched_getparam(getpid(), thread->pt_lid, policy, param) < 0)
lib/libpthread/pthread_misc.c
92
if (_sched_setparam(getpid(), thread->pt_lid, policy, &sp) < 0)
lib/librumpclient/rumpclient.c
876
if (init_done == (mypid = getpid()))
lib/librumpuser/rumpfiber.c
520
snprintf(buf, blen, "rump-%05d", (int)getpid());
lib/librumpuser/rumpfiber.c
523
(int)getpid(), tmp);
lib/librumpuser/rumpuser.c
205
snprintf(buf, blen, "rump-%05d", (int)getpid());
lib/librumpuser/rumpuser.c
208
(int)getpid(), tmp);
lib/libtelnet/forward.c
52
snprintf(ccname, sizeof(ccname), "FILE:/tmp/krb5cc_p%d", getpid());
lib/libutil/pidfile.c
149
else if (pid != getpid())
lib/libutil/pidfile.c
328
dprintf(pf_fd, "%ld\n", (long)getpid()) == -1) {
lib/libutil/pidlock.c
169
*locker = getpid(); /* return this process's PID on lock */
lib/libutil/pidlock.c
82
(int) getpid(), hostname) >= (int)sizeof(tempfile)) {
lib/libutil/pidlock.c
91
(void)snprintf(s, sizeof(s), "%10d\n", getpid()); /* pid */
lib/libwrap/update.c
109
(void)snprintf(request->pid, sizeof(request->pid), "%d", getpid());
libexec/ftpd/conf.c
919
mypid = getpid();
libexec/ftpd/ftpd.c
1228
utmpx.ut_pid = getpid();
libexec/ftpd/ftpd.c
3017
srand(getpid());
libexec/ftpd/ftpd.c
689
(void)snprintf(ttyline, sizeof(ttyline), "ftp%d", getpid());
libexec/ftpd/ftpd.c
727
if (fcntl(fileno(stdin), F_SETOWN, getpid()) == -1)
libexec/httpd/daemon-bozo.c
115
(void)fprintf(file, "%d\n", getpid());
libexec/httpd/daemon-bozo.c
119
pidfile_pid = getpid();
libexec/httpd/daemon-bozo.c
218
httpd->fds[idx].fd, getpid(), httpd->fds[idx].revents,
libexec/httpd/daemon-bozo.c
248
__func__, getpid(),
libexec/httpd/daemon-bozo.c
93
if (pidfile_path != NULL && pidfile_pid == getpid()) {
libexec/lfs_cleanerd/cleansrv.c
213
fcntl(control_socket, F_SETOWN, getpid());
libexec/lfs_cleanerd/coalesce.c
210
lfs_sb_getfsmnt(fs), getpid());
regress/sys/arch/arm/sigstackalign/sigstackalign.c
70
kill(getpid(), SIGUSR1);
regress/sys/fs/lfs/9994/9994_f.c
110
sprintf(buf, "test.%d", getpid());
regress/sys/fs/lfs/9994/9994_f.c
121
sprintf(buf, "%s/control.%d", ctldir, getpid());
sbin/dump/optr.c
277
(void) fprintf(stderr, "pid=%d ", getpid());
sbin/dump/optr.c
304
(void) fprintf(stderr, "pid=%d ", getpid());
sbin/dump/optr.c
322
(void) fprintf(stderr, "pid=%d ", getpid());
sbin/dump/rcache.c
306
"not happen.\n", curr->cd_owner, getpid());
sbin/dump/rcache.c
399
getpid());
sbin/dump/rcache.c
400
cdesc[idx].cd_owner = getpid();
sbin/dump/rcache.c
428
if (cdesc[idx].cd_owner != getpid())
sbin/dump/rcache.c
431
getpid(), cdesc[idx].cd_owner);
sbin/dump/rcache.c
445
if (cdesc[idx].cd_owner != getpid())
sbin/dump/rcache.c
448
getpid(), cdesc[idx].cd_owner);
sbin/dump/rcache.c
470
getpid(), nreads, (u_int) readsize, nphysread,
sbin/dump/tape.c
583
parentpid = getpid();
sbin/dump/tape.c
652
tapeno+1, parentpid, getpid());
sbin/dump/tape.c
715
if (master != 0 && master != getpid())
sbin/dump/tape.c
736
msg("pid = %d exits with status %d\n", getpid(), status);
sbin/dump/tape.c
756
master = getpid();
sbin/init/init.c
244
if (getpid() != 1)
sbin/newfs/newfs.c
709
"mfs:%d", getpid());
sbin/ping6/ping6.c
1982
(void)kill(getpid(), SIGINT);
sbin/route/prog_ops.h
94
#define prog_getpid getpid
sbin/route/route_hostops.c
49
.op_getpid = getpid,
sbin/routed/main.c
294
mypid = getpid();
sys/arch/usermode/usermode/thunk.c
1375
error = fcntl(rfb->clientfd, F_SETOWN, getpid());
sys/arch/usermode/usermode/thunk.c
576
return getpid();
sys/arch/usermode/usermode/thunk.c
831
return fcntl(fd, F_SETOWN, getpid());
sys/rump/librump/rumpkern/rump_syscalls.c
405
__weak_alias(getpid,rump___sysimpl_getpid);
tests/dev/audio/audiotest.c
4169
DPRINTF(" > %d: pid %d got SIGIO\n", __LINE__, (int)getpid());
tests/kernel/h_segv.c
136
volatile double a = getpid();
tests/kernel/kqueue/t_proc3.c
66
EV_SET(&ke, (uintptr_t)getpid(), EVFILT_PROC, EV_ADD, NOTE_TRACK, 0, 0);
tests/kernel/kqueue/t_proc4.c
93
EV_SET(&event, getpid(), EVFILT_PROC, EV_ADD,
tests/kernel/kqueue/t_sig.c
69
pid = getpid();
tests/kernel/t_lockf.c
75
srand48(getpid());
tests/kernel/t_mqueue.c
113
snprintf(mq_name, sizeof(mq_name), "/t_mqueue.%d", getpid());
tests/kernel/t_proccwd.c
73
getpid(),
tests/kernel/t_proccwd.c
87
if (t[i] == -1 || t[i] == getpid()) {
tests/lib/libc/net/h_dns_server.c
213
fprintf(f, "%d", getpid());
tests/lib/libc/setjmp/t_setjmp.c
163
i = getpid();
tests/lib/libc/setjmp/t_threadjmp.c
111
i = getpid();
tests/lib/libc/stdlib/h_atexit.c
77
kill(getpid(), SIGABRT);
tests/lib/libc/sys/t_clone.c
127
frobme[0] = (long)getpid();
tests/lib/libc/sys/t_clone.c
96
if (frobp[0] == getpid())
tests/lib/libc/sys/t_fork.c
115
if (p[i].p_pid == getpid())
tests/lib/libc/sys/t_fork.c
159
parent = getpid();
tests/lib/libc/sys/t_futex_ops.c
1468
RL(_sched_getparam(getpid(), d->threadid, &policy, &sp));
tests/lib/libc/sys/t_futex_ops.c
1471
RL(_sched_setparam(getpid(), d->threadid, policy, &sp));
tests/lib/libc/sys/t_futex_ops.c
1485
RL(_sched_getparam(getpid(), d->threadid, &policy, &sp));
tests/lib/libc/sys/t_futex_ops.c
1488
RL(_sched_setparam(getpid(), d->threadid, policy, &sp));
tests/lib/libc/sys/t_getpid.c
114
pid = getpid();
tests/lib/libc/sys/t_getpid.c
48
*(pid_t *)arg = getpid();
tests/lib/libc/sys/t_getpid.c
66
tpid = getpid();
tests/lib/libc/sys/t_getpid.c
73
cpid = getpid();
tests/lib/libc/sys/t_getsid.c
55
if (sid != getsid(getpid()))
tests/lib/libc/sys/t_kevent.c
112
printf("child (pid %d): received kq fd %d\n", getpid(), kq);
tests/lib/libc/sys/t_kevent.c
130
printf("parent (pid %d): sending kq fd %d\n", getpid(), kq);
tests/lib/libc/sys/t_kill.c
97
rv = kill(getpid(), -1);
tests/lib/libc/sys/t_ptrace.c
140
ATF_REQUIRE_ERRNO(EINVAL, ptrace(PT_ATTACH, getpid(), NULL, 0) == -1);
tests/lib/libc/sys/t_ptrace.c
225
getppid(), getpid());
tests/lib/libc/sys/t_ptrace.c
229
getppid(), getpid());
tests/lib/libc/sys/t_ptrace_amd64_wait.h
50
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_amd64_wait.h
53
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_amd64_wait.h
62
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
157
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
160
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
277
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
325
"parent=%d\n", child, getpid());
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
549
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
552
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
561
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
726
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
729
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
738
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_clone_wait.h
357
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_clone_wait.h
375
DPRINTF("Before forking process PID=%d flags=%#x\n", getpid(),
tests/lib/libc/sys/t_ptrace_clone_wait.h
380
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(),
tests/lib/libc/sys/t_ptrace_clone_wait.h
392
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_clone_wait.h
57
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_clone_wait.h
60
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_clone_wait.h
69
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(),
tests/lib/libc/sys/t_ptrace_clone_wait.h
704
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_clone_wait.h
707
DPRINTF("Before forking process PID=%d flags=%#x\n", getpid(),
tests/lib/libc/sys/t_ptrace_clone_wait.h
712
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(),
tests/lib/libc/sys/t_ptrace_clone_wait.h
724
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_clone_wait.h
81
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_core_wait.h
160
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_core_wait.h
163
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_core_wait.h
172
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_core_wait.h
195
ATF_CHECK_EQ(procinfo.cpi_ppid, getpid());
tests/lib/libc/sys/t_ptrace_eventmask_wait.h
41
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_eventmask_wait.h
44
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_eventmask_wait.h
53
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_exec_wait.h
197
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_exec_wait.h
200
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_exec_wait.h
221
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_exec_wait.h
231
name[3] = getpid();
tests/lib/libc/sys/t_ptrace_exec_wait.h
243
name[3] = getpid();
tests/lib/libc/sys/t_ptrace_exec_wait.h
50
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_exec_wait.h
53
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_exec_wait.h
75
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_exec_wait.h
85
name[3] = getpid();
tests/lib/libc/sys/t_ptrace_exec_wait.h
97
name[3] = getpid();
tests/lib/libc/sys/t_ptrace_fork_wait.h
1225
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_fork_wait.h
1228
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_fork_wait.h
1244
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1305
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_fork_wait.h
1308
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_fork_wait.h
1348
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_fork_wait.h
421
DPRINTF("Before calling PT_ATTACH from tracee %d\n", getpid());
tests/lib/libc/sys/t_ptrace_fork_wait.h
51
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_fork_wait.h
59
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_fork_wait.h
758
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_fork_wait.h
761
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_fork_wait.h
789
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_fork_wait.h
86
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_fork_wait.h
995
DPRINTF("Before calling PT_ATTACH from tracee %d\n", getpid());
tests/lib/libc/sys/t_ptrace_i386_wait.h
47
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_i386_wait.h
50
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_i386_wait.h
59
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_kill.c
60
printf("%d: born\n", getpid());
tests/lib/libc/sys/t_ptrace_kill.c
63
printf("%d: seppuku %c\n", getpid(), q);
tests/lib/libc/sys/t_ptrace_kill_wait.h
38
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_kill_wait.h
41
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_kill_wait.h
51
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_lwp_wait.h
129
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_lwp_wait.h
473
DPRINTF("Before calling PT_ATTACH from tracee %d\n", getpid());
tests/lib/libc/sys/t_ptrace_lwp_wait.h
91
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_lwp_wait.h
94
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_misc_wait.h
46
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_misc_wait.h
49
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_misc_wait.h
59
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_register_wait.h
57
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_register_wait.h
60
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_register_wait.h
69
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_sigchld.c
137
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_sigchld.c
140
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_sigchld.c
159
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_sigchld.c
81
__func__, getpid(), _lwp_self(), file, __LINE__, \
tests/lib/libc/sys/t_ptrace_siginfo_wait.h
45
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_siginfo_wait.h
48
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_siginfo_wait.h
66
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1061
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1064
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1076
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1149
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1152
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1166
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1253
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1256
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1271
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1397
parent = getpid();
tests/lib/libc/sys/t_ptrace_signal_wait.h
1429
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1432
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1456
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1538
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1541
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1569
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1620
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1623
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1655
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1706
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1709
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1743
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1873
DPRINTF("Before calling PT_ATTACH from tracee %d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
188
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
191
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
209
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
2182
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
2185
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
2202
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
303
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
306
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
323
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
401
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
404
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
432
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
539
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
542
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
577
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
758
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
761
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
798
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
80
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
83
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
958
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
961
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_signal_wait.h
978
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_signal_wait.h
99
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_step_wait.h
56
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_step_wait.h
59
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_step_wait.h
85
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
208
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_syscall_wait.h
211
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_syscall_wait.h
222
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
35
DPRINTF("Caught a signal %d in process %d\n", arg, getpid());
tests/lib/libc/sys/t_ptrace_syscall_wait.h
65
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_syscall_wait.h
68
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_syscall_wait.h
85
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_threads_wait.h
108
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_threads_wait.h
285
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_threads_wait.h
288
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_threads_wait.h
302
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_threads_wait.h
466
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_threads_wait.h
469
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_threads_wait.h
478
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_threads_wait.h
555
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_threads_wait.h
558
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_threads_wait.h
576
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_threads_wait.h
72
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_threads_wait.h
75
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_threads_wait.h
778
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_threads_wait.h
785
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_threads_wait.h
849
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_topology_wait.h
121
DPRINTF("Stop self PID %d\n", getpid());
tests/lib/libc/sys/t_ptrace_topology_wait.h
146
DPRINTF("Before calling PT_ATTACH from tracee %d\n", getpid());
tests/lib/libc/sys/t_ptrace_topology_wait.h
330
DPRINTF("Stop self PID %d\n", getpid());
tests/lib/libc/sys/t_ptrace_topology_wait.h
451
DPRINTF("Stop self PID %d\n", getpid());
tests/lib/libc/sys/t_ptrace_topology_wait.h
48
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_topology_wait.h
51
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_topology_wait.h
55
getpid(), child2);
tests/lib/libc/sys/t_ptrace_topology_wait.h
584
name[namelen++] = getpid();
tests/lib/libc/sys/t_ptrace_topology_wait.h
613
DPRINTF("Before calling PT_ATTACH from tracee %d\n", getpid());
tests/lib/libc/sys/t_ptrace_topology_wait.h
63
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_topology_wait.h
71
DPRINTF("Parent process PID=%d, child1's PID=%d\n", getpid(), child1);
tests/lib/libc/sys/t_ptrace_wait.c
104
__func__, getpid(), _lwp_self(), file, __LINE__, \
tests/lib/libc/sys/t_ptrace_wait.h
515
if (p[i].p_pid == getpid())
tests/lib/libc/sys/t_ptrace_wait.h
771
a = getpid();
tests/lib/libc/sys/t_ptrace_x86_wait.h
1123
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
1126
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
1140
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1255
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
1258
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
1272
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1387
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
1390
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
1404
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
142
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
145
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
1519
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
1522
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
1536
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
160
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1647
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
1650
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
1664
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1811
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
1814
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
1825
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
2098
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
2101
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
2128
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
3204
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
3210
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
3521
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
422
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
425
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
442
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_ptrace_x86_wait.h
78
DPRINTF("Before forking process PID=%d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
81
DPRINTF("Before calling PT_TRACE_ME from child %d\n", getpid());
tests/lib/libc/sys/t_ptrace_x86_wait.h
90
DPRINTF("Parent process PID=%d, child's PID=%d\n", getpid(), child);
tests/lib/libc/sys/t_sigaction.c
102
kill(getpid(), SIGUSR1);
tests/lib/libc/sys/t_sigaction.c
64
kill(getpid(), SIGUSR1);
tests/lib/libc/sys/t_sigaltstack.c
86
kill(getpid(), SIGUSR1);
tests/lib/libc/sys/t_sigqueue.c
176
pid = getpid();
tests/lib/libc/sys/t_sigqueue.c
94
ATF_REQUIRE_ERRNO(EINVAL, sigqueue(getpid(), -1, sv) == -1);
tests/lib/libc/termios/t_tcsetpgrp.c
67
rv = tcsetpgrp(STDIN_FILENO, getpid());
tests/lib/libc/tls/dso/h_tls_dlopen.c
49
static __thread pid_t (*local_var)(void) = getpid;
tests/lib/libc/tls/dso/h_tls_dlopen.c
59
ATF_CHECK_EQ(local_var, getpid);
tests/lib/libc/tls/t_tls_dynamic.c
78
ATF_CHECK_EQ(dso_var1, getpid);
tests/lib/libc/tls_dso/h_tls_dynamic.c
47
__thread pid_t (*dso_var1)(void) = getpid;
tests/lib/libpthread/h_atexit.c
82
kill(getpid(), SIGABRT);
tests/lib/libpthread/t_fork.c
63
if (parent != getpid()) {
tests/lib/libpthread/t_fork.c
80
parent = getpid();
tests/lib/libpthread/t_mutex.c
352
res = sched_setscheduler(getpid(), SCHED_FIFO, &param);
tests/lib/libpthread/t_mutex.c
355
res = sched_getscheduler(getpid());
tests/lib/libpthread/t_sigmask.c
123
kill(getpid(), SIGUSR1);
tests/lib/libpthread/t_sigmask.c
133
kill(getpid(), SIGUSR2);
tests/lib/libpthread/t_sigmask.c
155
kill(getpid(), SIGUSR1);
tests/lib/libpthread/t_sigmask.c
79
kill(getpid(), SIGFPE);
tests/lib/libpthread/t_sigmask.c
86
kill(getpid(), SIGUSR2);
tests/lib/librt/t_sched.c
234
ATF_REQUIRE(sched_rr_get_interval(getpid(), &tv2) == 0);
tests/lib/librt/t_sched.c
52
pid_t p = getpid();
tests/lib/librt/t_sem.c
145
getpid());
tests/lib/librt/t_sem.c
148
printf("PID %d got semaphore\n", getpid());
tests/lib/librt/t_sem.c
247
getpid());
tests/lib/librt/t_sem.c
251
printf("PID %d got semaphore\n", getpid());
tests/lib/libutil/t_pidfile.c
85
printf("Read pid %d, current pid %d\n", pid, getpid());
tests/lib/libutil/t_pidfile.c
86
if (pid != getpid())
tests/lib/libutil/t_pidfile.c
88
"current pid (%d)", pid, getpid());
tests/modules/t_kcov.c
448
if (getpid() == 0)
tests/net/fdpass/fdpass.c
150
fprintf(stderr, "%d: recv fd %d\n", getpid(), fd);
tests/net/fdpass/fdpass.c
223
getpid());
tests/net/fdpass/fdpass.c
90
fprintf(stderr, "%d: send fd %d\n", getpid(), fd);
tests/net/net/t_mapped.c
173
sfdpid = cfdpid = getpid();
tests/net/net/t_mapped.c
189
cfdpid = getpid();
tests/net/net/t_mapped.c
198
if (cfdpid == getpid()) {
tests/net/net/t_mapped.c
206
if (sfdpid == getpid()) {
tests/net/net/t_mapped.c
215
if (cfdpid == getpid()) {
tests/net/net/t_mapped.c
221
if (sfdpid == getpid()) {
tests/net/net/t_mapped.c
238
if (sfdpid == getpid()) {
tests/net/net/t_mapped.c
242
if (cfdpid == getpid()) {
tests/net/net/t_pktinfo_send.c
501
icmp.icmp_id = htons(getpid());
tests/net/net/t_pktinfo_send.c
532
icmp.icmp_id = htons(getpid());
tests/net/net/t_pktinfo_send.c
605
"t_pktinfo_send.link.%u", getpid());
tests/net/net/t_pktinfo_send.c
701
"t_pktinfo_send.link.%u", getpid());
tests/net/net/t_unix.c
238
srvrpid = clntpid = getpid();
tests/net/net/t_unix.c
283
clntpid = getpid();
tests/net/net/t_unix.c
303
if (clntpid == getpid()) {
tests/net/net/t_unix.c
314
if (srvrpid == getpid()) {
tests/net/net/t_unix.c
324
if (clntpid == getpid()) {
tests/net/net/t_unix.c
332
if (srvrpid == getpid()) {
tests/net/net/t_unix.c
376
if (forkit && clntpid == getpid())
tests/net/net/t_unix.c
380
if (srvrpid == getpid()) {
tests/net/net/t_unix.c
386
if (clntpid == getpid()) {
tests/net/net/t_unix.c
392
if (forkit && clntpid == getpid())
usr.bin/bthset/bthset.c
586
len = asprintf(&buf, "%d\n", getpid());
usr.bin/jot/jot.c
238
step = time(NULL) * getpid();
usr.bin/ktrace/ktrace.c
241
if (do_ktrace(outfile, vers, ops, trpoints, getpid(), block) == 1) {
usr.bin/ktrace/ktrace.c
246
(void)do_ktrace(outfile, vers, ops, trpoints, getpid(), block);
usr.bin/ktrace/ktrace.c
334
dofork = (pid == getpid());
usr.bin/ktrace/ktrace.c
345
pid = getpid();
usr.bin/leave/leave.c
149
ctime(&daytime), (unsigned)getpid());
usr.bin/login/common.c
253
utmpx.ut_pid = getpid();
usr.bin/mail/dotlock.c
65
pid = getpid();
usr.bin/make/filemon/filemon_ktrace.c
303
fprintf(F->out, "# Target pid %jd\n", (intmax_t)getpid());
usr.bin/make/job.c
1621
(void)setpgid(0, getpid());
usr.bin/make/job.c
2636
getpid(), aborting_name[aborting], tok);
usr.bin/make/job.c
2710
getpid(), aborting_name[aborting], jobTokensRunning);
usr.bin/make/job.c
2722
getpid());
usr.bin/make/job.c
2730
getpid(), tok);
usr.bin/make/job.c
2748
DEBUG1(JOB, "TokenPool_Take: pid %d took a token\n", getpid());
usr.bin/make/job.c
765
(void)kill(getpid(), signo);
usr.bin/make/main.c
1342
myPid = getpid();
usr.bin/make/main.c
223
snprintf(fname + len - 2, 20, "%d", getpid());
usr.bin/make/meta.c
644
pid = getpid();
usr.bin/make/trace.c
71
trpid = getpid();
usr.bin/newsyslog/newsyslog.c
711
daytime, hostname, (u_long)getpid(), trim_message);
usr.bin/newsyslog/newsyslog.c
742
daytime, hostname, (u_long)getpid(), trim_message);
usr.bin/pkill/pkill.c
282
mypid = getpid();
usr.bin/pmap/main.c
201
pid = getpid();
usr.bin/progress/progress.c
65
kill(getpid(), SIGPIPE);
usr.bin/qsubst/qsubst.c
160
kill(getpid(), SIGTSTP);
usr.bin/rlogin/rlogin.c
528
(void)kill(all ? 0 : getpid(), SIGTSTP);
usr.bin/rlogin/rlogin.c
670
pid = getpid(); /* modern systems use positives for pid */
usr.bin/sed/main.c
438
"%s/.!%ld!%s", dirname(d_name), (long)getpid(),
usr.bin/shlock/shlock.c
130
snprintf(buf, sizeof(buf), "shlock%jd", (intmax_t)getpid());
usr.bin/su/su_pam.c
416
(void)kill(getpid(), SIGSTOP);
usr.bin/talk/get_addrs.c
54
msg.pid = htonl(getpid());
usr.bin/tip/cmds.c
842
(void)kill(c == CTRL('y') ? getpid() : 0, SIGTSTP);
usr.bin/who/who.c
257
print(pw ? pw->pw_name : "?", p, now, "", getpid(), 0, 0, 0, 0);
usr.sbin/altq/altqd/altqd.c
197
fprintf(fp, "%d\n", getpid());
usr.sbin/arp/arp_hostops.c
47
.op_getpid = getpid,
usr.sbin/arp/prog_ops.h
67
#define prog_getpid getpid
usr.sbin/bootp/bootptest/bootptest.c
301
xid = (int32) getpid();
usr.sbin/inetd/inetd.c
628
getpid(), sep->se_server);
usr.sbin/ldpd/mpls_routes.c
536
if (rg->m_rtm.rtm_pid == getpid() &&
usr.sbin/ldpd/mpls_routes.c
604
my_pid = getpid();
usr.sbin/lpr/filters/lpf.c
168
kill(getpid(), SIGSTOP);
usr.sbin/lpr/lpd/lpd.c
260
(void)snprintf(line, sizeof(line), "%u\n", getpid());
usr.sbin/lpr/lpd/printjob.c
169
pid = getpid(); /* for use with lprm */
usr.sbin/moused/moused.c
870
fprintf(fp, "%d\n", getpid());
usr.sbin/ndbootd/ndbootd.c
497
sprintf(pid_buffer, "%u\n", getpid());
usr.sbin/ndp/ndp_hostops.c
48
.op_getpid = getpid,
usr.sbin/ndp/prog_ops.h
67
#define prog_getpid getpid
usr.sbin/perfused/perfused.c
270
(void)kill(getpid(), SIGINFO); /* This is for -s option */
usr.sbin/psrset/psrset.c
278
if (pset_bind(getint(argv[0]), P_PID, getpid(), NULL))
usr.sbin/rarpd/mkarp.c
222
pid = getpid();
usr.sbin/route6d/route6d.c
284
pid = getpid();
usr.sbin/rtadvd/prog_ops.h
67
#define prog_getpid getpid
usr.sbin/rtadvd/rtadvd_hostops.c
20
.op_getpid = getpid,
usr.sbin/schedctl/schedctl.c
149
pid = getpid();
usr.sbin/schedctl/schedctl.c
159
if (pid != getpid()) {
usr.sbin/sliplogin/sliplogin.c
261
(void)setpgrp(0, getpid());
usr.sbin/sysinst/disklabel.c
419
sprintf(fname, "/tmp/disklabel.%u", getpid());
usr.sbin/sysinst/util.c
1285
sprintf(tmpf, "/tmp/entr.%06x", getpid());
usr.sbin/syslogd/syslogd.c
630
snprintf(include_pid_buf, sizeof(include_pid_buf), "%d", getpid());
usr.sbin/timed/timed/measure.c
132
oicp.icmp_id = getpid();