mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 22:15:20 +00:00
update copyright notice
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
|
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd"
|
||||||
[<!ENTITY mdash "—">]>
|
[<!ENTITY mdash "—">]>
|
||||||
<!--
|
<!--
|
||||||
- Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
|
- Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
|
||||||
- Copyright (C) 2000-2002 Internet Software Consortium.
|
- Copyright (C) 2000-2002 Internet Software Consortium.
|
||||||
-
|
-
|
||||||
- Permission to use, copy, modify, and/or distribute this software for any
|
- Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
- PERFORMANCE OF THIS SOFTWARE.
|
- PERFORMANCE OF THIS SOFTWARE.
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<!-- $Id: host.docbook,v 1.17 2008/04/04 23:23:33 marka Exp $ -->
|
<!-- $Id: host.docbook,v 1.18 2008/04/04 23:47:01 tbox Exp $ -->
|
||||||
<refentry id="man.host">
|
<refentry id="man.host">
|
||||||
|
|
||||||
<refentryinfo>
|
<refentryinfo>
|
||||||
@@ -41,6 +41,7 @@
|
|||||||
<year>2004</year>
|
<year>2004</year>
|
||||||
<year>2005</year>
|
<year>2005</year>
|
||||||
<year>2007</year>
|
<year>2007</year>
|
||||||
|
<year>2008</year>
|
||||||
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
<holder>Internet Systems Consortium, Inc. ("ISC")</holder>
|
||||||
</copyright>
|
</copyright>
|
||||||
<copyright>
|
<copyright>
|
||||||
|
@@ -1,8 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2008 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 1999-2001, 2003 Internet Software Consortium.
|
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
* copyright notice and this permission notice appear in all copies.
|
* copyright notice and this permission notice appear in all copies.
|
||||||
*
|
*
|
||||||
@@ -15,7 +14,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: nsec3.h,v 1.2 2008/04/04 05:34:05 marka Exp $ */
|
/* $Id: nsec3.h,v 1.3 2008/04/04 23:47:01 tbox Exp $ */
|
||||||
|
|
||||||
#ifndef DNS_NSEC3_H
|
#ifndef DNS_NSEC3_H
|
||||||
#define DNS_NSEC3_H 1
|
#define DNS_NSEC3_H 1
|
||||||
@@ -43,7 +42,7 @@ isc_result_t
|
|||||||
dns_nsec3_buildrdata(dns_db_t *db, dns_dbversion_t *version,
|
dns_nsec3_buildrdata(dns_db_t *db, dns_dbversion_t *version,
|
||||||
dns_dbnode_t *node, unsigned int hashalg,
|
dns_dbnode_t *node, unsigned int hashalg,
|
||||||
unsigned int optin, unsigned int iterations,
|
unsigned int optin, unsigned int iterations,
|
||||||
const unsigned char *salt, size_t salt_length,
|
const unsigned char *salt, size_t salt_length,
|
||||||
const unsigned char *nexthash, size_t hash_length,
|
const unsigned char *nexthash, size_t hash_length,
|
||||||
unsigned char *buffer, dns_rdata_t *rdata);
|
unsigned char *buffer, dns_rdata_t *rdata);
|
||||||
/*
|
/*
|
||||||
|
@@ -1,8 +1,7 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004, 2005 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2008 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 1998-2001, 2003 Internet Software Consortium.
|
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
* purpose with or without fee is hereby granted, provided that the above
|
* purpose with or without fee is hereby granted, provided that the above
|
||||||
* copyright notice and this permission notice appear in all copies.
|
* copyright notice and this permission notice appear in all copies.
|
||||||
*
|
*
|
||||||
@@ -15,7 +14,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: base32.c,v 1.2 2008/04/04 05:34:06 marka Exp $ */
|
/* $Id: base32.c,v 1.3 2008/04/04 23:47:01 tbox Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@@ -66,7 +65,7 @@ base32_totext(isc_region_t *source, int wordlength, const char *wordbreak,
|
|||||||
memset(buf, 0, sizeof(buf));
|
memset(buf, 0, sizeof(buf));
|
||||||
while (source->length > 0) {
|
while (source->length > 0) {
|
||||||
buf[0] = base[((source->base[0]>>3)&0x1f)]; /* 5 + */
|
buf[0] = base[((source->base[0]>>3)&0x1f)]; /* 5 + */
|
||||||
if (source->length == 1) {
|
if (source->length == 1) {
|
||||||
buf[1] = base[(source->base[0]<<2)&0x1c];
|
buf[1] = base[(source->base[0]<<2)&0x1c];
|
||||||
buf[2] = buf[3] = buf[4] = '=';
|
buf[2] = buf[3] = buf[4] = '=';
|
||||||
buf[5] = buf[6] = buf[7] = '=';
|
buf[5] = buf[6] = buf[7] = '=';
|
||||||
@@ -253,7 +252,7 @@ base32_decode_finish(base32_decode_ctx_t *ctx) {
|
|||||||
static isc_result_t
|
static isc_result_t
|
||||||
base32_tobuffer(isc_lex_t *lexer, const char base[], isc_buffer_t *target,
|
base32_tobuffer(isc_lex_t *lexer, const char base[], isc_buffer_t *target,
|
||||||
int length)
|
int length)
|
||||||
{
|
{
|
||||||
base32_decode_ctx_t ctx;
|
base32_decode_ctx_t ctx;
|
||||||
isc_textregion_t *tr;
|
isc_textregion_t *tr;
|
||||||
isc_token_t token;
|
isc_token_t token;
|
||||||
@@ -305,7 +304,7 @@ base32_decodestring(const char *cstr, const char base[], isc_buffer_t *target) {
|
|||||||
continue;
|
continue;
|
||||||
RETERR(base32_decode_char(&ctx, c));
|
RETERR(base32_decode_char(&ctx, c));
|
||||||
}
|
}
|
||||||
RETERR(base32_decode_finish(&ctx));
|
RETERR(base32_decode_finish(&ctx));
|
||||||
return (ISC_R_SUCCESS);
|
return (ISC_R_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -329,7 +328,7 @@ base32_decoderegion(isc_region_t *source, const char base[], isc_buffer_t *targe
|
|||||||
RETERR(base32_decode_char(&ctx, c));
|
RETERR(base32_decode_char(&ctx, c));
|
||||||
isc_region_consume(source, 1);
|
isc_region_consume(source, 1);
|
||||||
}
|
}
|
||||||
RETERR(base32_decode_finish(&ctx));
|
RETERR(base32_decode_finish(&ctx));
|
||||||
return (ISC_R_SUCCESS);
|
return (ISC_R_SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1,3 +1,21 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (C) 2008 Internet Systems Consortium, Inc. ("ISC")
|
||||||
|
*
|
||||||
|
* 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: iterated_hash.c,v 1.3 2008/04/04 23:47:01 tbox Exp $ */
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
#include <isc/sha1.h>
|
#include <isc/sha1.h>
|
||||||
@@ -6,8 +24,8 @@
|
|||||||
int
|
int
|
||||||
isc_iterated_hash(unsigned char out[ISC_SHA1_DIGESTLENGTH],
|
isc_iterated_hash(unsigned char out[ISC_SHA1_DIGESTLENGTH],
|
||||||
unsigned int hashalg, int iterations,
|
unsigned int hashalg, int iterations,
|
||||||
const unsigned char *salt, int saltlength,
|
const unsigned char *salt, int saltlength,
|
||||||
const unsigned char *in, int inlength)
|
const unsigned char *in, int inlength)
|
||||||
{
|
{
|
||||||
isc_sha1_t ctx;
|
isc_sha1_t ctx;
|
||||||
int n = 0;
|
int n = 0;
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2000-2002 Internet Software Consortium.
|
* Copyright (C) 2000-2002 Internet Software Consortium.
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or distribute this software for any
|
* Permission to use, copy, modify, and/or distribute this software for any
|
||||||
@@ -15,7 +15,7 @@
|
|||||||
* PERFORMANCE OF THIS SOFTWARE.
|
* PERFORMANCE OF THIS SOFTWARE.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/* $Id: mutex.c,v 1.15 2008/04/04 01:49:09 jinmei Exp $ */
|
/* $Id: mutex.c,v 1.16 2008/04/04 23:47:01 tbox Exp $ */
|
||||||
|
|
||||||
/*! \file */
|
/*! \file */
|
||||||
|
|
||||||
@@ -36,23 +36,23 @@
|
|||||||
/*% Operations on timevals; adapted from FreeBSD's sys/time.h */
|
/*% Operations on timevals; adapted from FreeBSD's sys/time.h */
|
||||||
#define timevalclear(tvp) ((tvp)->tv_sec = (tvp)->tv_usec = 0)
|
#define timevalclear(tvp) ((tvp)->tv_sec = (tvp)->tv_usec = 0)
|
||||||
#define timevaladd(vvp, uvp) \
|
#define timevaladd(vvp, uvp) \
|
||||||
do { \
|
do { \
|
||||||
(vvp)->tv_sec += (uvp)->tv_sec; \
|
(vvp)->tv_sec += (uvp)->tv_sec; \
|
||||||
(vvp)->tv_usec += (uvp)->tv_usec; \
|
(vvp)->tv_usec += (uvp)->tv_usec; \
|
||||||
if ((vvp)->tv_usec >= 1000000) { \
|
if ((vvp)->tv_usec >= 1000000) { \
|
||||||
(vvp)->tv_sec++; \
|
(vvp)->tv_sec++; \
|
||||||
(vvp)->tv_usec -= 1000000; \
|
(vvp)->tv_usec -= 1000000; \
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
#define timevalsub(vvp, uvp) \
|
#define timevalsub(vvp, uvp) \
|
||||||
do { \
|
do { \
|
||||||
(vvp)->tv_sec -= (uvp)->tv_sec; \
|
(vvp)->tv_sec -= (uvp)->tv_sec; \
|
||||||
(vvp)->tv_usec -= (uvp)->tv_usec; \
|
(vvp)->tv_usec -= (uvp)->tv_usec; \
|
||||||
if ((vvp)->tv_usec < 0) { \
|
if ((vvp)->tv_usec < 0) { \
|
||||||
(vvp)->tv_sec--; \
|
(vvp)->tv_sec--; \
|
||||||
(vvp)->tv_usec += 1000000; \
|
(vvp)->tv_usec += 1000000; \
|
||||||
} \
|
} \
|
||||||
} while (0)
|
} while (0)
|
||||||
|
|
||||||
/*@}*/
|
/*@}*/
|
||||||
|
|
||||||
@@ -236,7 +236,7 @@ isc_mutex_init_errcheck(isc_mutex_t *mp)
|
|||||||
|
|
||||||
if (pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK) != 0)
|
if (pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_ERRORCHECK) != 0)
|
||||||
return (ISC_R_UNEXPECTED);
|
return (ISC_R_UNEXPECTED);
|
||||||
|
|
||||||
err = pthread_mutex_init(mp, &attr) != 0)
|
err = pthread_mutex_init(mp, &attr) != 0)
|
||||||
if (err == ENOMEM)
|
if (err == ENOMEM)
|
||||||
return (ISC_R_NOMEMORY);
|
return (ISC_R_NOMEMORY);
|
||||||
|
Reference in New Issue
Block a user