Searched refs:FD_CLOEXEC (Results 51 - 72 of 72) sorted by relevance

123

/freebsd-current/tests/sys/file/
H A Dpath_test.c587 ATF_REQUIRE_MSG(fcntl(pathfd, F_SETFD, FD_CLOEXEC) == 0,
589 ATF_REQUIRE_MSG(fcntl(pathfd, F_GETFD) == FD_CLOEXEC,
/freebsd-current/crypto/openssh/
H A Dsshd.c1072 if (fcntl(listen_sock, F_SETFD, FD_CLOEXEC) == -1) {
2221 fcntl(sock_out, F_SETFD, FD_CLOEXEC);
2222 fcntl(sock_in, F_SETFD, FD_CLOEXEC);
H A Dauthfd.c103 if (fcntl(sock, F_SETFD, FD_CLOEXEC) == -1 ||
H A Dsshconnect.c366 (void)fcntl(sock, F_SETFD, FD_CLOEXEC);
H A Dchannels.c430 (void)fcntl(rfd, F_SETFD, FD_CLOEXEC);
432 (void)fcntl(wfd, F_SETFD, FD_CLOEXEC);
434 (void)fcntl(efd, F_SETFD, FD_CLOEXEC);
H A Dmonitor.c1775 if (fcntl(x, F_SETFD, FD_CLOEXEC) == -1) \
/freebsd-current/contrib/wpa/src/utils/
H A Dwpa_debug.c575 if (fcntl(out_fd, F_SETFD, FD_CLOEXEC) < 0) {
577 "%s: Failed to set FD_CLOEXEC - continue without: %s",
/freebsd-current/contrib/sendmail/include/sm/
H A Dconf.h2745 # ifndef FD_CLOEXEC
2746 # define FD_CLOEXEC 1 macro
/freebsd-current/contrib/sendmail/src/
H A Dconf.c1591 fcntl(kmem, F_SETFD, j | FD_CLOEXEC) < 0)
1594 sm_dprintf("getla: fcntl(/dev/kmem, FD_CLOEXEC): %s\n",
1676 fcntl(kmem, F_SETFD, j | FD_CLOEXEC) < 0)
1679 sm_dprintf("getla: fcntl(/dev/kmem, FD_CLOEXEC): %s\n",
1914 fcntl(kmem, F_SETFD, j | FD_CLOEXEC) < 0)
1917 sm_dprintf("getla: fcntl(/dev/kmem, FD_CLOEXEC): %s\n",
2634 fcntl(kmem, F_SETFD, j | FD_CLOEXEC) < 0)
5402 (void) fcntl(fd, F_SETFD, FD_CLOEXEC);
5429 (void) fcntl(i, F_SETFD, j | FD_CLOEXEC);
H A Ddaemon.c1192 fdflags | FD_CLOEXEC) == -1)
/freebsd-current/tests/sys/posixshm/
H A Dposixshm_test.c1000 /* shm_open(2) is required to set FD_CLOEXEC */
1003 ATF_REQUIRE((fcntl(fd, F_GETFD) & FD_CLOEXEC) != 0);
1009 ATF_REQUIRE((fcntl(fd, F_GETFD) & FD_CLOEXEC) != 0);
/freebsd-current/lib/libsysdecode/
H A Dflags.c869 X(FD_CLOEXEC) X(0) XEND
/freebsd-current/sys/contrib/openzfs/lib/libzpool/
H A Dkernel.c1122 (void) fcntl(fd, F_SETFD, FD_CLOEXEC);
/freebsd-current/crypto/openssh/regress/
H A Dnetcat.c570 (void)fcntl(s, F_SETFD, FD_CLOEXEC);
/freebsd-current/contrib/netcat/
H A Dnetcat.c641 (void)fcntl(s, F_SETFD, FD_CLOEXEC);
/freebsd-current/lib/libfetch/
H A Dcommon.c285 fcntl(sd, F_SETFD, FD_CLOEXEC);
/freebsd-current/contrib/jemalloc/src/
H A Dprof.c1689 fcntl(mfd, F_SETFD, fcntl(mfd, F_GETFD) | FD_CLOEXEC);
/freebsd-current/sys/compat/linux/
H A Dlinux_socket.c1577 (void)kern_fcntl(td, fd, F_SETFD, FD_CLOEXEC);
/freebsd-current/contrib/one-true-awk/
H A Drun.c2405 (void) fcntl(fileno(fp), F_SETFD, FD_CLOEXEC); local
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/Process/gdb-remote/
H A DProcessGDBRemote.cpp3335 #if defined(FD_CLOEXEC)
3339 return (::fcntl(fd, F_SETFD, flags | FD_CLOEXEC) == 0);
/freebsd-current/sys/kern/
H A Dkern_descrip.c532 (fde->fde_flags & UF_EXCLOSE) ? FD_CLOEXEC : 0;
544 (arg & FD_CLOEXEC ? UF_EXCLOSE : 0);
/freebsd-current/contrib/sqlite3/
H A Dsqlite3.c[all...]

Completed in 927 milliseconds

123