Searched refs:closefrom (Results 1 - 25 of 46) sorted by relevance
12
/freebsd-11-stable/crypto/openssh/openbsd-compat/regress/ |
H A D | closefromtest.c | 27 int closefrom(int); 32 fprintf(stderr, "closefrom: %s\n", msg); 48 closefrom(fds[max]); 58 closefrom(fds[0]);
|
/freebsd-11-stable/contrib/openbsm/compat/ |
H A D | closefrom.h | 36 closefrom(int lowfd) function
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | closefrom.c | 46 closefrom(int fd) function
|
H A D | rkpty.c | 363 closefrom(STDERR_FILENO + 1);
|
H A D | simple_exec.c | 197 closefrom(3);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_closefrom.c | 42 static const char path[] = "closefrom"; 47 atf_tc_set_md_var(tc, "descr", "A basic test of closefrom(3), #1"); 54 (void)closefrom(STDERR_FILENO + 1); 62 ATF_REQUIRE(closefrom(cur1) == 0); 79 atf_tc_set_md_var(tc, "descr", "A basic test of closefrom(3), #2"); 91 ATF_REQUIRE(closefrom(STDERR_FILENO + 1) == 0); 105 ATF_REQUIRE(closefrom(half) == 0); 122 atf_tc_set_md_var(tc, "descr", "Test errors from closefrom(3)"); 129 ATF_REQUIRE_ERRNO(EBADF, closefrom(-INT_MAX) == -1); 135 atf_tc_set_md_var(tc, "descr", "Test closefrom( [all...] |
H A D | t_assert.c | 83 (void)closefrom(0); 121 (void)closefrom(0);
|
/freebsd-11-stable/tests/sys/file/ |
H A D | closefrom_test.c | 32 * Regression tests for the closefrom(2) system call. 163 /* Try to use closefrom() for just closing fd 3. */ 164 closefrom(start + 1); 167 fail("closefrom", "highest fd %d", fd); 168 ok("closefrom"); 179 closefrom(11); 182 fail("closefrom", "highest fd %d", fd); 183 ok("closefrom"); 203 closefrom(4); 206 fail("closefrom", "highes [all...] |
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
H A D | bsd-closefrom.c | 55 __unused static const char rcsid[] = "$Sudo: closefrom.c,v 1.11 2006/08/17 15:26:54 millert Exp $"; 63 closefrom(int lowfd) function 69 closefrom(int lowfd) function
|
H A D | Makefile.in | 21 COMPAT=arc4random.o bsd-asprintf.o bsd-closefrom.o bsd-cray.o bsd-cygwin_util.o bsd-getpeereid.o getrrsetbyname-ldns.o bsd-err.o bsd-misc.o bsd-nextstep.o bsd-openpty.o bsd-poll.o bsd-setres_id.o bsd-snprintf.o bsd-statvfs.o bsd-waitpid.o fake-rfc2553.o openssl-compat.o xcrypt.o kludge-fd_set.o
|
H A D | openbsd-compat.h | 60 void closefrom(int);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_pipe2.c | 57 closefrom(3); 59 ATF_REQUIRE_MSG(closefrom(3) != -1, "closefrom failed: %s", 123 closefrom(4); 125 ATF_REQUIRE_MSG(closefrom(4) != -1, "closefrom failed: %s",
|
H A D | t_socketpair.c | 67 closefrom(3); 69 ATF_REQUIRE(closefrom(3) != -1); 128 closefrom(3);
|
H A D | t_dup.c | 315 (void)closefrom(0);
|
/freebsd-11-stable/cddl/contrib/opensolaris/cmd/dtrace/test/tst/common/io/ |
H A D | tst.fds.c | 65 closefrom(0);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/librumphijack/ |
H A D | h_client.c | 119 (void)closefrom(0);
|
/freebsd-11-stable/contrib/netbsd-tests/rump/rumpkern/h_client/ |
H A D | h_reconcli.c | 39 closefrom(3);
|
/freebsd-11-stable/sys/kern/ |
H A D | capabilities.conf | 128 closefrom
|
/freebsd-11-stable/sys/compat/freebsd32/ |
H A D | capabilities.conf | 76 closefrom
|
/freebsd-11-stable/sbin/hastd/ |
H A D | hooks.c | 98 closefrom(MAX(MAX(STDIN_FILENO, STDOUT_FILENO), 103 closefrom(0);
|
/freebsd-11-stable/tests/sys/audit/ |
H A D | file-close.c | 152 "closefrom(2) call"); 157 const char *regex = "closefrom.*return,success"; 159 /* closefrom(2) returns 'void' */ 160 closefrom(INT_MAX);
|
/freebsd-11-stable/sys/sys/ |
H A D | syscall.mk | 360 closefrom.o \
|
/freebsd-11-stable/contrib/ntp/libntp/ |
H A D | ntp_worker.c | 107 closefrom(keep_fd + 1);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/posix_spawn/ |
H A D | t_fileactions.c | 310 closefrom(fileno(stderr)+1);
|
/freebsd-11-stable/include/ |
H A D | unistd.h | 327 void closefrom(int);
|
Completed in 111 milliseconds
12