Home
last modified time | relevance | path

Searched refs:FD_CLOEXEC (Results 1 – 25 of 36) sorted by relevance

12

/external/webkit/Source/WebKit2/UIProcess/Launcher/qt/
DProcessLauncherQt.cpp114 while (fcntl(sockets[1], F_SETFD, FD_CLOEXEC) == -1) { in launchProcess()
130 while (fcntl(sockets[0], F_SETFD, FD_CLOEXEC) == -1) { in launchProcess()
/external/mtpd/
Dmtpd.c116 fcntl(control, F_SETFD, FD_CLOEXEC); in android_get_control_and_arguments()
172 fcntl(signals[0], F_SETFD, FD_CLOEXEC); in main()
173 fcntl(signals[1], F_SETFD, FD_CLOEXEC); in main()
290 fcntl(the_socket, F_SETFD, FD_CLOEXEC); in create_socket()
/external/webkit/Source/WebKit2/Platform/unix/
DSharedMemoryUnix.cpp123 while (fcntl(fileDescriptor, F_SETFD, FD_CLOEXEC) == -1) { in create()
216 while ((fcntl(duplicatedHandle, F_SETFD, FD_CLOEXEC | accessModeFile(protection)) == -1)) { in createHandle()
/external/dbus/
DNEWS17 - thread-safe FD_CLOEXEC setting on recent Linux kernels (2.6.24-27 and up)
/external/kernel-headers/original/asm-generic/
Dfcntl.h75 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ macro
/external/valgrind/main/memcheck/tests/
Dfile_locking.c51 if (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) < 0) in open_lock_and_map()
/external/dbus/dbus/
Dsd-daemon.c106 if (flags & FD_CLOEXEC) in sd_listen_fds()
109 if (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) < 0) { in sd_listen_fds()
/external/ipsec-tools/src/racoon/
Dmisc.c164 fcntl(fd, F_SETFD, FD_CLOEXEC);
/external/webkit/Source/WebCore/platform/sql/chromium/
DSQLiteFileSystemChromiumPosix.cpp87 fcntl(fd, F_SETFD, fcntl(fd, F_GETFD) | FD_CLOEXEC); in chromiumOpen()
/external/qemu/
Doslib-posix.c88 fcntl(fd, F_SETFD, f | FD_CLOEXEC); in qemu_set_cloexec()
/external/dhcpcd/
Dcommon.c115 fcntl(fd, F_SETFD, flags | FD_CLOEXEC) == -1) in set_cloexec()
/external/ipsec-tools/
Dmain.c60 fcntl(control, F_SETFD, FD_CLOEXEC); in android_get_control_and_arguments()
/external/strace/
Dstrace.c388 if (fcntl(fileno(outf), F_SETFD, f|FD_CLOEXEC) < 0 ) {
802 if (fcntl(tcp->pfd, F_SETFD, arg|FD_CLOEXEC) < 0) {
815 if (fcntl(tcp->pfd_stat, F_SETFD, arg|FD_CLOEXEC) < 0) {
828 if (fcntl(tcp->pfd_as, F_SETFD, arg|FD_CLOEXEC) < 0) {
848 if (fcntl(tcp->pfd, F_SETFD, arg|FD_CLOEXEC) < 0) {
1535 if (fcntl(proc_poll_pipe[i], F_SETFD, arg|FD_CLOEXEC) < 0) { in proc_poll_open()
Ddesc.c155 #ifdef FD_CLOEXEC
156 { FD_CLOEXEC, "FD_CLOEXEC" },
/external/e2fsprogs/lib/et/
Derror_message.c232 fcntl(fd, F_SETFD, flags | FD_CLOEXEC); in init_debug()
/external/chromium/chrome/browser/nacl_host/
Dnacl_process_host.cc39 int rc = fcntl(fd, F_SETFD, flags | FD_CLOEXEC); in SetCloseOnExec()
/external/chromium/chrome/browser/
Dprocess_singleton_linux.cc125 if (flags & FD_CLOEXEC) in SetCloseOnExec()
127 return fcntl(fd, F_SETFD, flags | FD_CLOEXEC); in SetCloseOnExec()
/external/valgrind/main/auxprogs/
Daix5_VKI_info.c74 printf("#define VKI_FD_CLOEXEC 0x%08x\n", FD_CLOEXEC); in main()
/external/webkit/Source/WebKit2/Platform/CoreIPC/unix/
DConnectionUnix.cpp220 while (fcntl(fileDescriptors[i], F_SETFL, FD_CLOEXEC) == -1) { in readyReadHandler()
/external/ppp/pppd/
Dtty.c629 (void) fcntl(ipipe[0], F_SETFD, FD_CLOEXEC); in connect_tty()
630 (void) fcntl(opipe[1], F_SETFD, FD_CLOEXEC); in connect_tty()
/external/mksh/src/
Dshf.c135 fcntl(fd, F_SETFD, FD_CLOEXEC); in shf_fdopen()
182 fcntl(fd, F_SETFD, FD_CLOEXEC); in shf_reopen()
Dmain.c880 } else if (fcntl(tty_fd, F_SETFD, FD_CLOEXEC) < 0) { in tty_init()
1092 fcntl(nfd, F_SETFD, FD_CLOEXEC); in savefd()
/external/dnsmasq/src/
Dhelper.c274 fcntl(event_fd, F_SETFD, i | FD_CLOEXEC); in create_helper()
/external/e2fsprogs/lib/uuid/
Dgen_uuid.c151 fcntl(fd, F_SETFD, i | FD_CLOEXEC); in get_random_fd()
/external/v8/src/
Dd8-posix.cc278 fcntl(exec_error_fds[kWriteFD], F_SETFD, FD_CLOEXEC); in ExecSubprocess()

12