Home
last modified time | relevance | path

Searched refs:FD_CLOEXEC (Results 1 – 25 of 73) 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); in main()
42 assert(flags != -1 && (flags & FD_CLOEXEC) == FD_CLOEXEC); in main()
/illumos-gate/usr/src/test/os-tests/tests/signalfd/
H A Dbasic_args.c61 if ((res & FD_CLOEXEC) != 0) { in main()
81 if ((res & FD_CLOEXEC) == 0) { in main()
/illumos-gate/usr/src/uts/common/syscall/
H A Dpipe.c199 f_setfd(fd1, FD_CLOEXEC); in pipe()
200 f_setfd(fd2, FD_CLOEXEC); in pipe()
H A Dopen.c234 f_setfd(fd, FD_CLOEXEC); in copen()
263 f_setfd(fd, FD_CLOEXEC); in copen()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/comp/
H A Dspawnveg.c193 fcntl(err[0], F_SETFD, FD_CLOEXEC);
194 fcntl(err[1], F_SETFD, FD_CLOEXEC);
H A Dfcntl.c77 op = ioctl(fd, n == FD_CLOEXEC ? FIOCLEX : FIONCLEX, 0);
/illumos-gate/usr/src/lib/libdiskmgt/common/
H A Dinuse_dump.c74 (void) fcntl(dump_fd, F_SETFD, FD_CLOEXEC); in inuse_dump()
/illumos-gate/usr/src/lib/libc/port/rt/
H A Dshm.c57 fcntl(fd, F_SETFD, flags | FD_CLOEXEC) < 0) { in shm_open()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/
H A Dprocopen.c268 fcntl(m->save, F_SETFD, FD_CLOEXEC); in modify()
280 fcntl(arg1, F_SETFD, FD_CLOEXEC); in modify()
362 fcntl(m->arg.fd.child.fd, F_SETFD, FD_CLOEXEC); in restore()
879 fcntl(proc->rfd, F_SETFD, FD_CLOEXEC); in procopen()
881 fcntl(proc->wfd, F_SETFD, FD_CLOEXEC); in procopen()
/illumos-gate/usr/src/contrib/ast/src/lib/libast/dir/
H A Dopendir.c59 fcntl(fd, F_SETFD, FD_CLOEXEC) ||
/illumos-gate/usr/src/lib/libc/port/gen/
H A Dfdopendir.c62 if (fcntl(fd, F_SETFD, FD_CLOEXEC) < 0) in fdopendir()
H A Dgetxby_door.c280 (void) fcntl(dp->doorfd, F_SETFD, FD_CLOEXEC); in _nsc_initdoor_fp()
558 (void) fcntl(backd->doorfd, F_SETFD, FD_CLOEXEC); in _nsc_trydoorcall_ext()
/illumos-gate/usr/src/cmd/mdb/common/mdb/
H A Dmdb_context.c85 (void) fcntl(zfd, F_SETFD, FD_CLOEXEC); in mdb_context_create()
H A Dmdb_shell.c76 (void) fcntl(fd, F_SETFD, FD_CLOEXEC); in closefd_walk()
/illumos-gate/usr/src/ucbhead/sys/
H A Dfcntl.h211 #define FD_CLOEXEC 1 /* close on exec flag */ macro
/illumos-gate/usr/src/lib/libsmbfs/smb/
H A Diod_cl.c120 (void) fcntl(fd, F_SETFD, FD_CLOEXEC); in smb_iod_open_door()
/illumos-gate/usr/src/lib/libsldap/common/
H A Dns_cache_door.c137 (void) fcntl(doorfd, F_SETFD, FD_CLOEXEC); in __ns_ldap_trydoorcall_getfd()
/illumos-gate/usr/src/lib/libcontract/common/
H A Dlibcontract_priv.c53 if ((flags != -1) && (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) != -1)) in close_on_exec()
/illumos-gate/usr/src/boot/sys/sys/
H A Dfcntl.h249 #define FD_CLOEXEC 1 /* close-on-exec flag */ macro
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/
H A Dsubshell.c127 fcntl(fd,F_SETFD,FD_CLOEXEC); in sh_subtmpfile()
144 sh_fcntl(sp->pipefd,F_SETFD,FD_CLOEXEC); in sh_subtmpfile()
568 fcntl(sp->pwdfd,F_SETFD,FD_CLOEXEC); in sh_subshell()
690 fcntl(fd,F_SETFD,FD_CLOEXEC); in sh_subshell()
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/edit/
H A Dhistory.c172 fcntl(acctfd,F_SETFD,FD_CLOEXEC); in acctinit()
303 fcntl(fd,F_SETFD,FD_CLOEXEC); in sh_histinit()
397 fcntl(fd,F_SETFD,FD_CLOEXEC); in sh_histinit()
1203 fcntl(oldfd,F_SETFD,FD_CLOEXEC); in hist_exceptf()
/illumos-gate/usr/src/uts/common/sys/
H A Dfcntl.h345 #define FD_CLOEXEC 1 /* close on exec flag */ macro
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/
H A Dfcntl.c101 #ifndef FD_CLOEXEC in main()
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/
H A Ddapl_tavor_hca.c259 if (fcntl(fd, F_SETFD, FD_CLOEXEC) < 0) { in dapli_process_tavor_node()
514 if (fcntl(fd, F_SETFD, FD_CLOEXEC) < 0) { in dapls_ib_open_hca()
/illumos-gate/usr/src/lib/libtsol/common/
H A Dcall_labeld.c152 (void) fcntl(doorfd, F_SETFD, FD_CLOEXEC); in __call_labeld()

123