Home
last modified time | relevance | path

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

/third_party/ulib/backtrace/
A Dposix.c48 #ifndef O_CLOEXEC
49 #define O_CLOEXEC 0 macro
67 descriptor = open (filename, (int) (O_RDONLY | O_BINARY | O_CLOEXEC)); in backtrace_open()
/third_party/ulib/musl/src/stdio/
A Dfreopen.c22 if (fl & O_CLOEXEC) in freopen()
24 fl &= ~(O_CREAT | O_EXCL | O_CLOEXEC); in freopen()
33 else if (dup3(f2->fd, f->fd, fl & O_CLOEXEC) < 0) in freopen()
A D__fmodeflags.c15 flags |= O_CLOEXEC; in __fmodeflags()
A Dfopen.c24 if (flags & O_CLOEXEC) in fopen()
A D__fopen_rb_ca.c8 f->fd = open(filename, O_RDONLY | O_CLOEXEC); in __fopen_rb_ca()
A Dpopen.c24 if (pipe2(p, O_CLOEXEC)) in popen()
/third_party/ulib/musl/include/sys/
A Deventfd.h13 #define EFD_CLOEXEC O_CLOEXEC
A Dtimerfd.h11 #define TFD_CLOEXEC O_CLOEXEC
A Dsignalfd.h14 #define SFD_CLOEXEC O_CLOEXEC
/third_party/ulib/musl/src/time/
A D__map_file.c11 int fd = open(pathname, O_RDONLY | O_CLOEXEC | O_NONBLOCK); in __map_file()
/third_party/ulib/musl/src/mman/
A Dshm_open.c32 return open(name, flag | O_NOFOLLOW | O_CLOEXEC | O_NONBLOCK, mode); in shm_open()
/third_party/ulib/musl/src/legacy/
A Dgetpass.c14 if ((fd = open("/dev/tty", O_RDWR | O_NOCTTY | O_CLOEXEC)) < 0) in getpass()
/third_party/ulib/musl/src/process/
A Dposix_spawn.c29 if (pipe2(args.p, O_CLOEXEC)) in __posix_spawnx()
/third_party/ulib/musl/include/
A Dfcntl.h66 #define O_CLOEXEC 0x00000100 macro
/third_party/ulib/musl/src/misc/
A Dsyslog.c109 fd = open("/dev/console", O_WRONLY | O_NOCTTY | O_CLOEXEC); in _vsyslog()
A Dwordexp.c112 if (pipe2(p, O_CLOEXEC) < 0) in wordexp()
/third_party/ulib/musl/
A DWHATSNEW1257 - better O_CLOEXEC/SOCK_CLOEXEC fallbacks for old kernels
1444 - fchmodat was subject to fd leak race (missing O_CLOEXEC)

Completed in 16 milliseconds