O_CLOFORK
if ((flags & ~(O_CLOEXEC | O_CLOFORK)) != 0) {
((flags & O_CLOFORK) != 0 ? FD_CLOFORK : 0);
O_EXLOCK | O_SYNC | O_CLOEXEC | O_CLOFORK)) != 0) {
if ((uap->flags & ~(O_CLOEXEC | O_CLOFORK | O_NONBLOCK)) != 0)
if (flags & O_CLOFORK)
if (flags & O_CLOFORK)
oflags |= O_CLOFORK;
if (oflags & O_CLOFORK)
oflags |= O_CLOFORK;
if (oflags & O_CLOFORK) {
if (oflags & O_CLOFORK)
if (uap->flags & O_CLOFORK)
if ((fd2 = dup3(fd1, fd1 + 1, O_CLOFORK)) < 0)
if (dup3(fd1, fd1, O_CLOFORK) != -1)
if ((fd2 = dup3(fd1, rlp.rlim_cur + 1, O_CLOFORK)) >= 0)
int flags = O_RDWR | O_CLOFORK;
flags |= O_CLOFORK;
dflags |= O_CLOFORK;
flags |= O_CLOFORK;
.clo_flags = O_CLOFORK | O_CLOEXEC,
.clo_flags = O_CLOFORK,
.clo_flags = O_CLOFORK | O_CLOEXEC,
.clo_flags = O_CLOFORK,
.clo_flags = O_CLOFORK | O_CLOEXEC,
.clo_flags = O_CLOFORK,
.clo_flags = O_CLOFORK | O_CLOEXEC,
.clo_flags = O_CLOFORK,
if (!oclo_dup3("dup3(): O_CLOFORK|O_WRONLY", O_CLOFORK | O_WRONLY)) {
if (!oclo_pipe2("pipe2(): O_CLOFORK|O_WRONLY", O_CLOFORK | O_WRONLY)) {