UF_FORKCLOSE
(fileflags & UF_FORKCLOSE) ||
(fdp->fd_ofileflags[indx] & (UF_EXCLOSE | UF_FORKCLOSE)) |
(fdp->fd_ofileflags[dupfd] & ~(UF_EXCLOSE | UF_FORKCLOSE));
fdp->fd_ofileflags[fd] &= ~(UF_PLEDGED | UF_FORKCLOSE);
| (fdp->fd_ofileflags[fd] & UF_FORKCLOSE ? FD_CLOFORK : 0);
((long)SCARG(uap, arg) & FD_CLOFORK ? UF_FORKCLOSE : 0);
~(UF_EXCLOSE | UF_FORKCLOSE)) | i;
~(UF_EXCLOSE | UF_FORKCLOSE);
fdp->fd_ofileflags[new] |= UF_FORKCLOSE;
fdp->fd_ofileflags[fd] |= (flags & (UF_EXCLOSE | UF_FORKCLOSE |
| ((flags & O_CLOFORK) ? UF_FORKCLOSE : 0);
| ((flags & SOCK_CLOFORK) ? UF_FORKCLOSE : 0);
| ((SCARG(uap, type) & SOCK_CLOFORK) ? UF_FORKCLOSE : 0);
| ((SCARG(uap, type) & SOCK_CLOFORK) ? UF_FORKCLOSE : 0);
fdp->fd_ofileflags[fds[i]] |= UF_FORKCLOSE;
| ((oflags & O_CLOFORK) ? UF_FORKCLOSE : 0);
| ((oflags & O_CLOFORK) ? UF_FORKCLOSE : 0);
| ((flags & O_CLOFORK) ? UF_FORKCLOSE : 0);
if (kf->fd_ofileflags & UF_FORKCLOSE)