O_CLOFORK
|O_CLOEXEC|O_DIRECTORY|O_DIRECT|O_CLOFORK|FXATTRDIROPEN)
if (arg & O_CLOFORK)
long flags = ~(O_CLOEXEC | O_CLOFORK | O_NONBLOCK);
if (val & O_CLOFORK) {
if (flags & ~(O_CLOEXEC | O_CLOFORK)) {
if ((flags & 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)) {