Home
last modified time | relevance | path

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

/illumos-gate/usr/src/lib/libc/port/gen/
H A Ddup.c57 if (flags & ~O_CLOEXEC) { in dup3()
H A Dfts.c176 (sp->fts_rfd = open(".", O_RDONLY | O_CLOEXEC)) < 0) in fts_open()
302 open(".", O_RDONLY | O_CLOEXEC)) < 0) { in fts_read()
392 open(".", O_RDONLY | O_CLOEXEC)) < 0) { in fts_read()
530 if ((fd = open(".", O_RDONLY | O_CLOEXEC)) < 0) in fts_children()
1031 if (fd < 0 && (newfd = open(path, O_RDONLY|O_CLOEXEC)) < 0) in fts_safe_changedir()
/illumos-gate/usr/src/lib/libc/port/sys/
H A Dsignalfd.c39 oflags |= O_CLOEXEC; in signalfd()
H A Deventfd.c39 oflags |= O_CLOEXEC; in eventfd()
H A Dtimerfd.c37 oflags |= O_CLOEXEC; in timerfd_create()
H A Depoll.c109 oflags |= O_CLOEXEC; in epoll_create1()
/illumos-gate/usr/src/lib/libc/port/stdio/
H A D_stdio_flags.c93 oflag = oflag | O_CLOEXEC; in _stdio_flags()
/illumos-gate/usr/src/boot/sys/sys/
H A Dfcntl.h129 #define O_CLOEXEC 0x00100000 macro
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/
H A Dfcntl_h.cfg33 value | O_CLOEXEC | int | fcntl.h | POSIX+ SUS+
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/
H A Dfcntl88 #define O_cloexec O_CLOEXEC
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/
H A Dfcntl88 #define O_cloexec O_CLOEXEC
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/
H A Dfcntl88 #define O_cloexec O_CLOEXEC
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/
H A Dfcntl88 #define O_cloexec O_CLOEXEC
/illumos-gate/usr/src/uts/common/sys/
H A Dfcntl.h88 #define O_CLOEXEC 0x800000 /* set the close-on-exec flag */ macro
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dfcntl.c323 #ifdef O_CLOEXEC in main()
/illumos-gate/usr/src/lib/librename/common/
H A Dlibrename.c116 oflags |= O_CLOEXEC; in librename_atomic_fdinit()
/illumos-gate/usr/src/test/libc-tests/tests/fexecve/
H A Dfexecve_test.c196 fd = open("/usr/bin/ls", O_RDONLY | O_EXEC | O_CLOEXEC); in case_cloexec()
/illumos-gate/usr/src/lib/libkstat/common/
H A Dkstat.c74 kd = open("/dev/kstat", O_RDONLY | O_CLOEXEC); in kstat_open()
/illumos-gate/usr/src/lib/libnvme/common/
H A Dlibnvme.c686 ctrl->nc_fd = open(buf, O_RDWR | O_CLOEXEC); in nvme_ctrl_init()
/illumos-gate/usr/src/cmd/truss/
H A Dcodes.c1963 |O_CLOEXEC|O_DIRECTORY|O_DIRECT|FXATTRDIROPEN)
2021 if (arg & O_CLOEXEC) in openarg()
H A Dprint.c386 case O_CLOEXEC: in prt_pip()
392 case O_CLOEXEC|O_NONBLOCK: in prt_pip()
/illumos-gate/usr/src/lib/libzfs/common/
H A Dlibzfs_mount.c218 O_RDONLY | O_NDELAY | O_LARGEFILE | O_CLOEXEC, 0)) < 0) { in dir_is_empty_readdir()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/port/
H A Dastlicense.c40 #ifdef O_CLOEXEC
/illumos-gate/usr/src/contrib/ast/src/lib/libast/
H A DRELEASE10 12-06-18 sfio/_sfopen.c: add 'e' => O_CLOEXEC
11 12-06-18 features/fcntl.c: add #define O_CLOEXEC 0 if not defined
/illumos-gate/usr/src/contrib/zlib/
H A DChangeLog189 - Add "x" (O_EXCL) and "e" (O_CLOEXEC) modes support to gzopen()