Home | History | Annotate | Download | only in kernel

Lines Matching refs:O_CLOFORK

50 #if defined(O_CLOFORK) && O_CLOFORK != 0
99 RL(fd = open("/dev/drvctl", O_RDONLY|O_CLOFORK));
109 RL(fd3 = dup3(STDIN_FILENO, 3, O_CLOFORK));
131 RL(fd = kqueue1(O_CLOFORK));
141 RL(fd = open("file", O_RDWR|O_CREAT|O_CLOFORK, 0644));
162 RL(pipe2(fd, O_CLOFORK));
172 RL(pipe2(fd, O_CLOFORK));
358 * pipe2(O_CLOFORK) with each exec path, and we try each open path with
374 "pipe2(O_CLOFORK) reader is closed in child on fork/exec")
376 "pipe2(O_CLOFORK) reader is closed in child on vfork/exec")
378 "pipe2(O_CLOFORK) reader is closed in child on posix_spawn")
385 "dup3(..., O_CLOFORK) is closed in child on posix_spawn");
389 "kqueue1(O_CLOFORK) is closed in child on posix_spawn");
391 "open(O_CLOFORK) is closed in child on posix_spawn");
394 "fcntl(open(...), F_SETFD, O_CLOFORK) is closed in child on posix_spawn");
396 "pipe2(O_CLOFORK) writer is closed in child on posix_spawn")
428 #else /* No O_CLOFORK */
433 atf_tc_set_md_var(tc, "descr", "Unimplemented O_CLOFORK");