/dports/multimedia/v4l_compat/linux-5.13-rc2/tools/testing/selftests/core/ |
H A D | close_range_test.c | 289 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 303 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 312 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 359 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 373 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 383 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 421 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 425 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 451 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 455 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/tools/testing/selftests/core/ |
H A D | close_range_test.c | 289 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 303 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 312 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 359 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 373 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 383 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 421 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 425 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 451 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 455 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/tools/testing/selftests/core/ |
H A D | close_range_test.c | 289 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 303 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 312 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 359 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 373 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 383 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 421 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 425 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 451 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() 455 EXPECT_EQ(flags & FD_CLOEXEC, FD_CLOEXEC); in TEST() [all …]
|
/dports/net/freebsd-uucp/freebsd-uucp-r1_07_4/uucp/libuuconf/ |
H A D | syshdr.h | 128 #ifndef FD_CLOEXEC 129 #define FD_CLOEXEC 1 macro 137 fcntl (cle_i, F_SETFD, fcntl (cle_i, F_GETFD, 0) | FD_CLOEXEC); \ 267 #ifndef FD_CLOEXEC 268 #define FD_CLOEXEC 1 macro 276 fcntl (cle_i, F_SETFD, fcntl (cle_i, F_GETFD, 0) | FD_CLOEXEC); \
|
/dports/sysutils/cmogstored/cmogstored-1.8.1/ |
H A D | cloexec_detect.c | 26 mog_cloexec_atomic = ((flags & FD_CLOEXEC) == FD_CLOEXEC); in cloexec_detect() 39 mog_cloexec_atomic = ((flags & FD_CLOEXEC) == FD_CLOEXEC); in cloexec_detect()
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/corelib/kernel/ |
H A D | qcore_unix_p.h | 182 ::fcntl(fd, F_SETFD, FD_CLOEXEC); 212 ::fcntl(pipefd[0], F_SETFD, FD_CLOEXEC); 213 ::fcntl(pipefd[1], F_SETFD, FD_CLOEXEC); 227 static inline int qt_safe_dup(int oldfd, int atleast = 0, int flags = FD_CLOEXEC) 229 Q_ASSERT(flags == FD_CLOEXEC || flags == 0); 234 if (flags & FD_CLOEXEC) { 251 static inline int qt_safe_dup2(int oldfd, int newfd, int flags = FD_CLOEXEC) 253 Q_ASSERT(flags == FD_CLOEXEC || flags == 0); 258 if (flags & FD_CLOEXEC) {
|
/dports/www/lighttpd/lighttpd-1.4.63/src/ |
H A D | fdevent.c | 58 #ifdef FD_CLOEXEC in fdevent_setfd_cloexec() 60 force_assert(-1 != fcntl(fd, F_SETFD, FD_CLOEXEC)); in fdevent_setfd_cloexec() 67 #ifdef FD_CLOEXEC in fdevent_clrfd_cloexec() 103 #ifdef FD_CLOEXEC in fdevent_socket_cloexec() 127 #ifdef FD_CLOEXEC in fdevent_socket_nb_cloexec() 179 #ifdef FD_CLOEXEC in fdevent_open_cloexec() 226 #ifdef FD_CLOEXEC in fdevent_pipe_cloexec() 227 || 0 != fcntl(fds[0], F_SETFD, FD_CLOEXEC) in fdevent_pipe_cloexec() 342 #ifdef FD_CLOEXEC 370 #ifdef FD_CLOEXEC in fdevent_set_stdin_stdout_stderr() [all …]
|
/dports/security/tinc/tinc-1.0.36/src/ |
H A D | uml_device.c | 79 #ifdef FD_CLOEXEC in setup_device() 80 fcntl(write_fd, F_SETFD, FD_CLOEXEC); in setup_device() 97 #ifdef FD_CLOEXEC in setup_device() 98 fcntl(data_fd, F_SETFD, FD_CLOEXEC); in setup_device() 128 #ifdef FD_CLOEXEC in setup_device() 129 fcntl(device_fd, F_SETFD, FD_CLOEXEC); in setup_device() 202 #ifdef FD_CLOEXEC in read_packet() 203 fcntl(request_fd, F_SETFD, FD_CLOEXEC); in read_packet()
|
/dports/security/tinc-devel/tinc-1.1pre18/src/ |
H A D | uml_device.c | 74 #ifdef FD_CLOEXEC in setup_device() 75 fcntl(write_fd, F_SETFD, FD_CLOEXEC); in setup_device() 92 #ifdef FD_CLOEXEC in setup_device() 93 fcntl(data_fd, F_SETFD, FD_CLOEXEC); in setup_device() 123 #ifdef FD_CLOEXEC in setup_device() 124 fcntl(device_fd, F_SETFD, FD_CLOEXEC); in setup_device() 207 #ifdef FD_CLOEXEC in read_packet() 208 fcntl(request_fd, F_SETFD, FD_CLOEXEC); in read_packet()
|
/dports/sysutils/apcctrl/apcctrl-0.8.21/src/lib/ |
H A D | cloexec.c | 38 #ifdef FD_CLOEXEC in socket_cloexec() 43 fcntl(s, F_SETFD, flags | FD_CLOEXEC) == -1) in socket_cloexec() 66 #ifdef FD_CLOEXEC in accept_cloexec() 71 fcntl(s, F_SETFD, flags | FD_CLOEXEC) == -1) in accept_cloexec()
|
/dports/sysutils/apcupsd/apcupsd-3.14.14/src/lib/ |
H A D | cloexec.c | 38 #ifdef FD_CLOEXEC in socket_cloexec() 43 fcntl(s, F_SETFD, flags | FD_CLOEXEC) == -1) in socket_cloexec() 66 #ifdef FD_CLOEXEC in accept_cloexec() 71 fcntl(s, F_SETFD, flags | FD_CLOEXEC) == -1) in accept_cloexec()
|
/dports/devel/libslang2/slang-2.3.2/modules/test/ |
H A D | test_fcntl.sl | 13 if (-1 == fcntl_setfd (fd, flags | FD_CLOEXEC)) 20 ifnot (flags & FD_CLOEXEC) 21 failed ("FD_CLOEXEC not set"); 23 if (-1 == fcntl_setfd (fd, flags & ~FD_CLOEXEC))
|
/dports/sysutils/uschedule/admin/uschedule-0.7.1/src/ |
H A D | coe.c | 10 #ifndef FD_CLOEXEC 11 #define FD_CLOEXEC 1 macro 21 return fcntl(fd,F_SETFD, st | FD_CLOEXEC); in coe()
|
/dports/mail/usendmail/mail/usendmail-0.1.6/src/ |
H A D | coe.c | 10 #ifndef FD_CLOEXEC 11 #define FD_CLOEXEC 1 macro 21 return fcntl(fd,F_SETFD, st | FD_CLOEXEC); in coe()
|
/dports/shells/bash/bash-5.1/include/ |
H A D | filecntl.h | 27 #if !defined (FD_CLOEXEC) 28 #define FD_CLOEXEC 1 macro 33 #define SET_CLOSE_ON_EXEC(fd) (fcntl ((fd), F_SETFD, FD_CLOEXEC))
|
/dports/devel/gearmand/gearmand-1.0.6/libgearman/ |
H A D | pipe.cc | 51 #ifndef FD_CLOEXEC 52 # define FD_CLOEXEC 0 macro 58 if (FD_CLOEXEC) in set_cloexec() 71 retval= fcntl (pipedes_[x], F_SETFD, flags | FD_CLOEXEC); in set_cloexec()
|
/dports/net/py-amqp/amqp-2.6.1/amqp/ |
H A D | utils.py | 26 FD_CLOEXEC = fcntl.FD_CLOEXEC 33 flags |= FD_CLOEXEC 35 flags &= ~FD_CLOEXEC
|
/dports/databases/qt5-sqldrivers-sqlite3/kde-qtbase-5.15.2p263/src/corelib/kernel/ |
H A D | qcore_unix_p.h | 199 ::fcntl(fd, F_SETFD, FD_CLOEXEC); 223 ::fcntl(pipefd[0], F_SETFD, FD_CLOEXEC); 224 ::fcntl(pipefd[1], F_SETFD, FD_CLOEXEC); 239 static inline int qt_safe_dup(int oldfd, int atleast = 0, int flags = FD_CLOEXEC) 241 Q_ASSERT(flags == FD_CLOEXEC || flags == 0); 245 if (flags & FD_CLOEXEC) 260 static inline int qt_safe_dup2(int oldfd, int newfd, int flags = FD_CLOEXEC) 262 Q_ASSERT(flags == FD_CLOEXEC || flags == 0);
|
/dports/databases/qt5-sqldrivers-sqlite2/kde-qtbase-5.15.2p263/src/corelib/kernel/ |
H A D | qcore_unix_p.h | 199 ::fcntl(fd, F_SETFD, FD_CLOEXEC); 223 ::fcntl(pipefd[0], F_SETFD, FD_CLOEXEC); 224 ::fcntl(pipefd[1], F_SETFD, FD_CLOEXEC); 239 static inline int qt_safe_dup(int oldfd, int atleast = 0, int flags = FD_CLOEXEC) 241 Q_ASSERT(flags == FD_CLOEXEC || flags == 0); 245 if (flags & FD_CLOEXEC) 260 static inline int qt_safe_dup2(int oldfd, int newfd, int flags = FD_CLOEXEC) 262 Q_ASSERT(flags == FD_CLOEXEC || flags == 0);
|
/dports/databases/qt5-sqldrivers-tds/kde-qtbase-5.15.2p263/src/corelib/kernel/ |
H A D | qcore_unix_p.h | 199 ::fcntl(fd, F_SETFD, FD_CLOEXEC); 223 ::fcntl(pipefd[0], F_SETFD, FD_CLOEXEC); 224 ::fcntl(pipefd[1], F_SETFD, FD_CLOEXEC); 239 static inline int qt_safe_dup(int oldfd, int atleast = 0, int flags = FD_CLOEXEC) 241 Q_ASSERT(flags == FD_CLOEXEC || flags == 0); 245 if (flags & FD_CLOEXEC) 260 static inline int qt_safe_dup2(int oldfd, int newfd, int flags = FD_CLOEXEC) 262 Q_ASSERT(flags == FD_CLOEXEC || flags == 0);
|
/dports/databases/qt5-sqldrivers-mysql/kde-qtbase-5.15.2p263/src/corelib/kernel/ |
H A D | qcore_unix_p.h | 199 ::fcntl(fd, F_SETFD, FD_CLOEXEC); 223 ::fcntl(pipefd[0], F_SETFD, FD_CLOEXEC); 224 ::fcntl(pipefd[1], F_SETFD, FD_CLOEXEC); 239 static inline int qt_safe_dup(int oldfd, int atleast = 0, int flags = FD_CLOEXEC) 241 Q_ASSERT(flags == FD_CLOEXEC || flags == 0); 245 if (flags & FD_CLOEXEC) 260 static inline int qt_safe_dup2(int oldfd, int newfd, int flags = FD_CLOEXEC) 262 Q_ASSERT(flags == FD_CLOEXEC || flags == 0);
|
/dports/databases/qt5-sqldrivers-odbc/kde-qtbase-5.15.2p263/src/corelib/kernel/ |
H A D | qcore_unix_p.h | 199 ::fcntl(fd, F_SETFD, FD_CLOEXEC); 223 ::fcntl(pipefd[0], F_SETFD, FD_CLOEXEC); 224 ::fcntl(pipefd[1], F_SETFD, FD_CLOEXEC); 239 static inline int qt_safe_dup(int oldfd, int atleast = 0, int flags = FD_CLOEXEC) 241 Q_ASSERT(flags == FD_CLOEXEC || flags == 0); 245 if (flags & FD_CLOEXEC) 260 static inline int qt_safe_dup2(int oldfd, int newfd, int flags = FD_CLOEXEC) 262 Q_ASSERT(flags == FD_CLOEXEC || flags == 0);
|
/dports/databases/qt5-sqldrivers-ibase/kde-qtbase-5.15.2p263/src/corelib/kernel/ |
H A D | qcore_unix_p.h | 199 ::fcntl(fd, F_SETFD, FD_CLOEXEC); 223 ::fcntl(pipefd[0], F_SETFD, FD_CLOEXEC); 224 ::fcntl(pipefd[1], F_SETFD, FD_CLOEXEC); 239 static inline int qt_safe_dup(int oldfd, int atleast = 0, int flags = FD_CLOEXEC) 241 Q_ASSERT(flags == FD_CLOEXEC || flags == 0); 245 if (flags & FD_CLOEXEC) 260 static inline int qt_safe_dup2(int oldfd, int newfd, int flags = FD_CLOEXEC) 262 Q_ASSERT(flags == FD_CLOEXEC || flags == 0);
|
/dports/databases/qt5-sql/kde-qtbase-5.15.2p263/src/corelib/kernel/ |
H A D | qcore_unix_p.h | 199 ::fcntl(fd, F_SETFD, FD_CLOEXEC); 223 ::fcntl(pipefd[0], F_SETFD, FD_CLOEXEC); 224 ::fcntl(pipefd[1], F_SETFD, FD_CLOEXEC); 239 static inline int qt_safe_dup(int oldfd, int atleast = 0, int flags = FD_CLOEXEC) 241 Q_ASSERT(flags == FD_CLOEXEC || flags == 0); 245 if (flags & FD_CLOEXEC) 260 static inline int qt_safe_dup2(int oldfd, int newfd, int flags = FD_CLOEXEC) 262 Q_ASSERT(flags == FD_CLOEXEC || flags == 0);
|
/dports/databases/qt5-sqldrivers-pgsql/kde-qtbase-5.15.2p263/src/corelib/kernel/ |
H A D | qcore_unix_p.h | 199 ::fcntl(fd, F_SETFD, FD_CLOEXEC); 223 ::fcntl(pipefd[0], F_SETFD, FD_CLOEXEC); 224 ::fcntl(pipefd[1], F_SETFD, FD_CLOEXEC); 239 static inline int qt_safe_dup(int oldfd, int atleast = 0, int flags = FD_CLOEXEC) 241 Q_ASSERT(flags == FD_CLOEXEC || flags == 0); 245 if (flags & FD_CLOEXEC) 260 static inline int qt_safe_dup2(int oldfd, int newfd, int flags = FD_CLOEXEC) 262 Q_ASSERT(flags == FD_CLOEXEC || flags == 0);
|