Searched refs:FD_CLOEXEC (Results 1 - 25 of 43) sorted by relevance

12

/external/bison/lib/
H A Dcloexec.c28 /* Set the 'FD_CLOEXEC' flag of DESC if VALUE is true,
47 int newflags = (value ? flags | FD_CLOEXEC : flags & ~FD_CLOEXEC);
H A Dpipe2.c111 says that initially, the O_NONBLOCK and FD_CLOEXEC flags are cleared on
132 || fcntl (fd[1], F_SETFD, fcntl_flags | FD_CLOEXEC) == -1
134 || fcntl (fd[0], F_SETFD, fcntl_flags | FD_CLOEXEC) == -1)
H A Dfcntl.c165 FD_CLOEXEC is portable, but other flags may be present); otherwise
257 if (flags < 0 || fcntl (result, F_SETFD, flags | FD_CLOEXEC) == -1)
279 result = (flags & HANDLE_FLAG_INHERIT) ? 0 : FD_CLOEXEC;
H A Dfcntl.in.h164 #ifndef FD_CLOEXEC
165 # define FD_CLOEXEC 1
/external/webkit/Source/WebKit2/UIProcess/Launcher/qt/
H A DProcessLauncherQt.cpp114 while (fcntl(sockets[1], F_SETFD, FD_CLOEXEC) == -1) {
130 while (fcntl(sockets[0], F_SETFD, FD_CLOEXEC) == -1) {
/external/kernel-headers/original/asm-generic/
H A Dfcntl.h133 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ macro
/external/mtpd/
H A Dmtpd.c116 fcntl(control, F_SETFD, FD_CLOEXEC);
172 fcntl(signals[0], F_SETFD, FD_CLOEXEC);
173 fcntl(signals[1], F_SETFD, FD_CLOEXEC);
298 fcntl(the_socket, F_SETFD, FD_CLOEXEC);
/external/valgrind/main/memcheck/tests/
H A Dfile_locking.c51 if (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) < 0)
/external/qemu/
H A Doslib-posix.c88 fcntl(fd, F_SETFD, f | FD_CLOEXEC);
92 * Creates a pipe with FD_CLOEXEC set on both file descriptors
/external/webkit/Source/WebCore/platform/sql/chromium/
H A DSQLiteFileSystemChromiumPosix.cpp87 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC);
/external/webkit/Source/WebKit2/Platform/unix/
H A DSharedMemoryUnix.cpp123 while (fcntl(fileDescriptor, F_SETFD, FD_CLOEXEC) == -1) {
216 while ((fcntl(duplicatedHandle, F_SETFD, FD_CLOEXEC | accessModeFile(protection)) == -1)) {
/external/bison/darwin-lib/
H A Dfcntl.h476 #ifndef FD_CLOEXEC
477 # define FD_CLOEXEC 1 macro
/external/bison/linux-lib/
H A Dfcntl.h476 #ifndef FD_CLOEXEC
477 # define FD_CLOEXEC 1 macro
/external/chromium/chrome/browser/nacl_host/
H A Dnacl_process_host.cc39 int rc = fcntl(fd, F_SETFD, flags | FD_CLOEXEC);
/external/dhcpcd/
H A Dcommon.c115 fcntl(fd, F_SETFD, flags | FD_CLOEXEC) == -1)
/external/e2fsprogs/lib/et/
H A Derror_message.c232 fcntl(fd, F_SETFD, flags | FD_CLOEXEC);
/external/ipsec-tools/
H A Dmain.c69 fcntl(control, F_SETFD, FD_CLOEXEC);
/external/libselinux/src/
H A Davc_internal.c69 fcntl(fd, F_SETFD, FD_CLOEXEC);
/external/chromium/chrome/browser/
H A Dprocess_singleton_linux.cc125 if (flags & FD_CLOEXEC)
127 return fcntl(fd, F_SETFD, flags | FD_CLOEXEC);
/external/strace/
H A Ddesc.c167 #ifdef FD_CLOEXEC
168 { FD_CLOEXEC, "FD_CLOEXEC" },
/external/dnsmasq/src/
H A Dhelper.c274 fcntl(event_fd, F_SETFD, i | FD_CLOEXEC);
/external/mksh/src/
H A Dmain.c1012 (i & FD_CLOEXEC))
1156 if (fcntl(rv, F_SETFD, FD_CLOEXEC) < 0) {
1385 fcntl(shl_dbg_fd, F_SETFD, FD_CLOEXEC);
1424 fcntl(nfd, F_SETFD, FD_CLOEXEC);
H A Dshf.c151 fcntl(fd, F_SETFD, FD_CLOEXEC);
177 fcntl(fd, F_SETFD, FD_CLOEXEC);
/external/webkit/Source/WebKit2/Platform/CoreIPC/unix/
H A DConnectionUnix.cpp220 while (fcntl(fileDescriptors[i], F_SETFL, FD_CLOEXEC) == -1) {
/external/openssh/
H A Dserverloop.c134 } else if ((fcntl(notify_pipe[0], F_SETFD, FD_CLOEXEC) == -1) ||
135 (fcntl(notify_pipe[1], F_SETFD, FD_CLOEXEC) == -1)) {

Completed in 410 milliseconds

12