aboutsummaryrefslogtreecommitdiff
path: root/crypto/openssh/defines.h
diff options
context:
space:
mode:
authorSimon L. B. Nielsen <simon@FreeBSD.org>2006-09-30 19:58:07 +0000
committerSimon L. B. Nielsen <simon@FreeBSD.org>2006-09-30 19:58:07 +0000
commit150f381d548b0eb6e043ece264908c702fbcba75 (patch)
tree564213cc1a73b8d7cdafb4452ac610b3da2eac9d /crypto/openssh/defines.h
parent69563d3a52a724e304ed378c595c4c76e21f976a (diff)
Correct multiple vulnerabilities in OpenSSH.releng/5.4
Security: FreeBSD-SA-06:22.openssh Approved by: so (simon)
Notes
svn path=/releng/5.4/; revision=162896
Diffstat (limited to 'crypto/openssh/defines.h')
-rw-r--r--crypto/openssh/defines.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/crypto/openssh/defines.h b/crypto/openssh/defines.h
index 9b72afecb43c..01b55d580285 100644
--- a/crypto/openssh/defines.h
+++ b/crypto/openssh/defines.h
@@ -511,6 +511,11 @@ struct winsize {
# undef HAVE_UPDWTMPX
#endif
+#if defined(HAVE_OPENLOG_R) && defined(SYSLOG_DATA_INIT) && \
+ defined(SYSLOG_R_SAFE_IN_SIGHAND)
+# define DO_LOG_SAFE_IN_SIGHAND
+#endif
+
#if !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY)
# define memmove(s1, s2, n) bcopy((s2), (s1), (n))
#endif /* !defined(HAVE_MEMMOVE) && defined(HAVE_BCOPY) */