Symbol: FD_CLOFORK
lib/libc/gen/dup3.c
57
((flags & O_CLOFORK) != 0 ? FD_CLOFORK : 0);
sys/kern/kern_descrip.c
721
((tmp & UF_FOCLOSE) ? FD_CLOFORK : 0);
sys/kern/kern_descrip.c
727
((dat->fc_fdflags & FD_CLOFORK) ? UF_FOCLOSE : 0));
sys/kern/kern_descrip.c
763
if ((nflags & ~(FD_CLOEXEC | FD_CLOFORK)) != 0) {
sys/kern/kern_descrip.c
770
((nflags & FD_CLOFORK) != 0 ? DUP_CLOFORK : 0),
test/bsd/dup_test/dup_test.c
396
if (fcntl(fd2, F_GETFD) != FD_CLOFORK)
test/bsd/dup_test/dup_test.c
421
if (fcntl(fd2, F_GETFD) != FD_CLOFORK)
test/illumos/oclo/oclo.c
1005
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
1009
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
1021
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
1025
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
1037
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
1041
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
1053
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
1057
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
1069
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
1073
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
1085
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
1090
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
1102
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
1106
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
1118
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
1122
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
1130
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
1138
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
1146
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
1154
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
1162
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
1170
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
1178
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
1187
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
1223
if ((oclo_rtdata[i].crt_flags & FD_CLOFORK) == 0)
test/illumos/oclo/oclo.c
136
bool fail = child && (rt->crt_flags & FD_CLOFORK) != 0;
test/illumos/oclo/oclo.c
230
if ((c->clo_flags & FD_CLOFORK) != 0)
test/illumos/oclo/oclo.c
274
oclo_setfd_common(c, FD_CLOFORK);
test/illumos/oclo/oclo.c
280
oclo_setfd_common(c, FD_CLOFORK | FD_CLOEXEC);
test/illumos/oclo/oclo.c
330
oclo_fdup_common(c, FD_CLOFORK, F_DUPFD_CLOFORK);
test/illumos/oclo/oclo.c
348
oclo_fdup_common(c, FD_CLOFORK, F_DUP2FD_CLOFORK);
test/illumos/oclo/oclo.c
372
oclo_fdup_common(c, FD_CLOFORK, F_DUP3FD);
test/illumos/oclo/oclo.c
378
oclo_fdup_common(c, FD_CLOEXEC | FD_CLOFORK, F_DUP3FD);
test/illumos/oclo/oclo.c
391
if ((targ_flags & FD_CLOFORK) != 0)
test/illumos/oclo/oclo.c
422
oclo_dup_common(c, FD_CLOFORK, true);
test/illumos/oclo/oclo.c
428
oclo_dup_common(c, FD_CLOEXEC | FD_CLOFORK, true);
test/illumos/oclo/oclo.c
438
if ((c->clo_flags & FD_CLOFORK) != 0)
test/illumos/oclo/oclo.c
457
if ((c->clo_flags & FD_CLOFORK) != 0)
test/illumos/oclo/oclo.c
478
if ((c->clo_flags & FD_CLOFORK) != 0)
test/illumos/oclo/oclo.c
483
if ((targ_flags & FD_CLOFORK) != 0)
test/illumos/oclo/oclo.c
553
oclo_accept_common(c, FD_CLOFORK, true);
test/illumos/oclo/oclo.c
565
oclo_accept_common(c, FD_CLOEXEC | FD_CLOFORK, true);
test/illumos/oclo/oclo.c
583
if ((c->clo_flags & FD_CLOFORK) != 0)
test/illumos/oclo/oclo.c
618
if ((targ_flags & FD_CLOFORK) != 0)
test/illumos/oclo/oclo.c
681
oclo_rights_common(c, FD_CLOFORK);
test/illumos/oclo/oclo.c
687
oclo_rights_common(c, FD_CLOEXEC | FD_CLOFORK);
test/illumos/oclo/oclo.c
700
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
704
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
780
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
784
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
796
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
800
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
812
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
816
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
828
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
832
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
844
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
848
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
860
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
864
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
876
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
880
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
892
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
896
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
908
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
913
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
925
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
929
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
941
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
945
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
957
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
961
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
973
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
977
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo.c
989
.clo_flags = FD_CLOFORK,
test/illumos/oclo/oclo.c
993
.clo_flags = FD_CLOEXEC | FD_CLOFORK,
test/illumos/oclo/oclo_errors.c
154
(FD_CLOEXEC | FD_CLOFORK) + 1)) {
test/illumos/oclo/ocloexec_verify.c
129
(val < 0 || val > (FD_CLOEXEC | FD_CLOFORK))) {
test/illumos/oclo/ocloexec_verify.c
54
bool clofork = (exp_flags & FD_CLOFORK) != 0;
test/illumos/oclo/ocloexec_verify.c
55
exp_flags &= ~FD_CLOFORK;
test/illumos/oclo/ocloexec_verify.c
87
if (clofork && (flags & FD_CLOFORK) != 0) {