Home
last modified time | relevance | path

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

123

/external/bison/m4/
Ddup2.m426 #ifdef FD_CLOEXEC
27 if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1)
32 #ifdef FD_CLOEXEC
33 if (fcntl (1, F_GETFD) != FD_CLOEXEC)
56 haiku*) # on Haiku alpha 2, dup2(1, 1) resets FD_CLOEXEC.
/external/strace/xlat/
Dfdflags.h4 #if defined(FD_CLOEXEC) || (defined(HAVE_DECL_FD_CLOEXEC) && HAVE_DECL_FD_CLOEXEC)
5 XLAT(FD_CLOEXEC),
Dfdflags.in1 FD_CLOEXEC
/external/bison/lib/
Dcloexec.c47 int newflags = (value ? flags | FD_CLOEXEC : flags & ~FD_CLOEXEC); in set_cloexec_flag()
Dpipe2.c132 || fcntl (fd[1], F_SETFD, fcntl_flags | FD_CLOEXEC) == -1 in pipe2()
134 || fcntl (fd[0], F_SETFD, fcntl_flags | FD_CLOEXEC) == -1) in pipe2()
Dfcntl.in.h164 #ifndef FD_CLOEXEC
165 # define FD_CLOEXEC 1
Dfcntl.c257 if (flags < 0 || fcntl (result, F_SETFD, flags | FD_CLOEXEC) == -1) in rpl_fcntl()
279 result = (flags & HANDLE_FLAG_INHERIT) ? 0 : FD_CLOEXEC; in rpl_fcntl()
/external/google-breakpad/src/client/linux/crash_generation/
Dcrash_generation_server.cc94 if (fcntl(control_pipe[0], F_SETFD, FD_CLOEXEC)) in Start()
96 if (fcntl(control_pipe[1], F_SETFD, FD_CLOEXEC)) in Start()
145 if (fcntl(fds[1], F_SETFD, FD_CLOEXEC)) in CreateReportChannel()
/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()
298 fcntl(the_socket, F_SETFD, FD_CLOEXEC); in create_socket()
/external/vboot_reference/cgpt/
Dcgpt_nor.c214 fcntl(1, F_SETFD, FD_CLOEXEC); in ReadNorFlash()
239 fcntl(1, F_SETFD, FD_CLOEXEC); in WriteNorFlash()
/external/toybox/toys/other/
Doneit.c70 fcntl(4, F_SETFD, FD_CLOEXEC); in oneit_main()
Dnetcat.c107 fcntl(sockfd, F_SETFD, FD_CLOEXEC); in netcat_main()
/external/valgrind/memcheck/tests/
Dfile_locking.c51 if (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) < 0) in open_lock_and_map()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h161 #define FD_CLOEXEC 1 /* actually anything with low bit set goes */ macro
/external/bison/linux-lib/
Dfcntl.h476 #ifndef FD_CLOEXEC
477 # define FD_CLOEXEC 1 macro
/external/bison/darwin-lib/
Dfcntl.h476 #ifndef FD_CLOEXEC
477 # define FD_CLOEXEC 1 macro
/external/deqp/framework/delibs/deutil/
DdeFile.c128 …nt newFlags = (flags & DE_FILE_CLOSE_ON_EXEC) ? (oldFlags | FD_CLOEXEC) : (oldFlags & ~FD_CLOEXEC); in deFile_setFlags()
DdeSocket.c461 … newFlags = (flags & DE_SOCKET_CLOSE_ON_EXEC) ? (oldFlags | FD_CLOEXEC) : (oldFlags & ~FD_CLOEXEC); in deSocket_setFlags()
/external/iptables/extensions/
Dlibxt_set.h27 if (fcntl(sockfd, F_SETFD, FD_CLOEXEC) == -1) { in get_version()
/external/libvncserver/x11vnc/
Dcleanup.c740 #ifdef FD_CLOEXEC in close_exec_fds()
744 flags |= FD_CLOEXEC; in close_exec_fds()
/external/dhcpcd/
Dcommon.c115 fcntl(fd, F_SETFD, flags | FD_CLOEXEC) == -1) in set_cloexec()
/external/ipsec-tools/
Dmain.c69 fcntl(control, F_SETFD, FD_CLOEXEC); in android_get_control_and_arguments()
/external/toybox/toys/pending/
Dtelnetd.c318 fcntl(master_fd, F_SETFD, FD_CLOEXEC); in telnetd_main()
367 fcntl(new_fd, F_SETFD, FD_CLOEXEC); in telnetd_main()
Dsyslogd.c465 fcntl(TT.sigfd[1] , F_SETFD, FD_CLOEXEC); in syslogd_main()
466 fcntl(TT.sigfd[0] , F_SETFD, FD_CLOEXEC); in syslogd_main()
/external/e2fsprogs/lib/et/
Derror_message.c257 fcntl(fd, F_SETFD, flags | FD_CLOEXEC); in init_debug()

123