Home
last modified time | relevance | path

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

123456

/external/strace/tests-mx32/
Depoll_create1.c32 #if defined __NR_epoll_create1 && defined O_CLOEXEC
40 long rc = syscall(__NR_epoll_create1, O_CLOEXEC); in main()
43 rc = syscall(__NR_epoll_create1, O_CLOEXEC | O_NONBLOCK); in main()
Daccept4.c33 #if defined HAVE_ACCEPT4 && defined O_CLOEXEC
36 # define SUFFIX_ARGS , O_CLOEXEC
Deventfd.c33 #if defined __NR_eventfd2 && defined O_CLOEXEC
39 if (syscall(__NR_eventfd2, -1L, 1 | O_CLOEXEC | O_NONBLOCK)) in main()
Duserfaultfd.c33 #if defined __NR_userfaultfd && defined O_CLOEXEC
41 long rc = syscall(__NR_userfaultfd, 1 | O_NONBLOCK | O_CLOEXEC); in main()
Ddup3.c5 #if defined __NR_dup3 && defined O_CLOEXEC
16 long rc = syscall(__NR_dup3, fd_old, fd_new, O_CLOEXEC); in main()
/external/strace/tests-m32/
Depoll_create1.c32 #if defined __NR_epoll_create1 && defined O_CLOEXEC
40 long rc = syscall(__NR_epoll_create1, O_CLOEXEC); in main()
43 rc = syscall(__NR_epoll_create1, O_CLOEXEC | O_NONBLOCK); in main()
Daccept4.c33 #if defined HAVE_ACCEPT4 && defined O_CLOEXEC
36 # define SUFFIX_ARGS , O_CLOEXEC
Deventfd.c33 #if defined __NR_eventfd2 && defined O_CLOEXEC
39 if (syscall(__NR_eventfd2, -1L, 1 | O_CLOEXEC | O_NONBLOCK)) in main()
Duserfaultfd.c33 #if defined __NR_userfaultfd && defined O_CLOEXEC
41 long rc = syscall(__NR_userfaultfd, 1 | O_NONBLOCK | O_CLOEXEC); in main()
Ddup3.c5 #if defined __NR_dup3 && defined O_CLOEXEC
16 long rc = syscall(__NR_dup3, fd_old, fd_new, O_CLOEXEC); 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
Dinotify_init_flags.h5 #if defined IN_CLOEXEC || defined O_CLOEXEC
7 # define IN_CLOEXEC O_CLOEXEC
20 #if defined IN_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
Dinotify_init_flags.in2 #if defined IN_CLOEXEC || defined O_CLOEXEC
3 IN_CLOEXEC O_CLOEXEC
Defd_flags.in2 #if defined EFD_CLOEXEC || defined O_CLOEXEC
3 EFD_CLOEXEC O_CLOEXEC
/external/strace/tests/
Depoll_create1.c32 #if defined __NR_epoll_create1 && defined O_CLOEXEC
40 long rc = syscall(__NR_epoll_create1, O_CLOEXEC); in main()
43 rc = syscall(__NR_epoll_create1, O_CLOEXEC | O_NONBLOCK); in main()
Daccept4.c33 #if defined HAVE_ACCEPT4 && defined O_CLOEXEC
36 # define SUFFIX_ARGS , O_CLOEXEC
Deventfd.c33 #if defined __NR_eventfd2 && defined O_CLOEXEC
39 if (syscall(__NR_eventfd2, -1L, 1 | O_CLOEXEC | O_NONBLOCK)) in main()
Duserfaultfd.c33 #if defined __NR_userfaultfd && defined O_CLOEXEC
41 long rc = syscall(__NR_userfaultfd, 1 | O_NONBLOCK | O_CLOEXEC); in main()
/external/libchrome/sandbox/linux/services/
Dproc_util.cc35 HANDLE_EINTR(open(path, O_RDONLY | O_DIRECTORY | O_CLOEXEC))); in OpenDirectory()
45 openat(proc_fd, "self/fd/", O_DIRECTORY | O_RDONLY | O_CLOEXEC)); in CountOpenFds()
75 openat(proc_fd, "self/fd/", O_DIRECTORY | O_RDONLY | O_CLOEXEC); in HasOpenDirectory()
111 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

123456