bin/csh/proc.c
1272
while ((pid = fork()) < 0)
bin/ksh/jobs.c
502
while ((i = fork()) < 0 && errno == EAGAIN && forksleep < 32) {
bin/pax/ar_io.c
1585
zpid = fork();
bin/sh/jobs.c
1359
switch ((pid = fork())) {
crypto/dist/ipsec-tools/src/racoon/isakmp.c
3138
switch (fork()) {
crypto/dist/ipsec-tools/src/racoon/privsep.c
227
switch (child_pid = fork()) {
dist/pf/sbin/pflogd/privsep.c
94
child_pid = fork();
dist/pf/usr.sbin/authpf/authpf.c
690
switch (pid = fork()) {
distrib/utils/ssh/ssh.c
479
pid = fork();
games/atc/input.c
356
if (fork() == 0) /* child */
games/fish/fish.c
452
switch (pid = fork()) {
games/hack/hack.pager.c
447
f = fork();
games/hack/hack.pri.c
117
if (!fork())
games/hunt/hunt/hunt.c
478
procid = fork();
games/larn/bill.c
131
if (fork() == 0) {
games/larn/tok.c
67
if (fork() == 0) {
games/larn/tok.c
88
if ((ic = fork()) == 0) { /* child */
games/rogue/machdep.c
479
pid = fork();
games/sail/dr_main.c
144
switch (fork()) {
games/warp/intrp.c
568
if (fork())
games/warp/sig.c
79
if (fork())
games/wump/wump.c
771
switch (pid = fork()) {
include/unistd.h
111
pid_t fork(void);
lib/libc/gen/arc4random.c
908
pid = fork();
lib/libc/gen/daemon.c
56
switch (fork()) {
lib/libc/gen/pthread_atfork.c
53
__weak_alias(fork, _fork)
lib/libc/gen/utmpx.c
316
switch (pid = fork()) {
lib/libc/gen/wordexp.c
122
if ((pid = fork()) < 0) {
lib/libc/net/rcmd.c
408
pid = fork();
lib/libc/net/rcmd.c
437
pid = fork();
lib/libedit/TEST/tc1.c
276
switch (fork()) {
lib/libedit/TEST/wtc1.c
243
switch (fork()) {
lib/libedit/vi.c
1038
pid = fork();
lib/libpam/modules/pam_ssh/pam_ssh.c
296
pid = fork();
lib/libperfuse/perfuse.c
263
switch(fork()) {
lib/libpuffs/puffs.c
450
switch (fork()) {
lib/librmt/rmtlib.c
336
switch (fork()) {
lib/librumpclient/rumpclient.c
1151
return rumpclient__dofork(fork);
lib/librumpclient/rumpclient.c
1230
switch (fork()) {
lib/librumphijack/hijack.c
1922
__strong_alias_macro(VFORK,fork)
lib/librumpuser/rumpuser_daemonize.c
113
switch (fork()) {
lib/libutil/pty.c
151
switch (pid = fork()) {
lib/libutil/ttyaction.c
130
pid = fork();
lib/libutil/ttymsg.c
167
cpid = fork();
lib/libwrap/shell_cmd.c
56
switch (child_pid = fork()) {
libexec/atrun/atrun.c
176
pid = fork();
libexec/atrun/atrun.c
291
pid = fork();
libexec/comsat/comsat.c
243
switch (fork()) {
libexec/fingerd/fingerd.c
199
switch(fork()) {
libexec/ftpd/ftpd.c
591
switch (fork()) {
libexec/ftpd/popen.c
165
pid = isls ? fork() : vfork();
libexec/httpd/cgi-bozo.c
598
switch (fork()) {
libexec/httpd/cgi-bozo.c
638
pid = fork();
libexec/httpd/daemon-bozo.c
323
switch (fork()) {
libexec/identd/identd.c
295
switch (fork()) {
libexec/lfs_cleanerd/coalesce.c
204
childpid = fork();
libexec/makewhatis/makewhatis.c
214
switch (fork()) {
libexec/rexecd/rexecd.c
268
if (pipe(pv) < 0 || (pid = fork()) == -1) {
libexec/rshd/rshd.c
563
pid = fork();
libexec/rshd/rshd.c
614
pid = fork();
libexec/telnetd/sys_term.c
542
if ((i = fork()) < 0)
libexec/tftpd/tftpd.c
356
pid = fork();
regress/sys/kern/getcwd/getcwd.c
293
pid = fork();
regress/sys/kern/ras/ras2/ras2.c
76
if (fork() != 0) {
regress/sys/kern/ras/ras3/ras3.c
79
if (fork() != 0) {
regress/sys/kern/unfdpass/unfdpass.c
184
pid = fork();
sbin/devpubd/devpubd.c
106
pid = fork();
sbin/disklabel/main.c
1572
while ((pid = fork()) < 0) {
sbin/dump/tape.c
592
childpid = fork();
sbin/dump/tape.c
771
(workers[i].pid = fork()) < 0)
sbin/init/init.c
1244
if ((pid = fork()) == -1) {
sbin/init/init.c
1290
if ((pid = fork()) == -1) {
sbin/init/init.c
1678
switch ((pid = fork())) {
sbin/init/init.c
1719
switch ((pid = fork())) {
sbin/init/init.c
680
if ((pid = fork()) == 0) {
sbin/init/init.c
835
switch ((pid = fork())) {
sbin/mount/mount.c
494
switch (pid = fork()) {
sbin/mount_nfs/getnfsargs.c
250
if ((i = fork()) != 0) {
sbin/mount_portal/puffs_portal.c
345
switch (fork()) {
sbin/newfs/newfs.c
703
switch (pid = fork()) {
sbin/shutdown/shutdown.c
233
forkpid = fork();
sbin/wdogctl/wdogctl.c
251
tickler = fork();
share/doc/psd/20.ipctut/pipe.c
54
if ((child = fork()) == -1)
share/doc/psd/20.ipctut/socketpair.c
56
if ((child = fork()) == -1)
sys/arch/usermode/usermode/thunk.c
662
return fork();
sys/fs/hfs/hfs_vfsops.c
518
hfs_vget_internal(struct mount *mp, ino_t ino, uint8_t fork,
sys/fs/hfs/hfs_vfsops.c
525
key.hnk_fork = (fork != HFS_RSRCFORK ? HFS_DATAFORK : HFS_RSRCFORK);
sys/fs/hfs/hfs_vnops.c
587
hfs_fork_t *fork;
sys/fs/hfs/hfs_vnops.c
605
fork = &f->rsrc_fork;
sys/fs/hfs/hfs_vnops.c
607
fork = &f->data_fork;
sys/fs/hfs/hfs_vnops.c
610
vap->va_bytes = fork->total_blocks * HFS_BLOCKSIZE(vp);
sys/fs/hfs/hfs_vnops.c
611
vap->va_size = fork->logical_size;
sys/fs/hfs/libhfs.c
790
hfs_fork_t fork = {.logical_size = 0};
sys/fs/hfs/libhfs.c
807
fork = in_vol->vh.catalog_file;
sys/fs/hfs/libhfs.c
811
fork = in_vol->vh.extents_file;
sys/fs/hfs/libhfs.c
815
fork = in_vol->vh.allocation_file;
sys/fs/hfs/libhfs.c
819
fork = in_vol->vh.attributes_file;
sys/fs/hfs/libhfs.c
823
fork = in_vol->vh.startup_file;
sys/fs/hfs/libhfs.c
844
fork = file.data_fork;
sys/fs/hfs/libhfs.c
846
fork = file.rsrc_fork;
sys/fs/hfs/libhfs.c
851
memcpy(&nextextentrec, &fork.extents, sizeof(hfs_extent_record_t));
sys/fs/hfs/libhfs.c
872
if (numblocks >= fork.total_blocks)
tests/dev/audio/audiotest.c
2461
pid = fork();
tests/dev/audio/audiotest.c
4369
pid = fork();
tests/dev/sysmon/t_swwdog.c
75
switch ((p1 = fork())) {
tests/fs/common/fstest_nfs.c
112
switch ((childpid = fork())) {
tests/fs/common/fstest_puffs.c
274
switch ((childpid = fork())) {
tests/fs/fifofs/t_fifo.c
115
switch ((pid = fork())) {
tests/fs/lfs/t_orphan.c
90
if ((childpid = fork()) == 0) {
tests/kernel/h_fpufork.c
47
pid = fork();
tests/kernel/kqueue/read/t_file.c
92
RL(pid = fork());
tests/kernel/kqueue/read/t_ttypty.c
72
RL(child = fork());
tests/kernel/kqueue/t_proc1.c
108
RL(pid = fork());
tests/kernel/kqueue/t_proc1.c
74
switch (ch = fork()) {
tests/kernel/kqueue/t_proc2.c
102
RL(pid = fork());
tests/kernel/kqueue/t_proc2.c
72
pid = fork();
tests/kernel/kqueue/t_proc3.c
70
RL(pid = fork());
tests/kernel/kqueue/t_proc4.c
61
ATF_REQUIRE((pid = fork()) != -1);
tests/kernel/kqueue/t_proc4.c
99
ATF_REQUIRE((pid = fork()) != -1);
tests/kernel/kqueue/t_sig.c
146
pid = fork();
tests/kernel/kqueue/t_sig.c
73
RL(child = fork());
tests/kernel/kqueue/write/t_pipe.c
95
RL(child = fork());
tests/kernel/kqueue/write/t_ttypty.c
68
RL(child = fork());
tests/kernel/t_cloexec.c
340
RL(pid = fork());
tests/kernel/t_clofork.c
317
RL(pid = fork());
tests/kernel/t_execregs.c
143
RL(child = fork());
tests/kernel/t_lockf.c
145
pid[i] = fork();
tests/kernel/t_lockf.c
236
pid = fork();
tests/kernel/t_lua.c
199
RL(child = fork());
tests/kernel/t_nanosleep.c
127
ATF_REQUIRE((v = fork()) != -1);
tests/kernel/t_nanosleep.c
131
ATF_REQUIRE((m = fork()) != -1);
tests/kernel/t_pty.c
194
if ((pid = fork()) == -1)
tests/kernel/t_semtimedop.c
126
pid = fork();
tests/kernel/t_semtimedop.c
187
pid = fork();
tests/kernel/t_sysv.c
237
switch ((child_pid = fork())) {
tests/kernel/t_sysv.c
462
switch ((child_pid = fork())) {
tests/kernel/t_sysv.c
668
switch ((child_pid = fork())) {
tests/lib/libc/c063/t_fexecve.c
60
ATF_REQUIRE((pid = fork()) != -1);
tests/lib/libc/gen/t_alarm.c
90
pid = fork();
tests/lib/libc/gen/t_arc4random.c
308
RL(pid = fork());
tests/lib/libc/gen/t_arc4random.c
355
RL(pid = fork());
tests/lib/libc/gen/t_arc4random.c
384
ATF_TC(fork);
tests/lib/libc/gen/t_arc4random.c
385
ATF_TC_HEAD(fork, tc)
tests/lib/libc/gen/t_arc4random.c
390
ATF_TC_BODY(fork, tc)
tests/lib/libc/gen/t_arc4random.c
427
RL(child = fork());
tests/lib/libc/gen/t_arc4random.c
663
ATF_TP_ADD_TC(tp, fork);
tests/lib/libc/gen/t_assert.c
115
pid = fork();
tests/lib/libc/gen/t_assert.c
77
pid = fork();
tests/lib/libc/gen/t_closefrom.c
143
pid = fork();
tests/lib/libc/gen/t_getgrent.c
139
pid = fork();
tests/lib/libc/gen/t_nice.c
116
pid = fork();
tests/lib/libc/gen/t_pause.c
84
pid = fork();
tests/lib/libc/gen/t_siginfo.c
204
switch ((child = fork())) {
tests/lib/libc/gen/t_siginfo.c
234
switch ((child = fork())) {
tests/lib/libc/gen/t_siginfo.c
266
switch ((child = fork())) {
tests/lib/libc/misc/t_ubsan.c
83
pid = fork();
tests/lib/libc/rpc/t_rpc.c
184
switch ((pid = fork())) {
tests/lib/libc/stdlib/t_exit.c
123
pid = fork();
tests/lib/libc/stdlib/t_exit.c
153
pid = fork();
tests/lib/libc/stdlib/t_exit.c
62
pid = fork();
tests/lib/libc/stdlib/t_exit.c
95
pid = fork();
tests/lib/libc/sys/t_chroot.c
149
pid = fork();
tests/lib/libc/sys/t_chroot.c
194
pid = fork();
tests/lib/libc/sys/t_chroot.c
279
pid = fork();
tests/lib/libc/sys/t_chroot.c
66
pid = fork();
tests/lib/libc/sys/t_dup.c
288
pid = fork();
tests/lib/libc/sys/t_fork.c
161
watcher = fork();
tests/lib/libc/sys/t_fork.c
165
watcher = fork();
tests/lib/libc/sys/t_fork.c
297
child2 = fork();
tests/lib/libc/sys/t_fork.c
347
NESTED(nested_fork, fork, 0)
tests/lib/libc/sys/t_fork.c
51
#define FORK fork
tests/lib/libc/sys/t_futex_ops.c
129
RL(pid = fork());
tests/lib/libc/sys/t_getgroups.c
113
pid = fork();
tests/lib/libc/sys/t_getlogin.c
132
pid = fork();
tests/lib/libc/sys/t_getlogin.c
195
pid = fork();
tests/lib/libc/sys/t_getlogin.c
91
pid = fork();
tests/lib/libc/sys/t_getpid.c
67
fpid = fork();
tests/lib/libc/sys/t_getsid.c
86
pid = fork();
tests/lib/libc/sys/t_issetugid.c
56
pid = fork();
tests/lib/libc/sys/t_kevent.c
99
child = fork();
tests/lib/libc/sys/t_kill.c
157
ppid = fork();
tests/lib/libc/sys/t_kill.c
164
cpid = fork();
tests/lib/libc/sys/t_kill.c
221
ppid = fork();
tests/lib/libc/sys/t_kill.c
230
cpid = fork();
tests/lib/libc/sys/t_kill.c
268
ppid = fork();
tests/lib/libc/sys/t_kill.c
277
cpid = fork();
tests/lib/libc/sys/t_kill.c
60
pid = fork();
tests/lib/libc/sys/t_kill.c
91
pid = fork();
tests/lib/libc/sys/t_minherit.c
100
switch (fork()) {
tests/lib/libc/sys/t_minherit.c
133
switch (fork()) {
tests/lib/libc/sys/t_minherit.c
160
switch (fork()) {
tests/lib/libc/sys/t_minherit.c
73
switch (fork()) {
tests/lib/libc/sys/t_mkdir.c
125
pid = fork();
tests/lib/libc/sys/t_mkfifo.c
169
pid = fork();
tests/lib/libc/sys/t_mkfifo.c
82
pid = fork();
tests/lib/libc/sys/t_mlock.c
178
pid = fork();
tests/lib/libc/sys/t_mmap.c
347
pid = fork();
tests/lib/libc/sys/t_mmap.c
396
pid = fork();
tests/lib/libc/sys/t_mmap.c
552
pid = fork();
tests/lib/libc/sys/t_mprotect.c
188
pid = fork();
tests/lib/libc/sys/t_mprotect.c
301
pid = fork();
tests/lib/libc/sys/t_mprotect.c
354
pid = fork();
tests/lib/libc/sys/t_mprotect.c
369
pid = fork();
tests/lib/libc/sys/t_mprotect.c
423
pid = fork();
tests/lib/libc/sys/t_msgctl.c
131
pid = fork();
tests/lib/libc/sys/t_msgctl.c
202
pid = fork();
tests/lib/libc/sys/t_msgctl.c
221
pid = fork();
tests/lib/libc/sys/t_msgget.c
118
pid = fork();
tests/lib/libc/sys/t_msgrcv.c
118
pid = fork();
tests/lib/libc/sys/t_msgrcv.c
261
pid = fork();
tests/lib/libc/sys/t_msgsnd.c
229
pid = fork();
tests/lib/libc/sys/t_msgsnd.c
283
pid = fork();
tests/lib/libc/sys/t_msgsnd.c
88
pid = fork();
tests/lib/libc/sys/t_nanosleep.c
144
pid = fork();
tests/lib/libc/sys/t_pipe.c
97
RL(pid = fork());
tests/lib/libc/sys/t_poll.c
115
RL(pid = fork());
tests/lib/libc/sys/t_poll.c
124
RL(pid = fork());
tests/lib/libc/sys/t_poll.c
133
RL(pid = fork());
tests/lib/libc/sys/t_poll.c
469
RL(pid = fork());
tests/lib/libc/sys/t_poll.c
719
RL(pid = fork());
tests/lib/libc/sys/t_ptrace_amd64_wait.h
51
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
158
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
550
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_bytetransfer_wait.h
727
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_clone_wait.h
355
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_clone_wait.h
58
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_core_wait.h
161
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_eventmask_wait.h
42
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_exec_wait.h
198
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1271
TRACEME_VFORK_FORK_TEST(traceme_vfork_fork, fork)
tests/lib/libc/sys/t_ptrace_fork_wait.h
1306
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_fork_wait.h
1332
FORKEE_ASSERT((child2 = fork()) != -1);
tests/lib/libc/sys/t_ptrace_fork_wait.h
395
FORKEE_ASSERT((tracee2 = fork()) != -1);
tests/lib/libc/sys/t_ptrace_fork_wait.h
52
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_fork_wait.h
70
FORKEE_ASSERT((child2 = fork()) != -1);
tests/lib/libc/sys/t_ptrace_fork_wait.h
759
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_fork_wait.h
772
FORKEE_ASSERT((child2 = fork()) != -1);
tests/lib/libc/sys/t_ptrace_fork_wait.h
968
FORKEE_ASSERT((tracee2 = fork()) != -1);
tests/lib/libc/sys/t_ptrace_i386_wait.h
48
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_kill.c
99
switch (pid = fork()) {
tests/lib/libc/sys/t_ptrace_kill_wait.h
39
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_lwp_wait.h
92
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_misc_wait.h
47
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_register_wait.h
58
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_sigchld.c
138
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_siginfo_wait.h
46
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_signal_wait.h
1062
RL(child = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1150
RL(child = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1254
RL(child = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1399
RL(watcher = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
1403
watcher = fork();
tests/lib/libc/sys/t_ptrace_signal_wait.h
189
RL(child = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
2183
RL(child = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
304
RL(child = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
402
RL(child = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
540
RL(child = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
759
RL(child = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
81
RL(child = fork());
tests/lib/libc/sys/t_ptrace_signal_wait.h
959
RL(child = fork());
tests/lib/libc/sys/t_ptrace_step_wait.h
57
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
209
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_syscall_wait.h
66
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_threads_wait.h
286
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_threads_wait.h
467
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_threads_wait.h
556
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_threads_wait.h
73
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_threads_wait.h
779
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_topology_wait.h
49
SYSCALL_REQUIRE((child1 = fork()) != -1);
tests/lib/libc/sys/t_ptrace_topology_wait.h
507
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_topology_wait.h
52
SYSCALL_REQUIRE((child2 = fork()) != -1);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1124
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1256
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1388
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_x86_wait.h
143
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1520
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1648
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_x86_wait.h
1812
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_x86_wait.h
2099
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_x86_wait.h
3205
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_x86_wait.h
423
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_ptrace_x86_wait.h
79
SYSCALL_REQUIRE((child = fork()) != -1);
tests/lib/libc/sys/t_recvmmsg.c
119
switch (fork()) {
tests/lib/libc/sys/t_revoke.c
143
pid = fork();
tests/lib/libc/sys/t_select.c
149
switch (pid = fork()) {
tests/lib/libc/sys/t_select.c
190
switch (pid = fork()) {
tests/lib/libc/sys/t_sendmmsg.c
129
switch (fork()) {
tests/lib/libc/sys/t_sendrecv.c
138
switch (fork()) {
tests/lib/libc/sys/t_setrlimit.c
192
pid = fork();
tests/lib/libc/sys/t_setrlimit.c
257
pid = fork();
tests/lib/libc/sys/t_setrlimit.c
311
pid = fork();
tests/lib/libc/sys/t_setrlimit.c
364
pid = fork();
tests/lib/libc/sys/t_setrlimit.c
416
pid = fork();
tests/lib/libc/sys/t_setrlimit.c
430
cpid = fork();
tests/lib/libc/sys/t_setrlimit.c
580
RL(forked = fork());
tests/lib/libc/sys/t_setuid.c
89
pid = fork();
tests/lib/libc/sys/t_sigaction.c
115
const pid_t pid = fork();
tests/lib/libc/sys/t_sigaction.c
133
const pid_t pid = fork();
tests/lib/libc/sys/t_umask.c
76
pid = fork();
tests/lib/libc/sys/t_wait.c
112
switch (pid = fork()) {
tests/lib/libc/sys/t_wait.c
148
switch (pid = fork()) {
tests/lib/libc/sys/t_wait.c
186
switch (pid = fork()) {
tests/lib/libc/sys/t_wait.c
253
switch (pid = fork()) {
tests/lib/libc/sys/t_wait.c
78
switch (pid = fork()) {
tests/lib/libc/termios/t_tcsetpgrp.c
56
pid = fork();
tests/lib/libc/ttyio/t_ttyio.c
101
switch (fork()) {
tests/lib/libc/ttyio/t_ttyio.c
116
switch (fork()) {
tests/lib/libexecinfo/t_backtrace_sandbox.c
53
pid = fork();
tests/lib/libpthread/t_fork.c
104
ATF_TP_ADD_TC(tp, fork);
tests/lib/libpthread/t_fork.c
69
ATF_TC(fork);
tests/lib/libpthread/t_fork.c
70
ATF_TC_HEAD(fork, tc)
tests/lib/libpthread/t_fork.c
75
ATF_TC_BODY(fork, tc)
tests/lib/libpthread/t_fork.c
84
fork_pid = fork();
tests/lib/libpthread/t_once.c
210
RL(pid = fork());
tests/lib/librt/t_sem.c
140
switch ((pid = fork())) {
tests/lib/librt/t_sem.c
241
switch ((pid = fork())) {
tests/lib/libutil/t_pidfile.c
112
pid = fork();
tests/net/bpfilter/t_bpfilter.c
241
child = fork();
tests/net/fdpass/fdpass.c
201
switch (fork()) {
tests/net/icmp/t_forward.c
140
cpid = fork();
tests/net/icmp/t_ping.c
216
cpid = fork();
tests/net/icmp/t_ping.c
252
cpid = fork();
tests/net/icmp/t_ping.c
285
cpid = fork();
tests/net/icmp/t_ping.c
346
cpid = fork();
tests/net/icmp/t_ping.c
76
cpid = fork();
tests/net/if_tap/rump_open_tap.c
64
pid = fork();
tests/net/mcast/mcast.c
359
switch ((pid = fork())) {
tests/net/net/t_mapped.c
186
switch (cfdpid = fork()) {
tests/net/net/t_pktinfo_send.c
609
child = fork();
tests/net/net/t_pktinfo_send.c
705
child = fork();
tests/net/net/t_unix.c
280
switch (clntpid = fork()) {
tests/rump/rumpkern/h_client/h_forkcli.c
34
switch (fork()) {
tests/rump/rumpkern/h_client/h_forkcli.c
92
switch (fork()) {
tests/rump/rumpkern/h_client/h_stresscli.c
155
switch ((apid = fork())) {
tests/rump/rumpkern/t_kern.c
67
switch (fork()) {
tests/rump/rumpkern/t_lwproc.c
194
switch (fork()) {
tests/rump/rumpkern/t_signals.c
103
switch (fork()) {
usr.bin/calendar/calendar.c
434
switch (fork()) {
usr.bin/calendar/calendar.c
578
switch (fork()) {
usr.bin/diff/pr.c
59
switch ((pid = fork())) {
usr.bin/diff3/diff3.c
250
pd = fork();
usr.bin/ftp/cmds.c
1438
if ((pid = fork()) == 0) {
usr.bin/ktrace/ktrace.c
341
pid = fork();
usr.bin/ktrace/ktrace.c
355
fpid = fork();
usr.bin/leave/leave.c
136
switch (fork()) {
usr.bin/login/login.c
702
switch (fork()) {
usr.bin/login/login.c
735
switch (child = fork()) {
usr.bin/login/login_pam.c
501
switch(pid = fork()) {
usr.bin/m4/gnum4.c
668
switch(cpid = fork()) {
usr.bin/mail/mime_child.c
189
switch (pid = fork()) {
usr.bin/mail/popen.c
202
if ((pid = fork()) < 0) {
usr.bin/mail/send.c
619
pid = fork();
usr.bin/patch/inp.c
227
switch (pid = fork()) {
usr.bin/patch/inp.c
255
switch (pid = fork()) {
usr.bin/progress/progress.c
178
gzippid = fork();
usr.bin/progress/progress.c
213
pid = fork();
usr.bin/rdist/server.c
1377
if ((pid = fork()) == 0) {
usr.bin/rlogin/rlogin.c
313
child = fork();
usr.bin/rpcgen/rpc_main.c
378
switch (fork()) {
usr.bin/rsh/rsh.c
285
pid = fork();
usr.bin/script/script.c
189
child = fork();
usr.bin/script/script.c
196
subchild = child = fork();
usr.bin/sdiff/edit.c
41
switch (pid = fork()) {
usr.bin/sdiff/sdiff.c
293
switch(pid = fork()) {
usr.bin/su/su_pam.c
387
switch (pid = fork()) {
usr.bin/timeout/timeout.c
285
pid = fork();
usr.bin/tip/aculib/dn11.c
74
if ((child = fork()) == 0) {
usr.bin/tip/aculib/v831.c
78
if ((child = fork()) == 0) {
usr.bin/tip/cmds.c
213
if ((cpid = fork()) < 0) {
usr.bin/tip/cmds.c
486
if ((cpid = fork()) < 0)
usr.bin/tip/cmds.c
534
if ((cpid = fork()) < 0)
usr.bin/tip/cmds.c
572
switch (shpid = fork()) {
usr.bin/tip/tip.c
296
switch (pid = fork()) {
usr.sbin/acpitools/acpidump/acpi.c
4704
if ((pid = fork()) == 0) {
usr.sbin/apmd/apmd.c
545
pid = fork();
usr.sbin/autofs/automountd.c
588
pid = fork();
usr.sbin/autofs/popen.c
118
switch (pid = fork()) {
usr.sbin/bootp/bootpd/bootpd.c
376
if (fork())
usr.sbin/bootp/bootpgw/bootpgw.c
344
if (fork())
usr.sbin/btpand/btpand.c
216
switch(fork()) {
usr.sbin/edquota/edquota.c
736
switch ((pid = fork())) {
usr.sbin/faithd/faithd.c
399
child_pid = fork();
usr.sbin/faithd/tcp.c
304
cpid = fork();
usr.sbin/inetd/inetd.c
491
pid = fork();
usr.sbin/ldpd/main.c
152
forkres = fork();
usr.sbin/lockstat/main.c
550
switch (pid = fork()) {
usr.sbin/lpr/lpd/lpd.c
335
switch (fork()) {
usr.sbin/lpr/lpd/lpd.c
572
switch (fork()) {
usr.sbin/lpr/lpd/printjob.c
1210
if ((child_pid = fork()) < 0) {
usr.sbin/mopd/mopd/mopd.c
123
pid = fork();
usr.sbin/ndbootd/ndbootd.c
467
switch (fork()) {
usr.sbin/nfsd/nfsd.c
324
pid = fork();
usr.sbin/perfused/perfused.c
217
pid = (perfuse_diagflags & PDF_FOREGROUND) ? 0 : fork();
usr.sbin/puffs/mount_psshfs/psshfs.c
445
pid = fork();
usr.sbin/puffs/rump_syspuffs/rump_syspuffs.c
108
switch (fork()) {
usr.sbin/quotacheck/quotacheck.c
330
switch ((*pid = fork())) {
usr.sbin/rpc.lockd/lockd_lock.c
548
switch (fl->locker = fork()) {
usr.sbin/rpc.pcnfsd/pcnfsd_misc.c
432
if ((pid = fork()) == 0) {
usr.sbin/rpc.statd/stat_proc.c
326
pid = fork();
usr.sbin/rpcbind/security.c
206
if (fork() == 0) {
usr.sbin/sliplogin/sliplogin.c
238
switch (fork()) {
usr.sbin/sysinst/net.c
851
pid = fork();
usr.sbin/sysinst/run.c
442
child = fork();
usr.sbin/syslogd/syslogd.c
4231
switch ((pid = fork())) {
usr.sbin/tprof/tprof.c
471
pid = fork();
usr.sbin/ypserv/yppush/yppush.c
357
pid = fork();
usr.sbin/ypserv/ypserv/ypserv_proc.c
337
switch (fork()) {