Home
last modified time | relevance | path

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

12

/bionic/libc/include/sys/
Dinotify.h40 #define IN_CLOEXEC O_CLOEXEC
Dtimerfd.h41 #define TFD_CLOEXEC O_CLOEXEC
Deventfd.h37 #define EFD_CLOEXEC O_CLOEXEC
Depoll.h58 #define EPOLL_CLOEXEC O_CLOEXEC
Dsocket.h67 #define SOCK_CLOEXEC O_CLOEXEC
/bionic/libc/kernel/uapi/linux/
Deventpoll.h24 #define EPOLL_CLOEXEC O_CLOEXEC
Dsignalfd.h24 #define SFD_CLOEXEC O_CLOEXEC
Dinotify.h62 #define IN_CLOEXEC O_CLOEXEC
/bionic/libc/bionic/
Dfchmodat.cpp50 int fd = openat(dirfd, pathname, O_PATH | O_NOFOLLOW | O_CLOEXEC); in fchmodat()
Dpthread_setname_np.cpp68 int fd = open(comm_name, O_CLOEXEC | O_WRONLY); in pthread_setname_np()
Dbionic_systrace.cpp80 g_trace_marker_fd = open("/sys/kernel/debug/tracing/trace_marker", O_CLOEXEC | O_WRONLY); in get_trace_marker_fd()
Dgetentropy_linux.c241 #ifdef O_CLOEXEC in getentropy_urandom()
242 flags |= O_CLOEXEC; in getentropy_urandom()
250 #ifndef O_CLOEXEC in getentropy_urandom()
Ddirent.cpp91 int fd = open(path, O_CLOEXEC | O_DIRECTORY | O_RDONLY); in opendir()
Dlibc_logging.cpp431 int fd = TEMP_FAILURE_RETRY(open("/dev/stderr", O_CLOEXEC | O_WRONLY | O_APPEND)); in __libc_write_stderr()
521 int main_log_fd = TEMP_FAILURE_RETRY(open("/dev/log/main", O_CLOEXEC | O_WRONLY)); in __libc_write_log()
593 int event_log_fd = TEMP_FAILURE_RETRY(open("/dev/log/events", O_CLOEXEC | O_WRONLY)); in __libc_android_log_event()
Dsystem_properties.cpp191 O_RDWR | O_CREAT | O_NOFOLLOW | O_CLOEXEC | O_EXCL, 0444); in map_prop_area_rw()
265 int fd = open(property_filename, O_CLOEXEC | O_NOFOLLOW | O_RDONLY); in map_prop_area()
Dmalloc_debug_qemu.cpp610 int fd = open("/dev/qemu_trace", O_CLOEXEC | O_RDWR); in malloc_debug_initialize()
/bionic/libc/kernel/uapi/asm-generic/
Dfcntl.h76 #ifndef O_CLOEXEC
77 #define O_CLOEXEC 02000000 macro
/bionic/libc/upstream-openbsd/lib/libc/stdio/
Dflags.c84 o |= O_CLOEXEC; in __sflags()
Dfdopen.c81 if ((oflags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) in fdopen()
Dmktemp.c38 #define MKOTEMP_FLAGS (O_APPEND | O_CLOEXEC | O_DSYNC | O_RSYNC | O_SYNC)
Dfreopen.c137 if (dup3(f, wantfd, oflags & O_CLOEXEC) >= 0) { in freopen()
/bionic/libc/upstream-netbsd/lib/libc/gen/
Dpopen.c93 flags = strchr(xtype, 'e') ? O_CLOEXEC : 0; in popen()
/bionic/tests/
Dstdlib_test.cpp247 TemporaryFile tf([](char* path) { return mkostemp64(path, O_CLOEXEC); }); in TEST()
254 TemporaryFile tf([](char* path) { return mkostemp(path, O_CLOEXEC); }); in TEST()
396 int fd = posix_openpt(O_RDWR|O_NOCTTY|O_CLOEXEC); in TEST()
Ddlext_test.cpp110 extinfo.library_fd = TEMP_FAILURE_RETRY(open(lib_path.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F()
124 extinfo.library_fd = TEMP_FAILURE_RETRY(open(lib_path.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F()
144 extinfo.library_fd = TEMP_FAILURE_RETRY(open(lib_path.c_str(), O_RDONLY | O_CLOEXEC)); in TEST_F()
/bionic/libc/kernel/uapi/drm/
Ddrm.h450 #define DRM_CLOEXEC O_CLOEXEC

12