/illumos-gate/usr/src/test/os-tests/tests/poll/ |
H A D | epoll_test.c | 34 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 D | basic_args.c | 61 if ((res & FD_CLOEXEC) != 0) { in main() 81 if ((res & FD_CLOEXEC) == 0) { in main()
|
/illumos-gate/usr/src/uts/common/syscall/ |
H A D | pipe.c | 199 f_setfd(fd1, FD_CLOEXEC); in pipe() 200 f_setfd(fd2, FD_CLOEXEC); in pipe()
|
H A D | open.c | 234 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 D | spawnveg.c | 193 fcntl(err[0], F_SETFD, FD_CLOEXEC); 194 fcntl(err[1], F_SETFD, FD_CLOEXEC);
|
H A D | fcntl.c | 77 op = ioctl(fd, n == FD_CLOEXEC ? FIOCLEX : FIONCLEX, 0);
|
/illumos-gate/usr/src/lib/libdiskmgt/common/ |
H A D | inuse_dump.c | 74 (void) fcntl(dump_fd, F_SETFD, FD_CLOEXEC); in inuse_dump()
|
/illumos-gate/usr/src/lib/libc/port/rt/ |
H A D | shm.c | 57 fcntl(fd, F_SETFD, flags | FD_CLOEXEC) < 0) { in shm_open()
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/misc/ |
H A D | procopen.c | 268 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 D | opendir.c | 59 fcntl(fd, F_SETFD, FD_CLOEXEC) ||
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | fdopendir.c | 62 if (fcntl(fd, F_SETFD, FD_CLOEXEC) < 0) in fdopendir()
|
H A D | getxby_door.c | 280 (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 D | mdb_context.c | 85 (void) fcntl(zfd, F_SETFD, FD_CLOEXEC); in mdb_context_create()
|
H A D | mdb_shell.c | 76 (void) fcntl(fd, F_SETFD, FD_CLOEXEC); in closefd_walk()
|
/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/libsmbfs/smb/ |
H A D | iod_cl.c | 120 (void) fcntl(fd, F_SETFD, FD_CLOEXEC); in smb_iod_open_door()
|
/illumos-gate/usr/src/lib/libsldap/common/ |
H A D | ns_cache_door.c | 137 (void) fcntl(doorfd, F_SETFD, FD_CLOEXEC); in __ns_ldap_trydoorcall_getfd()
|
/illumos-gate/usr/src/lib/libcontract/common/ |
H A D | libcontract_priv.c | 53 if ((flags != -1) && (fcntl(fd, F_SETFD, flags | FD_CLOEXEC) != -1)) in close_on_exec()
|
/illumos-gate/usr/src/boot/sys/sys/ |
H A D | fcntl.h | 249 #define FD_CLOEXEC 1 /* close-on-exec flag */ macro
|
/illumos-gate/usr/src/contrib/ast/src/cmd/ksh93/sh/ |
H A D | subshell.c | 127 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 D | history.c | 172 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 D | fcntl.h | 345 #define FD_CLOEXEC 1 /* close on exec flag */ macro
|
/illumos-gate/usr/src/contrib/ast/src/lib/libast/features/ |
H A D | fcntl.c | 101 #ifndef FD_CLOEXEC in main()
|
/illumos-gate/usr/src/lib/udapl/udapl_tavor/tavor/ |
H A D | dapl_tavor_hca.c | 259 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 D | call_labeld.c | 152 (void) fcntl(doorfd, F_SETFD, FD_CLOEXEC); in __call_labeld()
|