Home
last modified time | relevance | path

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

12345678

/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/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/parameter-framework/asio-1.10.6/include/asio/detail/impl/
Dpipe_select_interrupter.ipp47 #if defined(FD_CLOEXEC)
48 ::fcntl(read_descriptor_, F_SETFD, FD_CLOEXEC);
49 ::fcntl(write_descriptor_, F_SETFD, FD_CLOEXEC);
50 #endif // defined(FD_CLOEXEC)
/external/strace/xlat/
Dfdflags.h17 #if defined(FD_CLOEXEC) || (defined(HAVE_DECL_FD_CLOEXEC) && HAVE_DECL_FD_CLOEXEC)
18 XLAT(FD_CLOEXEC),
Dfdflags.in1 FD_CLOEXEC
/external/ltp/testcases/kernel/syscalls/epoll_create1/
Depoll_create1_01.c31 if (coe & FD_CLOEXEC) in verify_epoll_create1()
41 if ((coe & FD_CLOEXEC) == 0) in verify_epoll_create1()
/external/ltp/testcases/kernel/syscalls/fanotify/
Dfanotify08.c37 if ((ret & FD_CLOEXEC) == fd_bit) { in test_init_bit()
53 test_init_bit(FAN_CLOEXEC, FD_CLOEXEC, "set close_on_exec"); in run()
/external/ltp/testcases/kernel/syscalls/dup3/
Ddup3_01.c98 if (coe & FD_CLOEXEC) { in main()
111 if ((coe & FD_CLOEXEC) == 0) { in main()
/external/ltp/testcases/kernel/syscalls/eventfd2/
Deventfd2_01.c103 if (coe & FD_CLOEXEC) { in main()
116 if ((coe & FD_CLOEXEC) == 0) { in main()
/external/ltp/testcases/kernel/syscalls/inotify_init/
Dinotify_init1_01.c149 if (coe & FD_CLOEXEC) { in main()
163 } else if ((coe & FD_CLOEXEC) == 0) { in main()
/external/ltp/testcases/kernel/syscalls/timerfd/
Dtimerfd02.c151 if (coe & FD_CLOEXEC) { in main()
169 if ((coe & FD_CLOEXEC) == 0) { in main()
/external/perfetto/src/base/
Dpipe.cc47 PERFETTO_CHECK(fcntl(fds[0], F_SETFD, FD_CLOEXEC) == 0); in Create()
48 PERFETTO_CHECK(fcntl(fds[1], F_SETFD, FD_CLOEXEC) == 0); in Create()
/external/ltp/testcases/kernel/syscalls/signalfd4/
Dsignalfd4_01.c155 if (coe & FD_CLOEXEC) { in main()
173 if ((coe & FD_CLOEXEC) == 0) { in main()
/external/ltp/testcases/kernel/syscalls/pipe2/
Dpipe2_01.c154 if (coe & FD_CLOEXEC) { in main()
173 if ((coe & FD_CLOEXEC) == 0) { in main()
/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()
148 if (fcntl(fds[1], F_SETFD, FD_CLOEXEC)) in CreateReportChannel()
/external/abseil-cpp/absl/debugging/internal/
Daddress_is_readable.cc97 fcntl(p[0], F_SETFD, FD_CLOEXEC); in AddressIsReadable()
98 fcntl(p[1], F_SETFD, FD_CLOEXEC); in AddressIsReadable()
/external/rust/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/debugging/internal/
Daddress_is_readable.cc98 fcntl(p[0], F_SETFD, FD_CLOEXEC); in AddressIsReadable()
99 fcntl(p[1], F_SETFD, FD_CLOEXEC); in AddressIsReadable()
/external/webrtc/third_party/abseil-cpp/absl/debugging/internal/
Daddress_is_readable.cc97 fcntl(p[0], F_SETFD, FD_CLOEXEC); in AddressIsReadable()
98 fcntl(p[1], F_SETFD, FD_CLOEXEC); in AddressIsReadable()
/external/openscreen/third_party/abseil/src/absl/debugging/internal/
Daddress_is_readable.cc98 fcntl(p[0], F_SETFD, FD_CLOEXEC); in AddressIsReadable()
99 fcntl(p[1], F_SETFD, FD_CLOEXEC); in AddressIsReadable()
/external/angle/third_party/abseil-cpp/absl/debugging/internal/
Daddress_is_readable.cc98 fcntl(p[0], F_SETFD, FD_CLOEXEC); in AddressIsReadable()
99 fcntl(p[1], F_SETFD, FD_CLOEXEC); in AddressIsReadable()
/external/libtextclassifier/abseil-cpp/absl/debugging/internal/
Daddress_is_readable.cc98 fcntl(p[0], F_SETFD, FD_CLOEXEC); in AddressIsReadable()
99 fcntl(p[1], F_SETFD, FD_CLOEXEC); in AddressIsReadable()
/external/libusb/libusb/os/
Dlinux_udev.c74 #if defined(FD_CLOEXEC) in linux_udev_start_event_monitor()
81 if (!(r & FD_CLOEXEC)) { in linux_udev_start_event_monitor()
82 if (fcntl(udev_monitor_fd, F_SETFD, r | FD_CLOEXEC) == -1) { in linux_udev_start_event_monitor()
Devents_posix.c69 #if !defined(HAVE_PIPE2) && defined(FD_CLOEXEC) in usbi_create_event()
75 ret = fcntl(event->pipefd[0], F_SETFD, ret | FD_CLOEXEC); in usbi_create_event()
86 ret = fcntl(event->pipefd[1], F_SETFD, ret | FD_CLOEXEC); in usbi_create_event()
/external/mtpd/
Dmtpd.c124 fcntl(control, F_SETFD, FD_CLOEXEC); in android_get_control_and_arguments()
180 fcntl(signals[0], F_SETFD, FD_CLOEXEC); in main()
181 fcntl(signals[1], F_SETFD, FD_CLOEXEC); in main()
310 fcntl(the_socket, F_SETFD, FD_CLOEXEC); in create_socket()

12345678