Searched refs:closefrom (Results 1 - 25 of 46) sorted by path
12
/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/libc/gen/posix_spawn/ |
H A D | t_fileactions.c | 310 closefrom(fileno(stderr)+1);
|
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_assert.c | 83 (void)closefrom(0); 121 (void)closefrom(0);
|
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...] |
/freebsd-11-stable/contrib/netbsd-tests/lib/libc/sys/ |
H A D | t_dup.c | 315 (void)closefrom(0);
|
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);
|
/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/contrib/ntp/libntp/ |
H A D | ntp_worker.c | 107 closefrom(keep_fd + 1);
|
/freebsd-11-stable/contrib/openbsm/bin/auditdistd/ |
H A D | proto_tls.c | 55 #include <compat/closefrom.h> 470 closefrom(startfd + 1); 747 closefrom(startfd + 2);
|
/freebsd-11-stable/contrib/openbsm/compat/ |
H A D | closefrom.h | 36 closefrom(int lowfd) function
|
/freebsd-11-stable/contrib/openbsm/ |
H A D | configure | 13329 for ac_func in arc4random arc4random_buf bzero cap_enter clock_gettime closefrom faccessat fdopendir fstatat ftruncate getresgid getresuid gettimeofday inet_ntoa jail kqueue memset openat pthread_cond_timedwait_relative_np pthread_condattr_setclock pthread_mutex_lock renameat setproctitle sigtimedwait strchr strerror strlcat strlcpy strndup strrchr strstr strtol strtoul unlinkat vis
|
/freebsd-11-stable/contrib/pf/pflogd/ |
H A D | pflogd.c | 654 closefrom(STDERR_FILENO + 1);
|
/freebsd-11-stable/contrib/tnftp/src/ |
H A D | cmds.c | 1441 (void)closefrom(3);
|
/freebsd-11-stable/crypto/heimdal/lib/roken/ |
H A D | Makefile.in | 48 closefrom.c copyhostent.c daemon.c ecalloc.c emalloc.c \ 788 @AMDEP_TRUE@@am__include@ @am__quote@$(DEPDIR)/closefrom.Plo@am__quote@
|
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/crypto/openssh/ |
H A D | auth2-pubkey.c | 477 closefrom(STDERR_FILENO + 1);
|
H A D | readconf.c | 523 closefrom(STDERR_FILENO + 1);
|
/freebsd-11-stable/crypto/openssh/openbsd-compat/ |
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 | 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 | openbsd-compat.h | 60 void closefrom(int);
|
/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]);
|
Completed in 397 milliseconds
12