O_CLOEXEC 1221 lib-src/emacsclient.c wdfd = open (".", O_PATH | O_CLOEXEC); O_CLOEXEC 1459 lib-src/emacsclient.c int dir = open (sockname, O_PATH | O_DIRECTORY | O_NOFOLLOW | O_CLOEXEC); O_CLOEXEC 7705 lib-src/etags.c int fd = mkostemp (templt, O_CLOEXEC); O_CLOEXEC 133 lib-src/seccomp-filter.c O_WRONLY | O_CREAT | O_TRUNC | O_BINARY | O_CLOEXEC, O_CLOEXEC 263 lib-src/seccomp-filter.c ~(O_RDONLY | O_BINARY | O_CLOEXEC | O_PATH O_CLOEXEC 268 lib-src/seccomp-filter.c ~(O_RDONLY | O_BINARY | O_CLOEXEC | O_PATH O_CLOEXEC 94 lib/fchmodat.c int fd = openat (dir, file, O_PATH | O_NOFOLLOW | O_CLOEXEC); O_CLOEXEC 64 lib/fcntl.c BOOL inherit = flags & O_CLOEXEC ? FALSE : TRUE; O_CLOEXEC 492 lib/fcntl.c result = dupfd (fd, target, O_CLOEXEC); O_CLOEXEC 274 lib/fcntl.in.h # if defined O_CLOEXEC && ! (INT_MIN <= O_CLOEXEC && O_CLOEXEC <= INT_MAX) O_CLOEXEC 290 lib/fcntl.in.h #if !defined O_CLOEXEC && defined O_NOINHERIT O_CLOEXEC 295 lib/fcntl.in.h #ifndef O_CLOEXEC O_CLOEXEC 514 lib/getloadavg.c fd = open (LINUX_LDAV_FILE, O_RDONLY | O_CLOEXEC); O_CLOEXEC 570 lib/getloadavg.c int fd = open (NETBSD_LDAV_FILE, O_RDONLY | O_CLOEXEC); O_CLOEXEC 878 lib/getloadavg.c int fd = open ("/dev/kmem", O_RDONLY | O_CLOEXEC); O_CLOEXEC 176 lib/getrandom.c int oflags = (O_RDONLY + O_CLOEXEC O_CLOEXEC 47 lib/lchmod.c int fd = open (file, O_PATH | O_NOFOLLOW | O_CLOEXEC); O_CLOEXEC 131 lib/open.c flags & ~(have_cloexec < 0 ? O_CLOEXEC : 0), mode); O_CLOEXEC 133 lib/open.c if (flags & O_CLOEXEC) O_CLOEXEC 141 lib/open.c fd = orig_open (filename, flags & ~O_CLOEXEC, mode); O_CLOEXEC 82 lib/openat-proc.c O_SEARCH | O_DIRECTORY | O_NOCTTY | O_NONBLOCK | O_CLOEXEC); O_CLOEXEC 69 lib/pipe2.c if ((flags & ~(O_CLOEXEC | O_NONBLOCK | O_BINARY | O_TEXT)) != 0) O_CLOEXEC 126 lib/pipe2.c if (flags & O_CLOEXEC) O_CLOEXEC 60 lib/save-cwd.c cwd->desc = open (".", O_SEARCH | O_CLOEXEC); O_CLOEXEC 492 src/android.c if (pipe2 (select_pipe, O_CLOEXEC) < 0) O_CLOEXEC 1278 src/android.c if (pipe2 (pipefd, O_CLOEXEC) < 0) O_CLOEXEC 1810 src/androidvfs.c rc = fcntl (fd, F_SETFD, flags | O_CLOEXEC); O_CLOEXEC 1899 src/androidvfs.c if (flags & O_CLOEXEC) O_CLOEXEC 2295 src/androidvfs.c dir->fd = open ("/dev/null", O_RDONLY | O_CLOEXEC); O_CLOEXEC 2737 src/androidvfs.c dir->fd = open ("/dev/null", O_RDONLY | O_CLOEXEC); O_CLOEXEC 3075 src/androidvfs.c if (mode & O_CLOEXEC) O_CLOEXEC 3765 src/androidvfs.c dir->fd = open ("/dev/null", O_RDONLY | O_CLOEXEC); O_CLOEXEC 5417 src/androidvfs.c dir->fd = open ("/dev/null", O_RDONLY | O_CLOEXEC); O_CLOEXEC 1012 src/callproc.c fd = mkostemp (tempfile, O_BINARY | O_CLOEXEC); O_CLOEXEC 1027 src/dired.c int namefd = emacs_openat (fd, name, O_PATH | O_CLOEXEC | O_NOFOLLOW, 0); O_CLOEXEC 1173 src/emacs.c = emacs_open_noquit (file, O_RDONLY | O_CLOEXEC | O_BINARY, 0); O_CLOEXEC 801 src/fileio.c int fd = gen_tempname (data, suffix_len, O_BINARY | O_CLOEXEC, kind); O_CLOEXEC 3220 src/fileio.c O_PATH | O_CLOEXEC | O_DIRECTORY, 0); O_CLOEXEC 230 src/filelock.c fd = mkostemp (nonce, O_BINARY | O_CLOEXEC); O_CLOEXEC 85 src/msdos.h #ifdef O_CLOEXEC O_CLOEXEC 2475 src/sysdep.c oflags |= O_CLOEXEC; O_CLOEXEC 2508 src/sysdep.c oflags |= O_CLOEXEC; O_CLOEXEC 2559 src/sysdep.c return pipe2 (fd, O_BINARY | O_CLOEXEC); O_CLOEXEC 8761 src/w32.c eassert (pipe2_flags == (O_BINARY | O_CLOEXEC));