Home
last modified time | relevance | path

Searched refs:O_CLOFORK (Results 1 – 16 of 16) sorted by relevance

/freebsd/lib/libc/gen/
H A Ddup3.c49 if ((flags & ~(O_CLOEXEC | O_CLOFORK)) != 0) { in __dup3()
55 ((flags & O_CLOFORK) != 0 ? FD_CLOFORK : 0); in __dup3()
/freebsd/cddl/contrib/opensolaris/tests/os-tests/tests/oclo/
H A Doclo.c232 flags |= O_CLOFORK; in oclo_file()
397 dflags |= O_CLOFORK; in oclo_dup_common()
444 flags |= O_CLOFORK; in oclo_pipe()
712 .clo_flags = O_CLOFORK | O_CLOEXEC,
720 .clo_flags = O_CLOFORK,
728 .clo_flags = O_CLOFORK | O_CLOEXEC,
736 .clo_flags = O_CLOFORK,
744 .clo_flags = O_CLOFORK | O_CLOEXEC,
752 .clo_flags = O_CLOFORK,
760 .clo_flags = O_CLOFORK | O_CLOEXEC,
[all …]
H A Doclo_errors.c145 if (!oclo_dup3("dup3(): O_CLOFORK|O_WRONLY", O_CLOFORK | O_WRONLY)) { in main()
171 if (!oclo_pipe2("pipe2(): O_CLOFORK|O_WRONLY", O_CLOFORK | O_WRONLY)) { in main()
/freebsd/tests/sys/file/
H A Ddup_test.c405 if ((fd2 = dup3(fd1, fd1 + 1, O_CLOFORK)) < 0) in main()
456 if (dup3(fd1, fd1, O_CLOFORK) != -1) in main()
472 if ((fd2 = dup3(fd1, rlp.rlim_cur + 1, O_CLOFORK)) >= 0) in main()
/freebsd/sys/sys/
H A Dfcntl.h155 #define O_CLOFORK 0x08000000 macro
186 O_EMPTY_PATH | O_NAMEDATTR | O_CLOFORK)
/freebsd/lib/libc/stdio/
H A Dmktemp.c124 O_CLOEXEC | O_CLOFORK)) != 0) { in _gettemp()
/freebsd/sys/kern/
H A Duipc_syscalls.c156 oflag |= O_CLOFORK; in kern_socket()
360 ((flags & SOCK_CLOFORK) != 0 ? O_CLOFORK : 0), &fcaps); in kern_accept4()
567 oflag |= O_CLOFORK; in kern_socketpair()
H A Dsys_pipe.c546 if ((uap->flags & ~(O_CLOEXEC | O_CLOFORK | O_NONBLOCK)) != 0) in sys_pipe2()
H A Duipc_shm.c1170 O_CLOFORK)) != 0) in kern_shm_open2()
H A Dkern_event.c3066 O_CLOEXEC | O_CLOFORK); in kqueue_fork_alloc()
H A Duipc_usrreq.c3512 ((flags & MSG_CMSG_CLOFORK) ? O_CLOFORK : 0); in unp_externalize()
H A Dkern_descrip.c556 { .f = O_CLOFORK, .t = UF_FOCLOSE }, in open_to_fde_flags()
/freebsd/contrib/tzcode/
H A Dlocaltime.c306 #ifndef O_CLOFORK
307 # define O_CLOFORK 0 macro
918 int oflags = (O_RDONLY | O_BINARY | O_CLOEXEC | O_CLOFORK in tzloadbody()
981 | O_BINARY | O_CLOEXEC | O_CLOFORK | O_DIRECTORY)); in tzloadbody()
H A DNEWS359 platform has O_CLOFORK and O_CLOEXEC respectively. Also, the
/freebsd/lib/libsysdecode/
H A Dflags.c567 X(O_CLOEXEC) X(O_CLOFORK) X(O_NONBLOCK) XEND
/freebsd/contrib/tzdata/
H A DNEWS359 platform has O_CLOFORK and O_CLOEXEC respectively. Also, the