Home
last modified time | relevance | path

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

12

/illumos-gate/usr/src/test/os-tests/tests/oclo/
H A Doclo.c193 flags |= O_CLOEXEC; in oclo_file()
354 dflags |= O_CLOEXEC; in oclo_dup_common()
401 flags |= O_CLOEXEC; in oclo_pipe()
671 .clo_flags = O_CLOFORK | O_CLOEXEC,
675 .clo_flags = O_CLOEXEC,
687 .clo_flags = O_CLOFORK | O_CLOEXEC,
691 .clo_flags = O_CLOEXEC,
703 .clo_flags = O_CLOFORK | O_CLOEXEC,
707 .clo_flags = O_CLOEXEC,
719 .clo_flags = O_CLOFORK | O_CLOEXEC,
[all …]
H A Doclo_errors.c134 if (!oclo_dup3("dup3(): O_NONBLOCK|O_CLOXEC", O_NONBLOCK | O_CLOEXEC)) { in main()
160 if (!oclo_pipe2("pipe2(): O_SYNC|O_CLOXEC", O_SYNC | O_CLOEXEC)) { in main()
/illumos-gate/usr/src/lib/libc/port/gen/
H A Ddup.c61 if (flags & ~(O_CLOEXEC | O_CLOFORK)) { in dup3()
75 if ((flags & O_CLOEXEC) != 0) 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/amd64/FEATURE/
H A Dfcntl88 #define O_cloexec O_CLOEXEC
/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/lib/librename/common/
H A Dlibrename.c116 oflags |= O_CLOEXEC; in librename_atomic_fdinit()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dfcntl.c323 #ifdef O_CLOEXEC in main()
/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/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/libktest/common/
H A Dlibktest.c40 int fd = open(KTEST_DEV_PATH, O_RDONLY | O_CLOEXEC, 0); in ktest_init()
/illumos-gate/usr/src/lib/libnvme/common/
H A Dlibnvme.c694 ctrl->nc_fd = open(buf, O_RDWR | O_CLOEXEC); in nvme_ctrl_init()
/illumos-gate/usr/src/cmd/truss/
H A Dcodes.c2202 |O_CLOEXEC|O_DIRECTORY|O_DIRECT|O_CLOFORK|FXATTRDIROPEN)
2260 if (arg & O_CLOEXEC) in openarg()
H A Dprint.c385 long flags = ~(O_CLOEXEC | O_CLOFORK | O_NONBLOCK); in prt_pip()
392 if (val & O_CLOEXEC) { 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()

12