/freebsd-current/contrib/openbsm/compat/ |
H A D | pidfile.h | 155 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) {
|
/freebsd-current/contrib/unbound/compat/ |
H A D | arc4random.c | 117 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
|
H A D | getentropy_solaris.c | 196 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
|
H A D | getentropy_osx.c | 168 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
|
H A D | getentropy_linux.c | 236 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
|
/freebsd-current/lib/libc/gen/ |
H A D | opendir.c | 65 if (_fcntl(fd, F_SETFD, FD_CLOEXEC) == -1)
|
/freebsd-current/contrib/sendmail/libmilter/ |
H A D | listener.c | 456 fcntl(sock, F_SETFD, fdflags | FD_CLOEXEC) == -1) 896 fcntl(connfd, F_SETFD, fdflags | FD_CLOEXEC) == -1)
|
/freebsd-current/contrib/file/src/ |
H A D | file.h | 154 #ifndef FD_CLOEXEC 155 # define FD_CLOEXEC 1 macro
|
H A D | magic.c | 481 (void)fcntl(fd, F_SETFD, FD_CLOEXEC);
|
H A D | funcs.c | 901 (void)fcntl(fds[0], F_SETFD, FD_CLOEXEC); 902 (void)fcntl(fds[1], F_SETFD, FD_CLOEXEC);
|
/freebsd-current/contrib/libarchive/libarchive/ |
H A D | archive_util.c | 605 * Set FD_CLOEXEC flag to a file descriptor if it is not set. 624 if (flags != -1 && (flags & FD_CLOEXEC) == 0) 625 fcntl(fd, F_SETFD, flags | FD_CLOEXEC);
|
/freebsd-current/contrib/bmake/ |
H A D | make.h | 105 #ifndef FD_CLOEXEC 106 #define FD_CLOEXEC 1 macro
|
H A D | meta.c | 159 (void)fcntl(dupfd, F_SETFD, FD_CLOEXEC); 164 (void)fcntl(pbm->mon_fd, F_SETFD, FD_CLOEXEC); 1645 (void)fcntl(childPipe[0], F_SETFD, FD_CLOEXEC); 1646 (void)fcntl(childPipe[1], F_SETFD, FD_CLOEXEC);
|
H A D | job.c | 585 if (fcntl(job->inPipe, F_SETFD, FD_CLOEXEC) == -1) 587 if (fcntl(job->outPipe, F_SETFD, FD_CLOEXEC) == -1) 1637 (void)fcntl(fileno(job->cmdFILE), F_SETFD, FD_CLOEXEC); 2843 (void)fcntl(jp_0, F_SETFD, FD_CLOEXEC); 2844 (void)fcntl(jp_1, F_SETFD, FD_CLOEXEC);
|
/freebsd-current/lib/libnv/ |
H A D | msgio.c | 350 (void) fcntl(fds[i], F_SETFD, FD_CLOEXEC);
|
/freebsd-current/contrib/llvm-project/lldb/source/Host/common/ |
H A D | Socket.cpp | 352 if (flags != -1 && ::fcntl(fd, F_SETFD, flags | FD_CLOEXEC) != -1)
|
/freebsd-current/contrib/ntp/sntp/libevent/ |
H A D | evutil.c | 124 #if defined(FD_CLOEXEC) 125 if (fcntl(fd, F_SETFD, FD_CLOEXEC) < 0) { 427 if (!(flags & FD_CLOEXEC)) { 428 if (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) == -1) { 445 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) {
|
/freebsd-current/contrib/libevent/ |
H A D | evutil.c | 124 #if defined(FD_CLOEXEC) 125 if (fcntl(fd, F_SETFD, FD_CLOEXEC) < 0) { 427 if (!(flags & FD_CLOEXEC)) { 428 if (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) == -1) { 445 if (fcntl(fd, F_SETFD, FD_CLOEXEC) == -1) {
|
/freebsd-current/libexec/atrun/ |
H A D | atrun.c | 225 fcntl(fd_in, F_SETFD, fflags & ~FD_CLOEXEC);
|
/freebsd-current/contrib/blocklist/lib/ |
H A D | bl.c | 161 fcntl(b->b_fd, F_SETFD, FD_CLOEXEC);
|
/freebsd-current/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_posix.cpp | 373 res = fcntl(fd, F_SETFD, FD_CLOEXEC);
|
/freebsd-current/contrib/llvm-project/lldb/tools/lldb-server/ |
H A D | lldb-gdbserver.cpp | 209 ::fcntl(connection_fd, F_SETFD, FD_CLOEXEC);
|
/freebsd-current/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/ |
H A D | _libzfs_core.py | 1871 fcntl.fcntl(rfd, fcntl.F_SETFD, fcntl.FD_CLOEXEC) 1872 fcntl.fcntl(wfd, fcntl.F_SETFD, fcntl.FD_CLOEXEC)
|
/freebsd-current/contrib/googletest/googletest/src/ |
H A D | gtest-death-test.cc | 1263 GTEST_DEATH_TEST_CHECK_SYSCALL_(fcntl(cwd_fd, F_SETFD, FD_CLOEXEC)); 1280 fcntl(close_fd, F_SETFD, fd_flags | FD_CLOEXEC));
|
/freebsd-current/tests/sys/kern/ |
H A D | unix_passfd_test.c | 356 * received file descriptor has the FD_CLOEXEC flag set. 371 ATF_REQUIRE_EQ_MSG(fcntl(getfd, F_GETFD) & FD_CLOEXEC, FD_CLOEXEC, 372 "FD_CLOEXEC not set on the received file descriptor");
|