Symbol: FD_CLOFORK
usr/src/cmd/ptools/pfiles/pfiles.c
337
if ((fdflags & FD_CLOFORK) != 0) {
usr/src/cmd/truss/print.c
2522
{ FD_CLOFORK, "|FD_CLOFORK" }
usr/src/lib/libc/port/gen/dup.c
78
dflags |= FD_CLOFORK;
usr/src/test/libproc-tests/tests/syscall/pr_target.h
50
#define PRT_CLOFORK_GETFD FD_CLOFORK
usr/src/test/libproc-tests/tests/syscall/pr_target.h
54
#define PRT_DUP3_GETFD (FD_CLOFORK | FD_CLOEXEC)
usr/src/test/os-tests/tests/oclo/oclo.c
1000
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
1004
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
1016
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
1020
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
1032
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
1036
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
104
bool fail = child && (rt->crt_flags & FD_CLOFORK) != 0;
usr/src/test/os-tests/tests/oclo/oclo.c
1048
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
1053
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
1065
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
1069
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
1081
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
1085
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
1093
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
1101
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
1109
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
1117
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
1125
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
1133
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
1141
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
1150
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
1186
if ((oclo_rtdata[i].crt_flags & FD_CLOFORK) == 0)
usr/src/test/os-tests/tests/oclo/oclo.c
198
if ((c->clo_flags & FD_CLOFORK) != 0)
usr/src/test/os-tests/tests/oclo/oclo.c
242
oclo_setfd_common(c, FD_CLOFORK);
usr/src/test/os-tests/tests/oclo/oclo.c
248
oclo_setfd_common(c, FD_CLOFORK | FD_CLOEXEC);
usr/src/test/os-tests/tests/oclo/oclo.c
298
oclo_fdup_common(c, FD_CLOFORK, F_DUPFD_CLOFORK);
usr/src/test/os-tests/tests/oclo/oclo.c
316
oclo_fdup_common(c, FD_CLOFORK, F_DUP2FD_CLOFORK);
usr/src/test/os-tests/tests/oclo/oclo.c
340
oclo_fdup_common(c, FD_CLOFORK, F_DUP3FD);
usr/src/test/os-tests/tests/oclo/oclo.c
346
oclo_fdup_common(c, FD_CLOEXEC | FD_CLOFORK, F_DUP3FD);
usr/src/test/os-tests/tests/oclo/oclo.c
359
if ((targ_flags & FD_CLOFORK) != 0)
usr/src/test/os-tests/tests/oclo/oclo.c
390
oclo_dup_common(c, FD_CLOFORK, true);
usr/src/test/os-tests/tests/oclo/oclo.c
396
oclo_dup_common(c, FD_CLOEXEC | FD_CLOFORK, true);
usr/src/test/os-tests/tests/oclo/oclo.c
406
if ((c->clo_flags & FD_CLOFORK) != 0)
usr/src/test/os-tests/tests/oclo/oclo.c
425
if ((c->clo_flags & FD_CLOFORK) != 0)
usr/src/test/os-tests/tests/oclo/oclo.c
446
if ((c->clo_flags & FD_CLOFORK) != 0)
usr/src/test/os-tests/tests/oclo/oclo.c
451
if ((targ_flags & FD_CLOFORK) != 0)
usr/src/test/os-tests/tests/oclo/oclo.c
521
oclo_accept_common(c, FD_CLOFORK, true);
usr/src/test/os-tests/tests/oclo/oclo.c
533
oclo_accept_common(c, FD_CLOEXEC | FD_CLOFORK, true);
usr/src/test/os-tests/tests/oclo/oclo.c
551
if ((c->clo_flags & FD_CLOFORK) != 0)
usr/src/test/os-tests/tests/oclo/oclo.c
586
if ((targ_flags & FD_CLOFORK) != 0)
usr/src/test/os-tests/tests/oclo/oclo.c
644
oclo_rights_common(c, FD_CLOFORK);
usr/src/test/os-tests/tests/oclo/oclo.c
650
oclo_rights_common(c, FD_CLOEXEC | FD_CLOFORK);
usr/src/test/os-tests/tests/oclo/oclo.c
663
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
667
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
743
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
747
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
759
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
763
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
775
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
779
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
791
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
795
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
807
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
811
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
823
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
827
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
839
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
843
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
855
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
859
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
871
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
876
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
888
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
892
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
904
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
908
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
920
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
924
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
936
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
940
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
952
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
956
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
968
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
972
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
984
.clo_flags = FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo.c
988
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
usr/src/test/os-tests/tests/oclo/oclo_errors.c
147
(FD_CLOEXEC | FD_CLOFORK) + 1)) {
usr/src/test/os-tests/tests/oclo/ocloexec_verify.c
125
FD_CLOEXEC | FD_CLOFORK, &errstr, 0);
usr/src/test/os-tests/tests/oclo/ocloexec_verify.c
53
bool clofork = (exp_flags & FD_CLOFORK) != 0;
usr/src/test/os-tests/tests/oclo/ocloexec_verify.c
54
exp_flags &= ~FD_CLOFORK;
usr/src/test/os-tests/tests/oclo/ocloexec_verify.c
86
if (clofork && (flags & FD_CLOFORK) != 0) {
usr/src/uts/common/fs/sockfs/socksubr.c
775
f_setfd_or(fd, FD_CLOFORK);
usr/src/uts/common/fs/sockfs/socksyscalls.c
164
f_setfd_or(fd, FD_CLOFORK);
usr/src/uts/common/fs/sockfs/socksyscalls.c
535
if (orig_flags & (FD_CLOEXEC | FD_CLOFORK)) {
usr/src/uts/common/fs/sockfs/socksyscalls.c
536
f_setfd_or(nfd, orig_flags & (FD_CLOEXEC | FD_CLOFORK));
usr/src/uts/common/fs/sockfs/socksyscalls.c
748
f_setfd_or(nfd, FD_CLOFORK);
usr/src/uts/common/os/fio.c
1339
flags &= (FD_CLOEXEC | FD_CLOFORK);
usr/src/uts/common/os/fio.c
1534
} else if ((ufp->uf_flag & FD_CLOFORK) != 0) {
usr/src/uts/common/os/fio.c
1552
ufp->uf_flag &= ~FD_CLOFORK;
usr/src/uts/common/os/fio.c
882
if ((pufp->uf_flag & FD_CLOFORK) == 0) {
usr/src/uts/common/os/fio.c
902
} else if ((pufp->uf_flag & FD_CLOFORK) != 0) {
usr/src/uts/common/syscall/fcntl.c
107
if ((arg1 & ~(FD_CLOEXEC | FD_CLOFORK)) != 0) {
usr/src/uts/common/syscall/fcntl.c
206
f_setfd_or(retval, FD_CLOFORK);
usr/src/uts/common/syscall/fcntl.c
251
f_setfd_or(iarg, FD_CLOFORK);
usr/src/uts/common/syscall/open.c
238
f_setfd_or(fd, FD_CLOFORK);
usr/src/uts/common/syscall/open.c
271
f_setfd_or(fd, FD_CLOFORK);
usr/src/uts/common/syscall/pipe.c
204
f_setfd_or(fd1, FD_CLOFORK);
usr/src/uts/common/syscall/pipe.c
205
f_setfd_or(fd2, FD_CLOFORK);