Home
last modified time | relevance | path

Searched refs:F_SETFD (Results 1 – 25 of 117) sorted by relevance

12345

/external/strace/tests/
Dvfork-f.c61 if (fcntl(child_wait_fds[1], F_SETFD, FD_CLOEXEC)) in main()
67 if (fcntl(parent_wait_fds[0], F_SETFD, FD_CLOEXEC)) in main()
69 if (fcntl(parent_wait_fds[1], F_SETFD, FD_CLOEXEC)) in main()
/external/strace/tests-mx32/
Dvfork-f.c61 if (fcntl(child_wait_fds[1], F_SETFD, FD_CLOEXEC)) in main()
67 if (fcntl(parent_wait_fds[0], F_SETFD, FD_CLOEXEC)) in main()
69 if (fcntl(parent_wait_fds[1], F_SETFD, FD_CLOEXEC)) in main()
/external/strace/tests-m32/
Dvfork-f.c61 if (fcntl(child_wait_fds[1], F_SETFD, FD_CLOEXEC)) in main()
67 if (fcntl(parent_wait_fds[0], F_SETFD, FD_CLOEXEC)) in main()
69 if (fcntl(parent_wait_fds[1], F_SETFD, FD_CLOEXEC)) in main()
/external/strace/xlat/
Dfcntlcmds.h8 #if !(defined(F_SETFD) || (defined(HAVE_DECL_F_SETFD) && HAVE_DECL_F_SETFD))
9 # define F_SETFD 2 macro
95 XLAT(F_SETFD),
Dfcntlcmds.in4 F_SETFD 2
/external/vboot_reference/cgpt/
Dcgpt_nor.c214 fcntl(1, F_SETFD, FD_CLOEXEC); in ReadNorFlash()
223 fcntl(1, F_SETFD, fd_flags); in ReadNorFlash()
239 fcntl(1, F_SETFD, FD_CLOEXEC); in WriteNorFlash()
250 fcntl(1, F_SETFD, fd_flags); in WriteNorFlash()
/external/bison/lib/
Dcloexec.c41 #ifdef F_SETFD in set_cloexec_flag()
50 || fcntl (desc, F_SETFD, newflags) != -1) 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.c201 if (0 <= result && fcntl (fd, F_SETFD, flags) == -1) in rpl_fcntl()
257 if (flags < 0 || fcntl (result, F_SETFD, flags | FD_CLOEXEC) == -1) in rpl_fcntl()
/external/valgrind/coregrind/
Dlink_tool_exe_solaris.in22 use Fcntl qw/F_SETFD/;
43 fcntl($fh, F_SETFD, 0)
/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.c117 fcntl(control, F_SETFD, FD_CLOEXEC); in android_get_control_and_arguments()
173 fcntl(signals[0], F_SETFD, FD_CLOEXEC); in main()
174 fcntl(signals[1], F_SETFD, FD_CLOEXEC); in main()
303 fcntl(the_socket, F_SETFD, FD_CLOEXEC); in create_socket()
/external/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dpipe_select_interrupter.ipp48 ::fcntl(read_descriptor_, F_SETFD, FD_CLOEXEC);
49 ::fcntl(write_descriptor_, F_SETFD, FD_CLOEXEC);
/external/toybox/toys/other/
Doneit.c76 fcntl(4, F_SETFD, FD_CLOEXEC); in oneit_main()
/external/valgrind/memcheck/tests/
Dfile_locking.c51 if (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) < 0) in open_lock_and_map()
/external/libchrome/sandbox/linux/bpf_dsl/
Dbpf_dsl_unittest.cc403 .Case(F_SETFD, If(long_arg == O_CLOEXEC, Allow()).Else(Error(EINVAL))) in EvaluateSyscall()
423 FakeSyscall(__NR_fcntl, kFakeSockFD, F_SETFD, O_CLOEXEC)); in TEST()
425 FakeSyscall(__NR_fcntl, kFakeSockFD, F_SETFD, 0)); in TEST()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h101 #define F_SETFD 2 /* set/clear close_on_exec */ macro
/external/toybox/lib/
Dnet.c8 fcntl(fd, F_SETFD, FD_CLOEXEC); in xsocket()
/external/ltp/testcases/kernel/syscalls/fcntl/
Dfcntl07.c93 TEST(fcntl(fd, F_SETFD, FD_CLOEXEC)); in verify_cloexec()
Dfcntl01.c148 if ((flags = fcntl(fd[2], F_SETFD, 1)) == -1) in main()
/external/ltp/testcases/kernel/syscalls/dup2/
Ddup203.c139 if (fcntl(fd0, F_SETFD, 1) == -1) { in main()
/external/autotest/scheduler/
Dstatus_server.py107 fcntl.fcntl(self.fileno(), fcntl.F_SETFD, old_flags | fcntl.FD_CLOEXEC)
/external/bison/m4/
Ddup2.m427 if (fcntl (1, F_SETFD, FD_CLOEXEC) == -1)
/external/dhcpcd-6.8.2/
Dcontrol.c164 fcntl(fd, F_SETFD, flags | FD_CLOEXEC) == -1) in control_handle1()
220 fcntl(fd, F_SETFD, flags | FD_CLOEXEC) == -1) in make_sock()
/external/toybox/toys/net/
Dnetcat.c109 fcntl(sockfd, F_SETFD, FD_CLOEXEC); in netcat_main()

12345