Searched refs:O_CLOEXEC (Results 1 – 25 of 26) sorted by relevance
12
/bionic/libc/include/sys/ |
D | inotify.h | 40 #define IN_CLOEXEC O_CLOEXEC
|
D | timerfd.h | 41 #define TFD_CLOEXEC O_CLOEXEC
|
D | eventfd.h | 37 #define EFD_CLOEXEC O_CLOEXEC
|
D | epoll.h | 58 #define EPOLL_CLOEXEC O_CLOEXEC
|
D | socket.h | 67 #define SOCK_CLOEXEC O_CLOEXEC
|
/bionic/libc/kernel/uapi/linux/ |
D | eventpoll.h | 24 #define EPOLL_CLOEXEC O_CLOEXEC
|
D | signalfd.h | 24 #define SFD_CLOEXEC O_CLOEXEC
|
D | inotify.h | 62 #define IN_CLOEXEC O_CLOEXEC
|
/bionic/libc/bionic/ |
D | fchmodat.cpp | 50 int fd = openat(dirfd, pathname, O_PATH | O_NOFOLLOW | O_CLOEXEC); in fchmodat()
|
D | pthread_setname_np.cpp | 68 int fd = open(comm_name, O_CLOEXEC | O_WRONLY); in pthread_setname_np()
|
D | bionic_systrace.cpp | 80 g_trace_marker_fd = open("/sys/kernel/debug/tracing/trace_marker", O_CLOEXEC | O_WRONLY); in get_trace_marker_fd()
|
D | getentropy_linux.c | 241 #ifdef O_CLOEXEC in getentropy_urandom() 242 flags |= O_CLOEXEC; in getentropy_urandom() 250 #ifndef O_CLOEXEC in getentropy_urandom()
|
D | dirent.cpp | 91 int fd = open(path, O_CLOEXEC | O_DIRECTORY | O_RDONLY); in opendir()
|
D | libc_logging.cpp | 431 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()
|
D | system_properties.cpp | 191 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()
|
D | malloc_debug_qemu.cpp | 610 int fd = open("/dev/qemu_trace", O_CLOEXEC | O_RDWR); in malloc_debug_initialize()
|
/bionic/libc/kernel/uapi/asm-generic/ |
D | fcntl.h | 76 #ifndef O_CLOEXEC 77 #define O_CLOEXEC 02000000 macro
|
/bionic/libc/upstream-openbsd/lib/libc/stdio/ |
D | flags.c | 84 o |= O_CLOEXEC; in __sflags()
|
D | fdopen.c | 81 if ((oflags & O_CLOEXEC) && !((tmp = fcntl(fd, F_GETFD)) & FD_CLOEXEC)) in fdopen()
|
D | mktemp.c | 38 #define MKOTEMP_FLAGS (O_APPEND | O_CLOEXEC | O_DSYNC | O_RSYNC | O_SYNC)
|
D | freopen.c | 137 if (dup3(f, wantfd, oflags & O_CLOEXEC) >= 0) { in freopen()
|
/bionic/libc/upstream-netbsd/lib/libc/gen/ |
D | popen.c | 93 flags = strchr(xtype, 'e') ? O_CLOEXEC : 0; in popen()
|
/bionic/tests/ |
D | stdlib_test.cpp | 247 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()
|
D | dlext_test.cpp | 110 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/ |
D | drm.h | 450 #define DRM_CLOEXEC O_CLOEXEC
|
12