Searched refs:O_CLOEXEC (Results 1 - 25 of 89) sorted by relevance
1234
/external/strace/tests/ |
H A D | epoll_create1.c | 39 #if defined __NR_epoll_create1 && defined O_CLOEXEC 41 if (syscall(__NR_epoll_create1, O_CLOEXEC)) 43 return syscall(__NR_epoll_create1, O_CLOEXEC | O_NONBLOCK) >= 0;
|
H A D | eventfd.c | 39 #if defined __NR_eventfd2 && defined O_CLOEXEC 41 return syscall(__NR_eventfd2, -1L, 1 | O_CLOEXEC | O_NONBLOCK) == 0 ?
|
H A D | signalfd.c | 42 #if defined HAVE_SYS_SIGNALFD_H && defined HAVE_SIGNALFD && defined O_CLOEXEC 48 return signalfd(-1, &mask, O_CLOEXEC | O_NONBLOCK) == 0 ?
|
H A D | userfaultfd.c | 41 #if defined __NR_userfaultfd && defined O_CLOEXEC 42 if (syscall(__NR_userfaultfd, 1 | O_NONBLOCK | O_CLOEXEC) != -1) 44 printf("userfaultfd(O_NONBLOCK|O_CLOEXEC|0x1) = -1 %s\n",
|
H A D | timerfd_xettime.c | 42 && defined O_CLOEXEC 48 if (syscall(__NR_timerfd_create, CLOCK_MONOTONIC, O_CLOEXEC | O_NONBLOCK))
|
/external/strace/xlat/ |
H A D | timerfdflags.in | 5 #if defined TFD_CLOEXEC || defined O_CLOEXEC 6 TFD_CLOEXEC O_CLOEXEC
|
H A D | inotify_init_flags.h | 14 #if defined(O_CLOEXEC) || (defined(HAVE_DECL_O_CLOEXEC) && HAVE_DECL_O_CLOEXEC) 15 XLAT(O_CLOEXEC),
|
H A D | uffd_flags.h | 14 #if defined(O_CLOEXEC) || (defined(HAVE_DECL_O_CLOEXEC) && HAVE_DECL_O_CLOEXEC) 15 XLAT(O_CLOEXEC),
|
H A D | epollflags.h | 2 #if defined EPOLL_CLOEXEC || defined O_CLOEXEC 4 # define EPOLL_CLOEXEC O_CLOEXEC 16 #if defined EPOLL_CLOEXEC || defined O_CLOEXEC
|
H A D | sfd_flags.h | 2 #if defined SFD_CLOEXEC || defined O_CLOEXEC 4 # define SFD_CLOEXEC O_CLOEXEC 19 #if defined SFD_CLOEXEC || defined O_CLOEXEC
|
H A D | efd_flags.h | 5 #if defined EFD_CLOEXEC || defined O_CLOEXEC 7 # define EFD_CLOEXEC O_CLOEXEC 23 #if defined EFD_CLOEXEC || defined O_CLOEXEC
|
H A D | timerfdflags.h | 8 #if defined TFD_CLOEXEC || defined O_CLOEXEC 10 # define TFD_CLOEXEC O_CLOEXEC 29 #if defined TFD_CLOEXEC || defined O_CLOEXEC
|
H A D | open_mode_flags.h | 63 #if defined(O_CLOEXEC) || (defined(HAVE_DECL_O_CLOEXEC) && HAVE_DECL_O_CLOEXEC) 64 XLAT(O_CLOEXEC),
|
/external/bison/lib/ |
H A D | dup-safer-flag.c | 30 STDERR_FILENO. If FLAG contains O_CLOEXEC, behave like 36 return fcntl (fd, (flag & O_CLOEXEC) ? F_DUPFD_CLOEXEC : F_DUPFD,
|
H A D | fcntl.in.h | 194 #if !defined O_CLOEXEC && defined O_NOINHERIT 196 # define O_CLOEXEC O_NOINHERIT 199 #ifndef O_CLOEXEC 200 # define O_CLOEXEC 0
|
H A D | pipe2.c | 70 if ((flags & ~(O_CLOEXEC | O_NONBLOCK | O_BINARY | O_TEXT)) != 0) 127 if (flags & O_CLOEXEC)
|
/external/libchrome/sandbox/linux/syscall_broker/ |
H A D | broker_common.h | 19 // O_CLOEXEC is tricky because in theory another thread could call execve() 23 // F_GETFD in fcntl(2)) and O_CLOEXEC (see F_GETFL in fcntl(2)). O_CLOEXEC 25 // descriptor was originally opened with O_CLOEXEC as a flag. And it is sent 27 // O_CLOEXEC instead of FD_CLOEXEC may be tricked in thinking that the file 29 const int kCurrentProcessOpenFlagsMask = O_CLOEXEC;
|
H A D | broker_client.cc | 48 // This implementation only knows about O_CLOEXEC, someone needs to look at 50 RAW_CHECK(kCurrentProcessOpenFlagsMask == O_CLOEXEC); 52 flags &= ~O_CLOEXEC;
|
/external/toybox/toys/other/ |
H A D | fsync.c | 31 loopfiles_rw(toys.optargs, O_RDONLY|O_NOATIME|O_NOCTTY|O_CLOEXEC,
|
H A D | truncate.c | 63 loopfiles_rw(toys.optargs, O_WRONLY|O_CLOEXEC|(cr ? O_CREAT : 0), 0666, cr,
|
/external/kernel-headers/original/uapi/linux/ |
H A D | eventpoll.h | 17 /* For O_CLOEXEC */ 22 #define EPOLL_CLOEXEC O_CLOEXEC
|
H A D | signalfd.h | 12 /* For O_CLOEXEC and O_NONBLOCK */ 16 #define SFD_CLOEXEC O_CLOEXEC
|
/external/libchrome/sandbox/linux/services/ |
H A D | proc_util.cc | 34 HANDLE_EINTR(open(path, O_RDONLY | O_DIRECTORY | O_CLOEXEC))); 44 openat(proc_fd, "self/fd/", O_DIRECTORY | O_RDONLY | O_CLOEXEC)); 74 openat(proc_fd, "self/fd/", O_DIRECTORY | O_RDONLY | O_CLOEXEC); 110 HANDLE_EINTR(open("/proc/", O_DIRECTORY | O_RDONLY | O_CLOEXEC)));
|
/external/kernel-headers/original/uapi/asm-generic/ |
H A D | fcntl.h | 61 #ifndef O_CLOEXEC 62 #define O_CLOEXEC 02000000 /* set close_on_exec */ macro
|
/external/libbrillo/brillo/ |
H A D | file_utils.cc | 63 AT_FDCWD, path.value().c_str(), O_RDONLY | O_CLOEXEC | O_NOFOLLOW))); 118 O_RDONLY | O_NOFOLLOW | O_CREAT | O_EXCL | O_CLOEXEC,
|
Completed in 1118 milliseconds
1234