5d8c8fc50b
Security Fixes Prevents named from aborting with a require assertion failure on servers with DNS64 enabled. These crashes might occur as a result of specific queries that are received. New Features * Elliptic Curve Digital Signature Algorithm keys and signatures in DNSSEC are now supported per RFC 6605. [RT #21918] Feature Changes * Improves OpenSSL error logging [RT #29932] * nslookup now returns a nonzero exit code when it is unable to get an answer. [RT #29492] Other critical bug fixes are included. Approved by: delphij (mentor) MFC after: 3 days Security: CVE-2012-5688 Sponsored by: DK Hostmaster A/S
149 lines
4.2 KiB
C
149 lines
4.2 KiB
C
/*
|
|
* Copyright (C) 2004, 2005, 2007, 2008, 2012 Internet Systems Consortium, Inc. ("ISC")
|
|
* Copyright (C) 1999-2003 Internet Software Consortium.
|
|
*
|
|
* Permission to use, copy, modify, and/or distribute this software for any
|
|
* purpose with or without fee is hereby granted, provided that the above
|
|
* copyright notice and this permission notice appear in all copies.
|
|
*
|
|
* THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
|
* REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
|
* AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
|
* INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
|
* LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
|
* OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
|
* PERFORMANCE OF THIS SOFTWARE.
|
|
*/
|
|
|
|
/* $Id: acconfig.h,v 1.53 2008/12/01 23:47:44 tbox Exp $ */
|
|
|
|
/*! \file */
|
|
|
|
/***
|
|
*** This file is not to be included by any public header files, because
|
|
*** it does not get installed.
|
|
***/
|
|
@TOP@
|
|
|
|
/** define on DEC OSF to enable 4.4BSD style sa_len support */
|
|
#undef _SOCKADDR_LEN
|
|
|
|
/** define if your system needs pthread_init() before using pthreads */
|
|
#undef NEED_PTHREAD_INIT
|
|
|
|
/** define if your system has sigwait() */
|
|
#undef HAVE_SIGWAIT
|
|
|
|
/** define if sigwait() is the UnixWare flavor */
|
|
#undef HAVE_UNIXWARE_SIGWAIT
|
|
|
|
/** define on Solaris to get sigwait() to work using pthreads semantics */
|
|
#undef _POSIX_PTHREAD_SEMANTICS
|
|
|
|
/** define if LinuxThreads is in use */
|
|
#undef HAVE_LINUXTHREADS
|
|
|
|
/** define if sysconf() is available */
|
|
#undef HAVE_SYSCONF
|
|
|
|
/** define if sysctlbyname() is available */
|
|
#undef HAVE_SYSCTLBYNAME
|
|
|
|
/** define if catgets() is available */
|
|
#undef HAVE_CATGETS
|
|
|
|
/** define if getifaddrs() exists */
|
|
#undef HAVE_GETIFADDRS
|
|
|
|
/** define if you have the NET_RT_IFLIST sysctl variable and sys/sysctl.h */
|
|
#undef HAVE_IFLIST_SYSCTL
|
|
|
|
/** define if tzset() is available */
|
|
#undef HAVE_TZSET
|
|
|
|
/** define if struct addrinfo exists */
|
|
#undef HAVE_ADDRINFO
|
|
|
|
/** define if getaddrinfo() exists */
|
|
#undef HAVE_GETADDRINFO
|
|
|
|
/** define if gai_strerror() exists */
|
|
#undef HAVE_GAISTRERROR
|
|
|
|
/** define if arc4random() exists */
|
|
#undef HAVE_ARC4RANDOM
|
|
|
|
/**
|
|
* define if pthread_setconcurrency() should be called to tell the
|
|
* OS how many threads we might want to run.
|
|
*/
|
|
#undef CALL_PTHREAD_SETCONCURRENCY
|
|
|
|
/** define if IPv6 is not disabled */
|
|
#undef WANT_IPV6
|
|
|
|
/** define if flockfile() is available */
|
|
#undef HAVE_FLOCKFILE
|
|
|
|
/** define if getc_unlocked() is available */
|
|
#undef HAVE_GETCUNLOCKED
|
|
|
|
/** Shut up warnings about sputaux in stdio.h on BSD/OS pre-4.1 */
|
|
#undef SHUTUP_SPUTAUX
|
|
#ifdef SHUTUP_SPUTAUX
|
|
struct __sFILE;
|
|
extern __inline int __sputaux(int _c, struct __sFILE *_p);
|
|
#endif
|
|
|
|
/** Shut up warnings about missing sigwait prototype on BSD/OS 4.0* */
|
|
#undef SHUTUP_SIGWAIT
|
|
#ifdef SHUTUP_SIGWAIT
|
|
int sigwait(const unsigned int *set, int *sig);
|
|
#endif
|
|
|
|
/** Shut up warnings from gcc -Wcast-qual on BSD/OS 4.1. */
|
|
#undef SHUTUP_STDARG_CAST
|
|
#if defined(SHUTUP_STDARG_CAST) && defined(__GNUC__)
|
|
#include <stdarg.h> /** Grr. Must be included *every time*. */
|
|
/**
|
|
* The silly continuation line is to keep configure from
|
|
* commenting out the #undef.
|
|
*/
|
|
|
|
#undef \
|
|
va_start
|
|
#define va_start(ap, last) \
|
|
do { \
|
|
union { const void *konst; long *var; } _u; \
|
|
_u.konst = &(last); \
|
|
ap = (va_list)(_u.var + __va_words(__typeof(last))); \
|
|
} while (0)
|
|
#endif /** SHUTUP_STDARG_CAST && __GNUC__ */
|
|
|
|
/** define if the system has a random number generating device */
|
|
#undef PATH_RANDOMDEV
|
|
|
|
/** define if pthread_attr_getstacksize() is available */
|
|
#undef HAVE_PTHREAD_ATTR_GETSTACKSIZE
|
|
|
|
/** define if pthread_attr_setstacksize() is available */
|
|
#undef HAVE_PTHREAD_ATTR_SETSTACKSIZE
|
|
|
|
/** define if you have strerror in the C library. */
|
|
#undef HAVE_STRERROR
|
|
|
|
/** Define if you are running under Compaq TruCluster. */
|
|
#undef HAVE_TRUCLUSTER
|
|
|
|
/* Define if OpenSSL includes DSA support */
|
|
#undef HAVE_OPENSSL_DSA
|
|
|
|
/* Define if OpenSSL includes ECDSA support */
|
|
#undef HAVE_OPENSSL_ECDSA
|
|
|
|
/* Define to the length type used by the socket API (socklen_t, size_t, int). */
|
|
#undef ISC_SOCKADDR_LEN_T
|
|
|
|
/* Define if threads need PTHREAD_SCOPE_SYSTEM */
|
|
#undef NEED_PTHREAD_SCOPE_SYSTEM
|