Home
last modified time | relevance | path

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

12

/bionic/libc/kernel/uapi/linux/
Dtimerfd.h26 #define TFD_CLOEXEC O_CLOEXEC
Deventpoll.h23 #define EPOLL_CLOEXEC O_CLOEXEC
Dsignalfd.h23 #define SFD_CLOEXEC O_CLOEXEC
Dinotify.h54 #define IN_CLOEXEC O_CLOEXEC
/bionic/libc/include/sys/
Dinotify.h52 #define IN_CLOEXEC O_CLOEXEC
Dtimerfd.h42 #define TFD_CLOEXEC O_CLOEXEC
Deventfd.h37 #define EFD_CLOEXEC O_CLOEXEC
Dsocket.h64 #define SOCK_CLOEXEC O_CLOEXEC
/bionic/libc/bionic/
Dfchmodat.cpp50 int fd = openat(dirfd, pathname, O_PATH | O_NOFOLLOW | O_CLOEXEC); in fchmodat()
Dbionic_systrace.cpp49 g_trace_marker_fd = open("/sys/kernel/debug/tracing/trace_marker", O_CLOEXEC | O_WRONLY); in get_trace_marker_fd()
Dpthread_setname_np.cpp48 return open(comm_name, O_CLOEXEC | flags); in __open_task_comm_fd()
Dscandir.cpp103 int dir_fd = openat(parent_fd, dir_name, O_CLOEXEC | O_DIRECTORY | O_RDONLY); in scandirat()
Dgetentropy_linux.c230 #ifdef O_CLOEXEC in getentropy_urandom()
231 flags |= O_CLOEXEC; in getentropy_urandom()
239 #ifndef O_CLOEXEC in getentropy_urandom()
Ddirent.cpp91 int fd = open(path, O_CLOEXEC | O_DIRECTORY | O_RDONLY); in opendir()
/bionic/libc/kernel/uapi/asm-generic/
Dfcntl.h65 #ifndef O_CLOEXEC
66 #define O_CLOEXEC 02000000 macro
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dflags.c84 o |= O_CLOEXEC; in __sflags()
Dmktemp.c38 #define MKOTEMP_FLAGS (O_APPEND | O_CLOEXEC | O_DSYNC | O_RSYNC | O_SYNC)
/bionic/tests/
Dbug_26110743_test.cpp32 int fd = open("/dev/null", O_RDWR | O_CLOEXEC); in ProcSelfReadlinkBody()
74 int fd = open("/dev/null", O_RDWR | O_CLOEXEC); in ProcTaskFdReadlinkBody()
Dstdlib_test.cpp284 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()
Difaddrs_test.cpp295 int fd = open("/dev/null", O_RDONLY|O_CLOEXEC); in TEST()
/bionic/tools/versioner/src/
DVFS.cpp52 unique_fd fd(open(file_path, O_RDONLY | O_CLOEXEC)); in addDirectoryToVFS()
/bionic/libc/upstream-netbsd/lib/libc/gen/
Dpopen.c93 flags = strchr(xtype, 'e') ? O_CLOEXEC : 0; in popen()
/bionic/libc/tzcode/
Dbionic.cpp110 int fd = TEMP_FAILURE_RETRY(open(path, O_RDONLY | O_CLOEXEC)); in __bionic_open_tzdata_path()
/bionic/libc/malloc_debug/
DRecordData.cpp144 int dump_fd = open(dump_file_.c_str(), O_WRONLY | O_CREAT | O_TRUNC | O_CLOEXEC | O_NOFOLLOW, in Dump()
/bionic/libc/stdio/
Dstdio.cpp258 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