Searched refs:FIONCLEX (Results 1 – 14 of 14) sorted by relevance
| /freebsd-13-stable/tools/regression/capsicum/syscalls/ |
| HD | cap_ioctls_limit.c | 56 CHECK(ioctl(fd, FIONCLEX) == 0); in ioctl_tests_0() 60 cmds[1] = FIONCLEX; in ioctl_tests_0() 64 CHECK((cmds[0] == FIOCLEX && cmds[1] == FIONCLEX) || in ioctl_tests_0() 65 (cmds[0] == FIONCLEX && cmds[1] == FIOCLEX)); in ioctl_tests_0() 67 cmds[1] = FIONCLEX; in ioctl_tests_0() 71 CHECK(cmds[0] == FIOCLEX || cmds[0] == FIONCLEX); in ioctl_tests_0() 77 CHECK(ioctl(fd, FIONCLEX) == 0); in ioctl_tests_0() 86 cmds[1] = FIONCLEX; in ioctl_tests_0() 98 CHECK(ioctl(fd, FIONCLEX) == -1); in ioctl_tests_0() 120 CHECK(ioctl(fd, FIONCLEX) == -1); in ioctl_tests_0() [all …]
|
| /freebsd-13-stable/sys/sys/ |
| HD | filio.h | 47 #define FIONCLEX _IO('f', 2) /* remove close on exec */ macro
|
| /freebsd-13-stable/contrib/tcsh/ |
| HD | tc.os.h | 200 # define close_on_exec(fd, v) ioctl((fd), ((v) ? FIOCLEX : FIONCLEX), NULL)
|
| HD | sh.h | 550 #if (defined(FIOCLEX) && defined(FIONCLEX)) || defined(F_SETFD)
|
| HD | Fixes | 1501 64. FIOCLEX and FIONCLEX are only used if we don't have FD_CLOEXEC.
|
| /freebsd-13-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
| HD | sanitizer_platform_limits_solaris.cpp | 144 unsigned IOCTL_FIONCLEX = FIONCLEX;
|
| HD | sanitizer_platform_limits_freebsd.cpp | 228 unsigned IOCTL_FIONCLEX = FIONCLEX;
|
| HD | sanitizer_common_interceptors_ioctl.inc | 55 _(FIONCLEX, NONE, 0);
|
| HD | sanitizer_platform_limits_posix.cpp | 549 unsigned IOCTL_FIONCLEX = FIONCLEX;
|
| HD | sanitizer_platform_limits_netbsd.cpp | 2109 unsigned IOCTL_FIONCLEX = FIONCLEX;
|
| HD | sanitizer_interceptors_ioctl_netbsd.inc | 1021 _(FIONCLEX, NONE, 0);
|
| /freebsd-13-stable/sys/kern/ |
| HD | sys_generic.c | 734 case FIONCLEX: in kern_ioctl() 780 case FIONCLEX: in kern_ioctl()
|
| HD | subr_bus.c | 549 case FIONCLEX: in devioctl()
|
| /freebsd-13-stable/sys/compat/linux/ |
| HD | linux_ioctl.c | 968 args->cmd = FIONCLEX; in linux_ioctl_termio()
|