Searched refs:O_CLOEXEC (Results 1 – 25 of 30) sorted by relevance
12
/bionic/libc/kernel/uapi/linux/ |
D | timerfd.h | 26 #define TFD_CLOEXEC O_CLOEXEC
|
D | eventpoll.h | 23 #define EPOLL_CLOEXEC O_CLOEXEC
|
D | signalfd.h | 23 #define SFD_CLOEXEC O_CLOEXEC
|
D | inotify.h | 54 #define IN_CLOEXEC O_CLOEXEC
|
/bionic/libc/include/sys/ |
D | inotify.h | 52 #define IN_CLOEXEC O_CLOEXEC
|
D | timerfd.h | 42 #define TFD_CLOEXEC O_CLOEXEC
|
D | eventfd.h | 37 #define EFD_CLOEXEC O_CLOEXEC
|
D | socket.h | 64 #define SOCK_CLOEXEC O_CLOEXEC
|
/bionic/libc/bionic/ |
D | fchmodat.cpp | 50 int fd = openat(dirfd, pathname, O_PATH | O_NOFOLLOW | O_CLOEXEC); in fchmodat()
|
D | bionic_systrace.cpp | 49 g_trace_marker_fd = open("/sys/kernel/debug/tracing/trace_marker", O_CLOEXEC | O_WRONLY); in get_trace_marker_fd()
|
D | pthread_setname_np.cpp | 48 return open(comm_name, O_CLOEXEC | flags); in __open_task_comm_fd()
|
D | scandir.cpp | 103 int dir_fd = openat(parent_fd, dir_name, O_CLOEXEC | O_DIRECTORY | O_RDONLY); in scandirat()
|
D | getentropy_linux.c | 230 #ifdef O_CLOEXEC in getentropy_urandom() 231 flags |= O_CLOEXEC; in getentropy_urandom() 239 #ifndef O_CLOEXEC in getentropy_urandom()
|
D | dirent.cpp | 91 int fd = open(path, O_CLOEXEC | O_DIRECTORY | O_RDONLY); in opendir()
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | fcntl.h | 65 #ifndef O_CLOEXEC 66 #define O_CLOEXEC 02000000 macro
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | flags.c | 84 o |= O_CLOEXEC; in __sflags()
|
D | mktemp.c | 38 #define MKOTEMP_FLAGS (O_APPEND | O_CLOEXEC | O_DSYNC | O_RSYNC | O_SYNC)
|
/bionic/tests/ |
D | bug_26110743_test.cpp | 32 int fd = open("/dev/null", O_RDWR | O_CLOEXEC); in ProcSelfReadlinkBody() 74 int fd = open("/dev/null", O_RDWR | O_CLOEXEC); in ProcTaskFdReadlinkBody()
|
D | stdlib_test.cpp | 284 TemporaryFile tf([](char* path) { return mkostemp64(path, O_CLOEXEC); }); in TEST() 291 TemporaryFile tf([](char* path) { return mkostemp(path, O_CLOEXEC); }); in TEST() 477 int fd = posix_openpt(O_RDWR|O_NOCTTY|O_CLOEXEC); in TEST()
|
D | ifaddrs_test.cpp | 295 int fd = open("/dev/null", O_RDONLY|O_CLOEXEC); in TEST()
|
/bionic/tools/versioner/src/ |
D | VFS.cpp | 52 unique_fd fd(open(file_path, O_RDONLY | O_CLOEXEC)); in addDirectoryToVFS()
|
/bionic/libc/upstream-netbsd/lib/libc/gen/ |
D | popen.c | 93 flags = strchr(xtype, 'e') ? O_CLOEXEC : 0; in popen()
|
/bionic/libc/tzcode/ |
D | bionic.cpp | 110 int fd = TEMP_FAILURE_RETRY(open(path, O_RDONLY | O_CLOEXEC)); in __bionic_open_tzdata_path()
|
/bionic/libc/malloc_debug/ |
D | RecordData.cpp | 144 int dump_fd = open(dump_file_.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in Dump()
|
/bionic/libc/stdio/ |
D | stdio.cpp | 258 if ((oflags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) { in fdopen() 342 if (dup3(fd, wantfd, oflags & O_CLOEXEC) >= 0) { in freopen()
|
12