/illumos-gate/usr/src/test/os-tests/tests/poll/ |
H A D | epoll_test.c | 34 assert(flags != -1 && (flags & FD_CLOEXEC) == 0); 42 assert(flags != -1 && (flags & FD_CLOEXEC) == FD_CLOEXEC);
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_dump.c | 76 (void) fcntl(dump_fd, F_SETFD, FD_CLOEXEC);
|
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | shm.c | 59 fcntl(fd, F_SETFD, flags | FD_CLOEXEC) < 0) {
|
/illumos-gate/usr/src/lib/libast/common/dir/ |
H A D | opendir.c | 58 fcntl(fd, F_SETFD, FD_CLOEXEC) ||
|
/illumos-gate/usr/src/lib/libast/common/comp/ |
H A D | fcntl.c | 77 op = ioctl(fd, n == FD_CLOEXEC ? FIOCLEX : FIONCLEX, 0);
|
H A D | spawnveg.c | 192 fcntl(err[0], F_SETFD, FD_CLOEXEC); 193 fcntl(err[1], F_SETFD, FD_CLOEXEC);
|
/illumos-gate/usr/src/lib/libbc/libc/gen/common/ |
H A D | opendir.c | 72 (void) fcntl(fd, F_SETFD, FD_CLOEXEC);
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | fdopendir.c | 64 if (fcntl(fd, F_SETFD, FD_CLOEXEC) < 0)
|
H A D | getxby_door.c | 282 (void) fcntl(dp->doorfd, F_SETFD, FD_CLOEXEC); 560 (void) fcntl(backd->doorfd, F_SETFD, FD_CLOEXEC);
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | pipe.c | 199 f_setfd(fd1, FD_CLOEXEC); 200 f_setfd(fd2, FD_CLOEXEC);
|
H A D | open.c | 233 f_setfd(fd, FD_CLOEXEC); 262 f_setfd(fd, FD_CLOEXEC);
|
/illumos-gate/usr/src/lib/libbc/inc/include/sys/ |
H A D | fcntlcom.h | 119 #define FD_CLOEXEC 1 /* posix */ macro
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_cache_door.c | 139 (void) fcntl(doorfd, F_SETFD, FD_CLOEXEC);
|
/illumos-gate/usr/src/lib/libcontract/common/ |
H A D | libcontract_priv.c | 55 if ((flags != -1) && (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) != -1))
|
/illumos-gate/usr/src/lib/libbc/libc/sys/common/ |
H A D | send.c | 102 if (fcntl(s, F_SETFD, FD_CLOEXEC) == -1)
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_context.c | 87 (void) fcntl(zfd, F_SETFD, FD_CLOEXEC);
|
H A D | mdb_shell.c | 67 * We must manually walk the open file descriptors and set FD_CLOEXEC, because 70 * preventing us from displaying an error message. Using FD_CLOEXEC ensures 78 (void) fcntl(fd, F_SETFD, FD_CLOEXEC);
|
/illumos-gate/usr/src/ucbhead/sys/ |
H A D | fcntl.h | 211 #define FD_CLOEXEC 1 /* close on exec flag */ macro
|
/illumos-gate/usr/src/lib/libast/common/misc/ |
H A D | procopen.c | 232 fcntl(m->save, F_SETFD, FD_CLOEXEC); 243 fcntl(arg1, F_SETFD, FD_CLOEXEC); 325 fcntl(m->arg.fd.child.fd, F_SETFD, FD_CLOEXEC); 817 fcntl(proc->rfd, F_SETFD, FD_CLOEXEC); 819 fcntl(proc->wfd, F_SETFD, FD_CLOEXEC);
|
/illumos-gate/usr/src/lib/libsmbfs/smb/ |
H A D | iod_cl.c | 120 (void) fcntl(fd, F_SETFD, FD_CLOEXEC);
|
/illumos-gate/usr/src/lib/libast/common/features/ |
H A D | fcntl.c | 101 #ifndef FD_CLOEXEC 102 printf("#define FD_CLOEXEC 1\n");
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | fcntl.h | 339 #define FD_CLOEXEC 1 /* close on exec flag */ macro
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | fcntl.h | 242 #define F_DUPFD_CLOEXEC 17 /* Like F_DUPFD, but FD_CLOEXEC is set */ 245 #define F_DUP2FD_CLOEXEC 18 /* Like F_DUP2FD, but FD_CLOEXEC is set */ 249 #define FD_CLOEXEC 1 /* close-on-exec flag */ macro
|
/illumos-gate/usr/src/lib/pkcs11/pkcs11_kernel/common/ |
H A D | kernelGeneral.c | 215 (void) fcntl(kernel_fd, F_SETFD, FD_CLOEXEC);
|
/illumos-gate/usr/src/lib/libcryptoutil/common/ |
H A D | random.c | 72 (void) fcntl(fd, F_SETFD, FD_CLOEXEC);
|