mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +00:00
update copyright notice
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004-2007, 2009-2011 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004-2007, 2009-2012 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 1999-2002 Internet Software Consortium.
|
* Copyright (C) 1999-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
|
||||||
|
@@ -9,7 +9,7 @@
|
|||||||
#
|
#
|
||||||
# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
# THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
|
||||||
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
# REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||||||
# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
# AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||||||
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
# INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||||||
# LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
|
# 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
|
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004, 2005, 2007, 2009, 2010 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004, 2005, 2007, 2009, 2010, 2012 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2000-2003 Internet Software Consortium.
|
* Copyright (C) 2000-2003 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
|
||||||
|
@@ -537,7 +537,7 @@ serialize_nodes(FILE *file, dns_rbtnode_t *node, uintptr_t parent,
|
|||||||
|
|
||||||
if (node->data != NULL) {
|
if (node->data != NULL) {
|
||||||
long ret;
|
long ret;
|
||||||
|
|
||||||
ret = ftell(file);
|
ret = ftell(file);
|
||||||
if (ret < 0)
|
if (ret < 0)
|
||||||
return (ISC_R_FAILURE);
|
return (ISC_R_FAILURE);
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2009 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2009, 2012 Internet Systems Consortium, Inc. ("ISC")
|
||||||
*
|
*
|
||||||
* Permission to use, copy, modify, and/or 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
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004-2007, 2009 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004-2007, 2009, 2012 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 1998-2003 Internet Software Consortium.
|
* Copyright (C) 1998-2003 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
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Portions Copyright (C) 2004, 2005, 2007, 2008 Internet Systems Consortium, Inc. ("ISC")
|
* Portions Copyright (C) 2004, 2005, 2007, 2008, 2012 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Portions Copyright (C) 1996-2001 Internet Software Consortium.
|
* Portions Copyright (C) 1996-2001 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
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004, 2005, 2007, 2012 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 1999-2002 Internet Software Consortium.
|
* Copyright (C) 1999-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
|
||||||
@@ -114,7 +114,7 @@ isc_ratelimiter_setinterval(isc_ratelimiter_t *rl, isc_interval_t *interval) {
|
|||||||
/*
|
/*
|
||||||
* If the timer is currently running, change its rate.
|
* If the timer is currently running, change its rate.
|
||||||
*/
|
*/
|
||||||
if (rl->state == isc_ratelimiter_ratelimited) {
|
if (rl->state == isc_ratelimiter_ratelimited) {
|
||||||
result = isc_timer_reset(rl->timer, isc_timertype_ticker, NULL,
|
result = isc_timer_reset(rl->timer, isc_timertype_ticker, NULL,
|
||||||
&rl->interval, ISC_FALSE);
|
&rl->interval, ISC_FALSE);
|
||||||
}
|
}
|
||||||
@@ -142,13 +142,13 @@ isc_ratelimiter_enqueue(isc_ratelimiter_t *rl, isc_task_t *task,
|
|||||||
REQUIRE(ev->ev_sender == NULL);
|
REQUIRE(ev->ev_sender == NULL);
|
||||||
|
|
||||||
LOCK(&rl->lock);
|
LOCK(&rl->lock);
|
||||||
if (rl->state == isc_ratelimiter_ratelimited ||
|
if (rl->state == isc_ratelimiter_ratelimited ||
|
||||||
rl->state == isc_ratelimiter_stalled) {
|
rl->state == isc_ratelimiter_stalled) {
|
||||||
isc_event_t *ev = *eventp;
|
isc_event_t *ev = *eventp;
|
||||||
ev->ev_sender = task;
|
ev->ev_sender = task;
|
||||||
ISC_LIST_APPEND(rl->pending, ev, ev_link);
|
ISC_LIST_APPEND(rl->pending, ev, ev_link);
|
||||||
*eventp = NULL;
|
*eventp = NULL;
|
||||||
} else if (rl->state == isc_ratelimiter_idle) {
|
} else if (rl->state == isc_ratelimiter_idle) {
|
||||||
result = isc_timer_reset(rl->timer, isc_timertype_ticker, NULL,
|
result = isc_timer_reset(rl->timer, isc_timertype_ticker, NULL,
|
||||||
&rl->interval, ISC_FALSE);
|
&rl->interval, ISC_FALSE);
|
||||||
if (result == ISC_R_SUCCESS) {
|
if (result == ISC_R_SUCCESS) {
|
||||||
@@ -177,7 +177,7 @@ ratelimiter_tick(isc_task_t *task, isc_event_t *event) {
|
|||||||
isc_event_free(&event);
|
isc_event_free(&event);
|
||||||
|
|
||||||
pertic = rl->pertic;
|
pertic = rl->pertic;
|
||||||
while (pertic != 0) {
|
while (pertic != 0) {
|
||||||
pertic--;
|
pertic--;
|
||||||
LOCK(&rl->lock);
|
LOCK(&rl->lock);
|
||||||
p = ISC_LIST_HEAD(rl->pending);
|
p = ISC_LIST_HEAD(rl->pending);
|
||||||
@@ -289,7 +289,7 @@ isc_ratelimiter_stall(isc_ratelimiter_t *rl) {
|
|||||||
break;
|
break;
|
||||||
case isc_ratelimiter_ratelimited:
|
case isc_ratelimiter_ratelimited:
|
||||||
result = isc_timer_reset(rl->timer, isc_timertype_inactive,
|
result = isc_timer_reset(rl->timer, isc_timertype_inactive,
|
||||||
NULL, NULL, ISC_FALSE);
|
NULL, NULL, ISC_FALSE);
|
||||||
RUNTIME_CHECK(result == ISC_R_SUCCESS);
|
RUNTIME_CHECK(result == ISC_R_SUCCESS);
|
||||||
/* FALLTHROUGH */
|
/* FALLTHROUGH */
|
||||||
case isc_ratelimiter_idle:
|
case isc_ratelimiter_idle:
|
||||||
@@ -317,7 +317,7 @@ isc_ratelimiter_release(isc_ratelimiter_t *rl) {
|
|||||||
&rl->interval, ISC_FALSE);
|
&rl->interval, ISC_FALSE);
|
||||||
if (result == ISC_R_SUCCESS)
|
if (result == ISC_R_SUCCESS)
|
||||||
rl->state = isc_ratelimiter_ratelimited;
|
rl->state = isc_ratelimiter_ratelimited;
|
||||||
} else
|
} else
|
||||||
rl->state = isc_ratelimiter_idle;
|
rl->state = isc_ratelimiter_idle;
|
||||||
break;
|
break;
|
||||||
case isc_ratelimiter_ratelimited:
|
case isc_ratelimiter_ratelimited:
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (C) 2004, 2005, 2007-2009 Internet Systems Consortium, Inc. ("ISC")
|
* Copyright (C) 2004, 2005, 2007-2009, 2012 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Copyright (C) 2000, 2001, 2003 Internet Software Consortium.
|
* Copyright (C) 2000, 2001, 2003 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
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Portions Copyright (C) 2004, 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
|
* Portions Copyright (C) 2004, 2005, 2007, 2012 Internet Systems Consortium, Inc. ("ISC")
|
||||||
* Portions Copyright (C) 1996-2001, 2003 Internet Software Consortium.
|
* Portions Copyright (C) 1996-2001, 2003 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
|
||||||
@@ -120,7 +120,7 @@ lwres_net_aton(const char *cp, struct in_addr *addr) {
|
|||||||
c = *++cp;
|
c = *++cp;
|
||||||
if (c == 'x' || c == 'X') {
|
if (c == 'x' || c == 'X') {
|
||||||
base = 16;
|
base = 16;
|
||||||
c = *++cp;
|
c = *++cp;
|
||||||
} else {
|
} else {
|
||||||
base = 8;
|
base = 8;
|
||||||
digit = 1;
|
digit = 1;
|
||||||
|
Reference in New Issue
Block a user