Searched refs:O_CLOFORK (Results 1 – 16 of 16) sorted by relevance
| /freebsd/lib/libc/gen/ |
| H A D | dup3.c | 49 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 D | oclo.c | 232 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 D | oclo_errors.c | 145 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 D | dup_test.c | 405 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 D | fcntl.h | 155 #define O_CLOFORK 0x08000000 macro 186 O_EMPTY_PATH | O_NAMEDATTR | O_CLOFORK)
|
| /freebsd/lib/libc/stdio/ |
| H A D | mktemp.c | 124 O_CLOEXEC | O_CLOFORK)) != 0) { in _gettemp()
|
| /freebsd/sys/kern/ |
| H A D | uipc_syscalls.c | 156 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 D | sys_pipe.c | 546 if ((uap->flags & ~(O_CLOEXEC | O_CLOFORK | O_NONBLOCK)) != 0) in sys_pipe2()
|
| H A D | uipc_shm.c | 1170 O_CLOFORK)) != 0) in kern_shm_open2()
|
| H A D | kern_event.c | 3066 O_CLOEXEC | O_CLOFORK); in kqueue_fork_alloc()
|
| H A D | uipc_usrreq.c | 3512 ((flags & MSG_CMSG_CLOFORK) ? O_CLOFORK : 0); in unp_externalize()
|
| H A D | kern_descrip.c | 556 { .f = O_CLOFORK, .t = UF_FOCLOSE }, in open_to_fde_flags()
|
| /freebsd/contrib/tzcode/ |
| H A D | localtime.c | 306 #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 D | NEWS | 359 platform has O_CLOFORK and O_CLOEXEC respectively. Also, the
|
| /freebsd/lib/libsysdecode/ |
| H A D | flags.c | 567 X(O_CLOEXEC) X(O_CLOFORK) X(O_NONBLOCK) XEND
|
| /freebsd/contrib/tzdata/ |
| H A D | NEWS | 359 platform has O_CLOFORK and O_CLOEXEC respectively. Also, the
|