Searched refs:O_CLOEXEC (Results 1 – 25 of 46) sorted by relevance
12
/bionic/libfdtrack/ |
D | fdtrack_test.cpp | 82 auto result = RunFdtrack([]() { fd = open("/dev/null", O_RDONLY | O_CLOEXEC); }); in TEST() 95 fd1 = open("/dev/null", O_RDONLY | O_CLOEXEC); in TEST() 96 fd2 = open("/dev/null", O_RDONLY | O_CLOEXEC); in TEST() 97 fd3 = open("/dev/null", O_RDONLY | O_CLOEXEC); in TEST()
|
/bionic/tests/ |
D | fdtrack_test.cpp | 129 static int fd = open("/dev/null", O_WRONLY | O_CLOEXEC); in TEST() 143 static int fd = open("/dev/null", O_WRONLY | O_CLOEXEC); in TEST() 164 fd1 = open("/dev/null", O_WRONLY | O_CLOEXEC); in TEST() 166 fd2 = open("/dev/null", O_WRONLY | O_CLOEXEC); in TEST() 168 fd3 = open("/dev/null", O_WRONLY | O_CLOEXEC); in TEST() 232 FDTRACK_TEST(open, open("/dev/null", O_WRONLY | O_CLOEXEC)); 233 FDTRACK_TEST(openat, openat(AT_EMPTY_PATH, "/dev/null", O_WRONLY | O_CLOEXEC)); 278 if (pipe2(fds.data(), O_CLOEXEC) != 0) {
|
D | bug_26110743_test.cpp | 34 int fd = open("/dev/null", O_RDWR | O_CLOEXEC); in ProcSelfReadlinkBody() 77 int fd = open("/dev/null", O_RDWR | O_CLOEXEC); in ProcTaskFdReadlinkBody()
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | fcntl.h | 55 #ifndef O_CLOEXEC 56 #define O_CLOEXEC 02000000 macro
|
/bionic/libc/bionic/ |
D | bionic_systrace.cpp | 51 g_trace_marker_fd = open("/sys/kernel/tracing/trace_marker", O_CLOEXEC | O_WRONLY); in get_trace_marker_fd() 53 g_trace_marker_fd = open("/sys/kernel/debug/tracing/trace_marker", O_CLOEXEC | O_WRONLY); in get_trace_marker_fd()
|
D | fchmodat.cpp | 50 ScopedFd fd(openat(dirfd, pathname, O_PATH | O_NOFOLLOW | O_CLOEXEC)); in fchmodat()
|
D | android_profiling_dynamic.cpp | 148 ScopedFd maps_fd{ open("/proc/self/maps", O_RDONLY | O_CLOEXEC) }; in HandleTracedPerfSignal() 149 ScopedFd mem_fd{ open("/proc/self/mem", O_RDONLY | O_CLOEXEC) }; in HandleTracedPerfSignal()
|
D | getentropy.cpp | 37 ScopedFd fd(TEMP_FAILURE_RETRY(open("/dev/urandom", O_RDONLY | O_NOFOLLOW | O_CLOEXEC, 0))); in getentropy_urandom()
|
D | realpath.cpp | 54 ScopedFd fd(open(path, O_PATH | O_CLOEXEC)); in realpath()
|
D | pthread_setname_np.cpp | 50 return open(comm_name, O_CLOEXEC | flags); in __open_task_comm_fd()
|
D | fts.c | 162 (sp->fts_rfd = open(".", O_RDONLY | O_CLOEXEC)) == -1) in __fts_open() 289 open(".", O_RDONLY | O_CLOEXEC)) == -1) { in fts_read() 379 open(".", O_RDONLY | O_CLOEXEC)) == -1) { in fts_read() 519 if ((fd = open(".", O_RDONLY | O_CLOEXEC)) == -1) in fts_children() 1030 if (fd == -1 && (newfd = open(path, O_RDONLY|O_DIRECTORY|O_CLOEXEC)) == -1) in fts_safe_changedir()
|
/bionic/libc/kernel/uapi/linux/ |
D | eventfd.h | 11 #define EFD_CLOEXEC O_CLOEXEC
|
D | timerfd.h | 14 #define TFD_CLOEXEC O_CLOEXEC
|
D | dma-heap.h | 11 #define DMA_HEAP_VALID_FD_FLAGS (O_CLOEXEC | O_ACCMODE)
|
D | signalfd.h | 11 #define SFD_CLOEXEC O_CLOEXEC
|
D | inotify.h | 43 #define IN_CLOEXEC O_CLOEXEC
|
D | eventpoll.h | 12 #define EPOLL_CLOEXEC O_CLOEXEC
|
D | mount.h | 46 #define OPEN_TREE_CLOEXEC O_CLOEXEC
|
/bionic/libc/include/sys/ |
D | inotify.h | 40 #define IN_CLOEXEC O_CLOEXEC
|
D | eventfd.h | 44 #define EFD_CLOEXEC O_CLOEXEC
|
D | timerfd.h | 44 #define TFD_CLOEXEC O_CLOEXEC
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | flags.c | 84 o |= O_CLOEXEC; in __sflags()
|
/bionic/linker/ |
D | linker_crt_pad_segment_test.cpp | 58 unique_fd fd{TEMP_FAILURE_RETRY(open(path.c_str(), O_CLOEXEC | O_RDWR))}; in GetPadSegment()
|
/bionic/tools/versioner/src/ |
D | VFS.cpp | 52 unique_fd fd(open(file_path, O_RDONLY | O_CLOEXEC)); in addDirectoryToVFS()
|
/bionic/tests/headers/posix/ |
D | fcntl_h.c | 56 MACRO(O_CLOEXEC); in fcntl_h()
|
12