Symbol: F_SETFD
bin/sh/input.c
393
fcntl(fd, F_SETFD, FD_CLOEXEC);
bin/sh/jobs.c
211
if (fcntl(ttyfd, F_SETFD, FD_CLOEXEC) < 0) {
bin/sh/redir.c
159
fcntl(i, F_SETFD, FD_CLOEXEC);
crypto/openssh/authfd.c
103
if (fcntl(sock, F_SETFD, FD_CLOEXEC) == -1 ||
crypto/openssh/channels.c
423
(void)fcntl(rfd, F_SETFD, FD_CLOEXEC);
crypto/openssh/channels.c
425
(void)fcntl(wfd, F_SETFD, FD_CLOEXEC);
crypto/openssh/channels.c
427
(void)fcntl(efd, F_SETFD, FD_CLOEXEC);
crypto/openssh/monitor.c
1790
if (fcntl(x, F_SETFD, FD_CLOEXEC) == -1) \
crypto/openssh/sshconnect.c
367
(void)fcntl(sock, F_SETFD, FD_CLOEXEC);
crypto/openssh/sshconnect2.c
2058
if (fcntl(sock, F_SETFD, 0) == -1) /* keep the socket on exec */
crypto/openssh/sshd-session.c
1209
fcntl(sock_out, F_SETFD, FD_CLOEXEC);
crypto/openssh/sshd-session.c
1210
fcntl(sock_in, F_SETFD, FD_CLOEXEC);
crypto/openssh/sshd.c
771
if (fcntl(listen_sock, F_SETFD, FD_CLOEXEC) == -1) {
games/atc/log.c
121
if (fcntl(score_fd, F_SETFD, flags) == -1)
lib/libc/db/btree/bt_open.c
209
if (_fcntl(t->bt_fd, F_SETFD, 1) == -1)
lib/libc/db/hash/hash.c
123
_fcntl(hashp->fp, F_SETFD, 1);
lib/libc/db/hash/hash_page.c
865
_fcntl(hashp->fp, F_SETFD, 1);
lib/libc/gen/opendir.c
115
_fcntl(fd, F_SETFD, fdflags | FD_CLOEXEC) == -1) ||
lib/libc/gen/popen.c
125
_fcntl(pdes[1], F_SETFD, 0);
lib/libc/gen/popen.c
134
_fcntl(pdes[0], F_SETFD, 0);
lib/libc/gen/popen.c
167
_fcntl(fd, F_SETFD, 0);
lib/libc/gen/popen.c
204
_fcntl(__sfileno(iop), F_SETFD, FD_CLOEXEC);
lib/libc/gen/posix_spawn.c
154
if (_fcntl(fae->fae_fildes, F_SETFD, 0) == -1)
lib/libc/gen/posix_spawn.c
161
if (_fcntl(fae->fae_newfildes, F_SETFD, 0) == -1)
lib/libc/gen/posixshm.c
88
if (_fcntl(fd, F_SETFD, FD_CLOEXEC) != 0 ||
lib/libc/gen/wordexp.c
174
_fcntl(pdes[1], F_SETFD, 0)) < 0)
lib/libc/gen/wordexp.c
176
if (_fcntl(pdesw[0], F_SETFD, 0) < 0)
lib/libc/rpc/clnt_simple.c
170
_fcntl(fd, F_SETFD, 1); /* make it "close on exec" */
lib/libc/rpc/key_call.c
395
_fcntl(fd, F_SETFD, 1); /* make it "close on exec" */
lib/libc/stdio/fdopen.c
69
_fcntl(fd, F_SETFD, tmp | FD_CLOEXEC); /* silently ignore err */
lib/libc/stdio/freopen.c
117
(void)_fcntl(fileno(fp), F_SETFD, fdflags | FD_CLOEXEC);
lib/libc/sysvipc/ipc.c
100
if (_fcntl(daemon_fd, F_SETFD, flags & FD_CLOEXEC) == -1) {
lib/libc/sysvipc/shm.c
169
if (_fcntl(fd, F_SETFD, flags & FD_CLOEXEC) == -1) {
lib/libc/yp/yplib.c
541
if (_fcntl(ysd->dom_socket, F_SETFD, 1) == -1)
lib/libfetch/common.c
288
(void)fcntl(sd, F_SETFD, flags | FD_CLOEXEC);
lib/libkvm/kvm.c
187
if (fcntl(kd->pmfd, F_SETFD, FD_CLOEXEC) < 0) {
lib/libkvm/kvm.c
205
if (fcntl(kd->vmfd, F_SETFD, FD_CLOEXEC) < 0) {
lib/libkvm/kvm.c
220
if (fcntl(kd->nlfd, F_SETFD, FD_CLOEXEC) < 0) {
lib/libthread_xu/thread/thr_sem.c
621
error = __sys_fcntl(fd, F_SETFD, FD_CLOEXEC);
lib/libthread_xu/thread/thr_syscalls.c
263
case F_SETFD:
libexec/atrun/atrun.c
218
fcntl(fd_in, F_SETFD, fflags & ~FD_CLOEXEC);
sys/kern/kern_descrip.c
724
case F_SETFD:
sys/kern/kern_descrip.c
961
case F_SETFD:
test/bsd/dup_test/dup_test.c
95
if (fcntl(fd1, F_SETFD, 1) != 0)
test/illumos/oclo/oclo.c
251
if (fcntl(fd, F_SETFD, targ_flags) < 0) {
usr.bin/dsynth/build.c
1541
fcntl(3, F_SETFD, 0);
usr.bin/mail/lex.c
129
fcntl(fileno(otf), F_SETFD, 1);
usr.bin/mail/lex.c
132
fcntl(fileno(itf), F_SETFD, 1);
usr.bin/mail/names.c
325
fcntl(image, F_SETFD, 1);
usr.bin/mail/popen.c
104
fcntl(p[READ], F_SETFD, 1);
usr.bin/mail/popen.c
105
fcntl(p[WRITE], F_SETFD, 1);
usr.bin/mail/popen.c
69
fcntl(fileno(fp), F_SETFD, 1);
usr.bin/mail/popen.c
81
fcntl(fileno(fp), F_SETFD, 1);
usr.bin/truss/setup.c
85
fcntl(fd, F_SETFD, FD_CLOEXEC);
usr.bin/window/compress.c
306
(void) fcntl(fileno(cc_trace_fp), F_SETFD, 1);
usr.bin/window/context.c
94
(void) fcntl(fileno(cx.x_fp), F_SETFD, 1);
usr.bin/window/wwopen.c
107
(void) fcntl(d[0], F_SETFD, 1);
usr.bin/window/wwopen.c
108
(void) fcntl(d[1], F_SETFD, 1);
usr.bin/window/wwpty.c
56
(void) fcntl(w->ww_pty, F_SETFD, 1);
usr.sbin/cron/lib/misc.c
262
fcntl(fd, F_SETFD, 1);
usr.sbin/cron/lib/misc.c
453
fcntl(LogFD, F_SETFD, 1);
usr.sbin/inetd/inetd.c
1172
if (fcntl(sep->se_fd, F_SETFD, FD_CLOEXEC) < 0) {
usr.sbin/inetd/inetd.c
724
if (fcntl(ctrl, F_SETFD, 0) < 0) {
usr.sbin/ppp/chap.c
315
fcntl(fd, F_SETFD, 1);
usr.sbin/ppp/chat.c
744
fcntl(i, F_SETFD, 1);
usr.sbin/ppp/command.c
644
fcntl(i, F_SETFD, 1);
usr.sbin/ppp/exec.c
183
fcntl(i, F_SETFD, 1);