/illumos-gate/usr/src/test/os-tests/tests/oclo/ |
H A D | oclo.c | 193 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 D | oclo_errors.c | 134 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 D | dup.c | 61 if (flags & ~(O_CLOEXEC | O_CLOFORK)) { in dup3() 75 if ((flags & O_CLOEXEC) != 0) in dup3()
|
H A D | fts.c | 176 (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 D | signalfd.c | 39 oflags |= O_CLOEXEC; in signalfd()
|
H A D | eventfd.c | 39 oflags |= O_CLOEXEC; in eventfd()
|
H A D | timerfd.c | 37 oflags |= O_CLOEXEC; in timerfd_create()
|
H A D | epoll.c | 109 oflags |= O_CLOEXEC; in epoll_create1()
|
/illumos-gate/usr/src/lib/libc/port/stdio/ |
H A D | _stdio_flags.c | 93 oflag = oflag | O_CLOEXEC; in _stdio_flags()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | fcntl.h | 129 #define O_CLOEXEC 0x00100000 macro
|
/illumos-gate/usr/src/test/libc-tests/cfg/symbols/ |
H A D | fcntl_h.cfg | 33 value | O_CLOEXEC | int | fcntl.h | POSIX+ SUS+
|
/illumos-gate/usr/src/cmd/ast/libast/amd64/FEATURE/ |
H A D | fcntl | 88 #define O_cloexec O_CLOEXEC
|
/illumos-gate/usr/src/cmd/ast/libast/i386/FEATURE/ |
H A D | fcntl | 88 #define O_cloexec O_CLOEXEC
|
/illumos-gate/usr/src/cmd/ast/libast/sparc/FEATURE/ |
H A D | fcntl | 88 #define O_cloexec O_CLOEXEC
|
/illumos-gate/usr/src/cmd/ast/libast/sparcv9/FEATURE/ |
H A D | fcntl | 88 #define O_cloexec O_CLOEXEC
|
/illumos-gate/usr/src/lib/librename/common/ |
H A D | librename.c | 116 oflags |= O_CLOEXEC; in librename_atomic_fdinit()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | fcntl.c | 323 #ifdef O_CLOEXEC in main()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | fcntl.h | 88 #define O_CLOEXEC 0x800000 /* set the close-on-exec flag */ macro
|
/illumos-gate/usr/src/test/libc-tests/tests/fexecve/ |
H A D | fexecve_test.c | 196 fd = open("/usr/bin/ls", O_RDONLY | O_EXEC | O_CLOEXEC); in case_cloexec()
|
/illumos-gate/usr/src/lib/libkstat/common/ |
H A D | kstat.c | 74 kd = open("/dev/kstat", O_RDONLY | O_CLOEXEC); in kstat_open()
|
/illumos-gate/usr/src/lib/libktest/common/ |
H A D | libktest.c | 40 int fd = open(KTEST_DEV_PATH, O_RDONLY | O_CLOEXEC, 0); in ktest_init()
|
/illumos-gate/usr/src/lib/libnvme/common/ |
H A D | libnvme.c | 694 ctrl->nc_fd = open(buf, O_RDWR | O_CLOEXEC); in nvme_ctrl_init()
|
/illumos-gate/usr/src/cmd/truss/ |
H A D | codes.c | 2202 |O_CLOEXEC|O_DIRECTORY|O_DIRECT|O_CLOFORK|FXATTRDIROPEN) 2260 if (arg & O_CLOEXEC) in openarg()
|
H A D | print.c | 385 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 D | libzfs_mount.c | 218 O_RDONLY | O_NDELAY | O_LARGEFILE | O_CLOEXEC, 0)) < 0) { in dir_is_empty_readdir()
|