Searched refs:FD_CLOEXEC (Results 1 - 25 of 74) sorted by relevance

123

/illumos-gate/usr/src/test/os-tests/tests/poll/
H A Depoll_test.c34 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 Dinuse_dump.c76 (void) fcntl(dump_fd, F_SETFD, FD_CLOEXEC);
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dshm.c59 fcntl(fd, F_SETFD, flags | FD_CLOEXEC) < 0) {
/illumos-gate/usr/src/lib/libast/common/dir/
H A Dopendir.c58 fcntl(fd, F_SETFD, FD_CLOEXEC) ||
/illumos-gate/usr/src/lib/libast/common/comp/
H A Dfcntl.c77 op = ioctl(fd, n == FD_CLOEXEC ? FIOCLEX : FIONCLEX, 0);
H A Dspawnveg.c192 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 Dopendir.c72 (void) fcntl(fd, F_SETFD, FD_CLOEXEC);
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dfdopendir.c64 if (fcntl(fd, F_SETFD, FD_CLOEXEC) < 0)
H A Dgetxby_door.c282 (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 Dpipe.c199 f_setfd(fd1, FD_CLOEXEC);
200 f_setfd(fd2, FD_CLOEXEC);
H A Dopen.c233 f_setfd(fd, FD_CLOEXEC);
262 f_setfd(fd, FD_CLOEXEC);
/illumos-gate/usr/src/lib/libbc/inc/include/sys/
H A Dfcntlcom.h119 #define FD_CLOEXEC 1 /* posix */ macro
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_cache_door.c139 (void) fcntl(doorfd, F_SETFD, FD_CLOEXEC);
/illumos-gate/usr/src/lib/libcontract/common/
H A Dlibcontract_priv.c55 if ((flags != -1) && (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) != -1))
/illumos-gate/usr/src/lib/libbc/libc/sys/common/
H A Dsend.c102 if (fcntl(s, F_SETFD, FD_CLOEXEC) == -1)
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_context.c87 (void) fcntl(zfd, F_SETFD, FD_CLOEXEC);
H A Dmdb_shell.c67 * 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 Dfcntl.h211 #define FD_CLOEXEC 1 /* close on exec flag */ macro
/illumos-gate/usr/src/lib/libast/common/misc/
H A Dprocopen.c232 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 Diod_cl.c120 (void) fcntl(fd, F_SETFD, FD_CLOEXEC);
/illumos-gate/usr/src/lib/libast/common/features/
H A Dfcntl.c101 #ifndef FD_CLOEXEC
102 printf("#define FD_CLOEXEC 1\n");
/illumos-gate/usr/src/uts/common/sys/
H A Dfcntl.h339 #define FD_CLOEXEC 1 /* close on exec flag */ macro
/illumos-gate/usr/src/boot/sys/sys/
H A Dfcntl.h242 #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 DkernelGeneral.c215 (void) fcntl(kernel_fd, F_SETFD, FD_CLOEXEC);
/illumos-gate/usr/src/lib/libcryptoutil/common/
H A Drandom.c72 (void) fcntl(fd, F_SETFD, FD_CLOEXEC);

Completed in 86 milliseconds

123