Searched refs:O_CLOEXEC (Results 1 – 17 of 17) sorted by relevance
| /third_party/ulib/backtrace/ |
| A D | posix.c | 48 #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 D | freopen.c | 22 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.c | 15 flags |= O_CLOEXEC; in __fmodeflags()
|
| A D | fopen.c | 24 if (flags & O_CLOEXEC) in fopen()
|
| A D | __fopen_rb_ca.c | 8 f->fd = open(filename, O_RDONLY | O_CLOEXEC); in __fopen_rb_ca()
|
| A D | popen.c | 24 if (pipe2(p, O_CLOEXEC)) in popen()
|
| /third_party/ulib/musl/include/sys/ |
| A D | eventfd.h | 13 #define EFD_CLOEXEC O_CLOEXEC
|
| A D | timerfd.h | 11 #define TFD_CLOEXEC O_CLOEXEC
|
| A D | signalfd.h | 14 #define SFD_CLOEXEC O_CLOEXEC
|
| /third_party/ulib/musl/src/time/ |
| A D | __map_file.c | 11 int fd = open(pathname, O_RDONLY | O_CLOEXEC | O_NONBLOCK); in __map_file()
|
| /third_party/ulib/musl/src/mman/ |
| A D | shm_open.c | 32 return open(name, flag | O_NOFOLLOW | O_CLOEXEC | O_NONBLOCK, mode); in shm_open()
|
| /third_party/ulib/musl/src/legacy/ |
| A D | getpass.c | 14 if ((fd = open("/dev/tty", O_RDWR | O_NOCTTY | O_CLOEXEC)) < 0) in getpass()
|
| /third_party/ulib/musl/src/process/ |
| A D | posix_spawn.c | 29 if (pipe2(args.p, O_CLOEXEC)) in __posix_spawnx()
|
| /third_party/ulib/musl/include/ |
| A D | fcntl.h | 66 #define O_CLOEXEC 0x00000100 macro
|
| /third_party/ulib/musl/src/misc/ |
| A D | syslog.c | 109 fd = open("/dev/console", O_WRONLY | O_NOCTTY | O_CLOEXEC); in _vsyslog()
|
| A D | wordexp.c | 112 if (pipe2(p, O_CLOEXEC) < 0) in wordexp()
|
| /third_party/ulib/musl/ |
| A D | WHATSNEW | 1257 - better O_CLOEXEC/SOCK_CLOEXEC fallbacks for old kernels 1444 - fchmodat was subject to fd leak race (missing O_CLOEXEC)
|
Completed in 16 milliseconds