diff options
author | jhb <jhb@FreeBSD.org> | 2009-06-16 15:30:10 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2009-06-16 15:30:10 +0000 |
commit | 056d36800b31924fd585c5332cf2e76993692ae7 (patch) | |
tree | f557960e2cccd5900bb2540c6be71c17004db539 /crypto/openssh | |
parent | b8351fcda2af435587af452d2cf8727e0715a0a4 (diff) | |
download | FreeBSD-src-056d36800b31924fd585c5332cf2e76993692ae7.zip FreeBSD-src-056d36800b31924fd585c5332cf2e76993692ae7.tar.gz |
Use the closefrom(2) system call.
Reviewed by: des
Diffstat (limited to 'crypto/openssh')
-rw-r--r-- | crypto/openssh/config.h | 2 | ||||
-rw-r--r-- | crypto/openssh/ssh_namespace.h | 1 |
2 files changed, 1 insertions, 2 deletions
diff --git a/crypto/openssh/config.h b/crypto/openssh/config.h index d465969..d07ee69 100644 --- a/crypto/openssh/config.h +++ b/crypto/openssh/config.h @@ -211,7 +211,7 @@ #define HAVE_CLOCK_T 1 /* Define to 1 if you have the `closefrom' function. */ -/* #undef HAVE_CLOSEFROM */ +#define HAVE_CLOSEFROM 1 /* Define if gai_strerror() returns const char * */ #define HAVE_CONST_GAI_STRERROR_PROTO 1 diff --git a/crypto/openssh/ssh_namespace.h b/crypto/openssh/ssh_namespace.h index a51e132..8fdf708 100644 --- a/crypto/openssh/ssh_namespace.h +++ b/crypto/openssh/ssh_namespace.h @@ -153,7 +153,6 @@ #define ciphers_valid ssh_ciphers_valid #define cleanhostname ssh_cleanhostname #define cleanup_exit ssh_cleanup_exit -#define closefrom ssh_closefrom #define colon ssh_colon #define compat_cipher_proposal ssh_compat_cipher_proposal #define compat_datafellows ssh_compat_datafellows |