Home
last modified time | relevance | path

Searched refs:O_CLOEXEC (Results 1 – 25 of 98) sorted by relevance

1234

/external/strace/tests/
Depoll_create1.c39 #if defined __NR_epoll_create1 && defined O_CLOEXEC in main()
41 if (syscall(__NR_epoll_create1, O_CLOEXEC)) in main()
43 return syscall(__NR_epoll_create1, O_CLOEXEC | O_NONBLOCK) >= 0; in main()
Deventfd.c39 #if defined __NR_eventfd2 && defined O_CLOEXEC in main()
41 return syscall(__NR_eventfd2, -1L, 1 | O_CLOEXEC | O_NONBLOCK) == 0 ? in main()
Duserfaultfd.c41 #if defined __NR_userfaultfd && defined O_CLOEXEC in main()
42 if (syscall(__NR_userfaultfd, 1 | O_NONBLOCK | O_CLOEXEC) != -1) in main()
Dsignalfd.c42 #if defined HAVE_SYS_SIGNALFD_H && defined HAVE_SIGNALFD && defined O_CLOEXEC in main()
48 return signalfd(-1, &mask, O_CLOEXEC | O_NONBLOCK) == 0 ? in main()
Dtimerfd_xettime.c42 && defined O_CLOEXEC
48 if (syscall(__NR_timerfd_create, CLOCK_MONOTONIC, O_CLOEXEC | O_NONBLOCK)) in main()
/external/strace/xlat/
Depollflags.h2 #if defined EPOLL_CLOEXEC || defined O_CLOEXEC
4 # define EPOLL_CLOEXEC O_CLOEXEC
16 #if defined EPOLL_CLOEXEC || defined O_CLOEXEC
Dsfd_flags.h2 #if defined SFD_CLOEXEC || defined O_CLOEXEC
4 # define SFD_CLOEXEC O_CLOEXEC
19 #if defined SFD_CLOEXEC || defined O_CLOEXEC
Defd_flags.h5 #if defined EFD_CLOEXEC || defined O_CLOEXEC
7 # define EFD_CLOEXEC O_CLOEXEC
23 #if defined EFD_CLOEXEC || defined O_CLOEXEC
Dtimerfdflags.h8 #if defined TFD_CLOEXEC || defined O_CLOEXEC
10 # define TFD_CLOEXEC O_CLOEXEC
29 #if defined TFD_CLOEXEC || defined O_CLOEXEC
Depollflags.in1 #if defined EPOLL_CLOEXEC || defined O_CLOEXEC
2 EPOLL_CLOEXEC O_CLOEXEC
Dsfd_flags.in1 #if defined SFD_CLOEXEC || defined O_CLOEXEC
2 SFD_CLOEXEC O_CLOEXEC
Defd_flags.in2 #if defined EFD_CLOEXEC || defined O_CLOEXEC
3 EFD_CLOEXEC O_CLOEXEC
Duffd_flags.h14 #if defined(O_CLOEXEC) || (defined(HAVE_DECL_O_CLOEXEC) && HAVE_DECL_O_CLOEXEC)
15 XLAT(O_CLOEXEC),
Dinotify_init_flags.h14 #if defined(O_CLOEXEC) || (defined(HAVE_DECL_O_CLOEXEC) && HAVE_DECL_O_CLOEXEC)
15 XLAT(O_CLOEXEC),
Dtimerfdflags.in5 #if defined TFD_CLOEXEC || defined O_CLOEXEC
6 TFD_CLOEXEC O_CLOEXEC
Dopen_mode_flags.h63 #if defined(O_CLOEXEC) || (defined(HAVE_DECL_O_CLOEXEC) && HAVE_DECL_O_CLOEXEC)
64 XLAT(O_CLOEXEC),
/external/libchrome/sandbox/linux/services/
Dproc_util.cc34 HANDLE_EINTR(open(path, O_RDONLY | O_DIRECTORY | O_CLOEXEC))); in OpenDirectory()
44 openat(proc_fd, "self/fd/", O_DIRECTORY | O_RDONLY | O_CLOEXEC)); in CountOpenFds()
74 openat(proc_fd, "self/fd/", O_DIRECTORY | O_RDONLY | O_CLOEXEC); in HasOpenDirectory()
110 HANDLE_EINTR(open("/proc/", O_DIRECTORY | O_RDONLY | O_CLOEXEC))); in HasOpenDirectory()
/external/bison/lib/
Dfcntl.in.h194 #if !defined O_CLOEXEC && defined O_NOINHERIT
196 # define O_CLOEXEC O_NOINHERIT
199 #ifndef O_CLOEXEC
200 # define O_CLOEXEC 0
Dpipe2.c70 if ((flags & ~(O_CLOEXEC | O_NONBLOCK | O_BINARY | O_TEXT)) != 0) in pipe2()
127 if (flags & O_CLOEXEC) in pipe2()
/external/kernel-headers/original/uapi/asm-generic/
Dfcntl.h61 #ifndef O_CLOEXEC
62 #define O_CLOEXEC 02000000 /* set close_on_exec */ macro
/external/bison/linux-lib/
Dfcntl.h506 #if !defined O_CLOEXEC && defined O_NOINHERIT
508 # define O_CLOEXEC O_NOINHERIT macro
511 #ifndef O_CLOEXEC
512 # define O_CLOEXEC 0 macro
/external/bison/darwin-lib/
Dfcntl.h506 #if !defined O_CLOEXEC && defined O_NOINHERIT
508 # define O_CLOEXEC O_NOINHERIT macro
511 #ifndef O_CLOEXEC
512 # define O_CLOEXEC 0 macro
/external/libchrome/sandbox/linux/syscall_broker/
Dbroker_client.cc50 RAW_CHECK(kCurrentProcessOpenFlagsMask == O_CLOEXEC); in PathAndFlagsSyscall()
52 flags &= ~O_CLOEXEC; in PathAndFlagsSyscall()
/external/libbrillo/brillo/
Dfile_utils.cc63 AT_FDCWD, path.value().c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW))); in RegularFileOrDelete()
118 O_RDONLY | O_NOFOLLOW | O_CREAT | O_EXCL | O_CLOEXEC, in TouchFileInternal()
/external/dhcpcd-6.8.2/
Dcommon.c150 #ifdef O_CLOEXEC in logger_open()
151 f |= O_CLOEXEC; in logger_open()
156 #ifndef O_CLOEXEC in logger_open()

1234