]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
update copyright notice
authorAutomatic Updater <source@isc.org>
Fri, 2 Sep 2011 23:46:33 +0000 (23:46 +0000)
committerAutomatic Updater <source@isc.org>
Fri, 2 Sep 2011 23:46:33 +0000 (23:46 +0000)
15 files changed:
bin/named/query.c
bin/tests/startperf/clean.sh
bin/tests/system/upforwd/setup.sh
lib/dns/include/dns/zt.h
lib/dns/tests/dnstest.c
lib/dns/tests/testdata/zt/zone1.db
lib/dns/tests/zt_test.c
lib/dns/zone.c
lib/dns/zt.c
lib/isc/include/isc/list.h
lib/isc/include/isc/task.h
lib/isc/task.c
lib/isc/task_api.c
lib/isc/task_p.h
lib/isc/tests/task_test.c

index 08083ff23129fb02e386eb58d1721dcc66aa0044..0a58d8b64c6d3a2638323bedb3ee76d2be646d05 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: query.c,v 1.368 2011/09/02 21:55:16 each Exp $ */
+/* $Id: query.c,v 1.369 2011/09/02 23:46:31 tbox Exp $ */
 
 /*! \file */
 
@@ -6480,7 +6480,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
                        dns_message_puttempname(client->message, &fname);
 
                if (n == 0) {
-                       /*
+                       /*
                         * No matching rdatasets found in cache. If we were
                         * searching for RRSIG/SIG, that's probably okay;
                         * otherwise this is an error condition.
@@ -6491,7 +6491,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
                                if (!is_zone) {
                                        authoritative = ISC_FALSE;
                                        dns_rdatasetiter_destroy(&rdsiter);
-                                        client->attributes &= ~NS_CLIENTATTR_RA;
+                                       client->attributes &= ~NS_CLIENTATTR_RA;
                                        goto addauth;
                                }
 
@@ -6511,7 +6511,7 @@ query_find(ns_client_t *client, dns_fetchevent_t *event, dns_rdatatype_t qtype)
                                dns_rdatasetiter_destroy(&rdsiter);
                                fname = query_newname(client, dbuf, &b);
                                goto nxrrset_rrsig;
-                       } else 
+                       } else
                                result = DNS_R_SERVFAIL;
                }
 
index 8732ddb5048de7ae5d4fadc9160fa8e2e2006834..e32e9a5600ff531e066373f9f01d6452cb8aa345 100644 (file)
@@ -1,3 +1,20 @@
 #!/bin/sh
+#
+# Copyright (C) 2011  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: clean.sh,v 1.3 2011/09/02 23:46:31 tbox Exp $
+
 rm -rf zones
 rm -f named.conf
index 5ab27528f8ee347a7b205fbb37fc733bfd3719a1..1ae5996c3aa95e165edcbfe0c2d4c077e57b81f2 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# Copyright (C) 2004, 2007  Internet Systems Consortium, Inc. ("ISC")
+# Copyright (C) 2004, 2007, 2011  Internet Systems Consortium, Inc. ("ISC")
 # Copyright (C) 2000, 2001  Internet Software Consortium.
 #
 # Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: setup.sh,v 1.9 2011/09/02 02:25:07 marka Exp $
+# $Id: setup.sh,v 1.10 2011/09/02 23:46:32 tbox Exp $
 
 cp -f ns1/example1.db ns1/example.db
 rm -f ns1/example.db.jnl ns2/example.bk ns2/example.bk.jnl
index 49bb561f0ad2057dfb708f35cc0219deb8ce9d35..f91d7e8dbe0f97308c89014682c5dddd428d42c8 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004-2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004-2007, 2011  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1999-2002  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zt.h,v 1.39 2011/09/02 21:15:37 each Exp $ */
+/* $Id: zt.h,v 1.40 2011/09/02 23:46:32 tbox Exp $ */
 
 #ifndef DNS_ZT_H
 #define DNS_ZT_H 1
index a0b713be9bb20494a70bd9c348ec96849d3eed10..d34367200a6f0f4c78f2e3b9358bf5907b828ace 100644 (file)
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: dnstest.c,v 1.5 2011/09/02 21:15:37 each Exp $ */
+/* $Id: dnstest.c,v 1.6 2011/09/02 23:46:32 tbox Exp $ */
 
 /*! \file */
 
@@ -187,7 +187,7 @@ dns_test_end() {
 /*
  * Create a zone with origin 'name', return a pointer to the zone object in
  * 'zonep'.  If 'view' is set, add the zone to that view; otherwise, create
- * a new view for the purpose. 
+ * a new view for the purpose.
  *
  * If the created view is going to be needed by the caller subsequently,
  * then 'keepview' should be set to true; this will prevent the view
@@ -241,7 +241,7 @@ isc_result_t
 dns_test_setupzonemgr() {
        isc_result_t result;
        REQUIRE(zonemgr == NULL);
-       
+
        result = dns_zonemgr_create(mctx, taskmgr, timermgr, socketmgr,
                                    &zonemgr);
        return (result);
@@ -269,7 +269,7 @@ dns_test_releasezone(dns_zone_t *zone) {
 void
 dns_test_closezonemgr() {
        REQUIRE(zonemgr != NULL);
-       
+
        dns_zonemgr_shutdown(zonemgr);
        dns_zonemgr_detach(&zonemgr);
 }
index 16fe069b6c64a0cef51d54231c2ca4ae5d0d1395..01c33369bb8984a54ee0ed1af168d7ce5bc9c2d1 100644 (file)
@@ -1,3 +1,19 @@
+; Copyright (C) 2011  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: zone1.db,v 1.3 2011/09/02 23:46:32 tbox Exp $
+
 $TTL 1000
 @              in      soa     localhost. postmaster.localhost. (
                                1993050801      ;serial
index c1011edb4512f33b189d4a243cb5aa038ef67695..3b427e296fbdd0d074d146a6d564b44c6c1f3304 100644 (file)
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zt_test.c,v 1.2 2011/09/02 21:15:37 each Exp $ */
+/* $Id: zt_test.c,v 1.3 2011/09/02 23:46:32 tbox Exp $ */
 
 /*! \file */
 
@@ -91,7 +91,7 @@ ATF_TC_BODY(apply, tc) {
 
        result = dns_test_makezone("foo", &zone, NULL, ISC_TRUE);
        ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
-       
+
        view = dns_zone_getview(zone);
        ATF_REQUIRE(view->zonetable != NULL);
 
index 05298a5d28395ef08d1646c6c8c8ba4e8c1a343b..c5975562577fcab5d2a25bd871b6768104ee2db8 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zone.c,v 1.629 2011/09/02 21:15:36 each Exp $ */
+/* $Id: zone.c,v 1.630 2011/09/02 23:46:32 tbox Exp $ */
 
 /*! \file */
 
@@ -1654,7 +1654,7 @@ zone_asyncload(isc_task_t *task, isc_event_t *event) {
        LOCK_ZONE(zone);
        DNS_ZONE_CLRFLAG(zone, DNS_ZONEFLG_LOADPENDING);
        UNLOCK_ZONE(zone);
-       
+
        /* Inform the zone table we've finished loading */
        if (asl->loaded != NULL)
                (asl->loaded)(asl->loaded_arg, zone, task);
@@ -13528,7 +13528,7 @@ dns_zonemgr_setsize(dns_zonemgr_t *zmgr, int num_zones) {
         * We always set all tasks in the zone-load task pool to
         * privileged.  This prevents other tasks in the system from
         * running while the server task manager is in privileged
-        * mode.  
+        * mode.
         *
         * NOTE: If we start using task privileges for any other
         * part of the system than zone tasks, then this will need to be
index 5e0d9fd708d49708cdc02520117946da905cf205..637e2e925ae7e2bac602c2f23a730ccc94881d09 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: zt.c,v 1.51 2011/09/02 21:15:36 each Exp $ */
+/* $Id: zt.c,v 1.52 2011/09/02 23:46:32 tbox Exp $ */
 
 /*! \file */
 
@@ -294,7 +294,7 @@ dns_zt_asyncload(dns_zt_t *zt, dns_zt_allloaded_t alldone, void *arg) {
 }
 
 /*
- * Initiates asynchronous loading of zone 'zone'.  'callback' is a 
+ * Initiates asynchronous loading of zone 'zone'.  'callback' is a
  * pointer to a function which will be used to inform the caller when
  * the zone loading is complete.
  */
index 2e624315928d4b2abd161ba0e72882352cc93ba1..5cf611d58513adc7f8c5fa6d3d0d52b69d8f9790 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2006, 2007  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2006, 2007, 2011  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 1997-2002  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: list.h,v 1.25 2011/09/02 21:15:38 each Exp $ */
+/* $Id: list.h,v 1.26 2011/09/02 23:46:33 tbox Exp $ */
 
 #ifndef ISC_LIST_H
 #define ISC_LIST_H 1
index fc256db8130765fa4a52925df0ef1dcb0a72b5ab..90c44fec41ed45383d88dec69e5ba4d3f2f2fee8 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: task.h,v 1.72 2011/09/02 21:15:38 each Exp $ */
+/* $Id: task.h,v 1.73 2011/09/02 23:46:33 tbox Exp $ */
 
 #ifndef ISC_TASK_H
 #define ISC_TASK_H 1
@@ -626,7 +626,7 @@ void
 isc_task_setprivilege(isc_task_t *task, isc_boolean_t priv);
 /*%<
  * Set or unset the task's "privileged" flag depending on the value of
- * 'priv'. 
+ * 'priv'.
  *
  * Under normal circumstances this flag has no effect on the task behavior,
  * but when the task manager has been set to privileged exeuction mode via
index 75df593804907109c385c3aca5eed1f296608b78..cfafb6da5514609b807839a1288055a98a51812f 100644 (file)
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: task.c,v 1.118 2011/09/02 21:15:37 each Exp $ */
+/* $Id: task.c,v 1.119 2011/09/02 23:46:32 tbox Exp $ */
 
 /*! \file
  * \author Principal Author: Bob Halley
@@ -1232,7 +1232,7 @@ dispatch(isc__taskmgr_t *manager) {
                                push_readyq(manager, task);
 #else
                                ENQUEUE(new_ready_tasks, task, ready_link);
-                               if ((task->flags & TASK_F_PRIVILEGED) != 0) 
+                               if ((task->flags & TASK_F_PRIVILEGED) != 0)
                                        ENQUEUE(new_priority_tasks, task,
                                                ready_priority_link);
 #endif
index a1b53c2db3bdd2e57c45879e6d77f0c99dc2e0d4..a53857c30ad74ad123a35648967c232a99cfd6e6 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2009, 2010  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2009-2011  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
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: task_api.c,v 1.8 2011/09/02 21:15:38 each Exp $ */
+/* $Id: task_api.c,v 1.9 2011/09/02 23:46:32 tbox Exp $ */
 
 #include <config.h>
 
index b7d463fceb193aaa4eb158a8802d6359d25c8e41..5b417388e3ca453112c99ab3c12cbf1d4c4f75ec 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 2004, 2005, 2007, 2009  Internet Systems Consortium, Inc. ("ISC")
+ * Copyright (C) 2004, 2005, 2007, 2009, 2011  Internet Systems Consortium, Inc. ("ISC")
  * Copyright (C) 2000, 2001  Internet Software Consortium.
  *
  * Permission to use, copy, modify, and/or distribute this software for any
@@ -15,7 +15,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: task_p.h,v 1.14 2011/09/02 21:15:38 each Exp $ */
+/* $Id: task_p.h,v 1.15 2011/09/02 23:46:32 tbox Exp $ */
 
 #ifndef ISC_TASK_P_H
 #define ISC_TASK_P_H
index 34efe31c919671d2a24a1d7f57f7bbc7ba638765..0de8129ebc320072f8a88dbbe2377db8a615f254 100644 (file)
@@ -14,7 +14,7 @@
  * PERFORMANCE OF THIS SOFTWARE.
  */
 
-/* $Id: task_test.c,v 1.2 2011/09/02 21:15:38 each Exp $ */
+/* $Id: task_test.c,v 1.3 2011/09/02 23:46:33 tbox Exp $ */
 
 /*! \file */
 
@@ -114,14 +114,14 @@ ATF_TC_BODY(all_events, tc) {
        ATF_REQUIRE_EQ(result, ISC_R_SUCCESS);
 
        /* First event */
-       event = isc_event_allocate(mctx, task, ISC_TASKEVENT_TEST, 
+       event = isc_event_allocate(mctx, task, ISC_TASKEVENT_TEST,
                                   set, &a, sizeof (isc_event_t));
        ATF_REQUIRE(event != NULL);
 
        ATF_CHECK_EQ(a, 0);
        isc_task_send(task, &event);
 
-       event = isc_event_allocate(mctx, task, ISC_TASKEVENT_TEST, 
+       event = isc_event_allocate(mctx, task, ISC_TASKEVENT_TEST,
                                   set, &b, sizeof (isc_event_t));
        ATF_REQUIRE(event != NULL);
 
@@ -187,7 +187,7 @@ ATF_TC_BODY(privileged_events, tc) {
        ATF_CHECK(!isc_task_privilege(task2));
 
        /* First event: privileged */
-       event = isc_event_allocate(mctx, task1, ISC_TASKEVENT_TEST, 
+       event = isc_event_allocate(mctx, task1, ISC_TASKEVENT_TEST,
                                   set, &a, sizeof (isc_event_t));
        ATF_REQUIRE(event != NULL);
 
@@ -195,7 +195,7 @@ ATF_TC_BODY(privileged_events, tc) {
        isc_task_send(task1, &event);
 
        /* Second event: not privileged */
-       event = isc_event_allocate(mctx, task2, ISC_TASKEVENT_TEST, 
+       event = isc_event_allocate(mctx, task2, ISC_TASKEVENT_TEST,
                                   set, &b, sizeof (isc_event_t));
        ATF_REQUIRE(event != NULL);
 
@@ -203,7 +203,7 @@ ATF_TC_BODY(privileged_events, tc) {
        isc_task_send(task2, &event);
 
        /* Third event: privileged */
-       event = isc_event_allocate(mctx, task1, ISC_TASKEVENT_TEST, 
+       event = isc_event_allocate(mctx, task1, ISC_TASKEVENT_TEST,
                                   set, &c, sizeof (isc_event_t));
        ATF_REQUIRE(event != NULL);
 
@@ -211,7 +211,7 @@ ATF_TC_BODY(privileged_events, tc) {
        isc_task_send(task1, &event);
 
        /* Fourth event: privileged */
-       event = isc_event_allocate(mctx, task1, ISC_TASKEVENT_TEST, 
+       event = isc_event_allocate(mctx, task1, ISC_TASKEVENT_TEST,
                                   set, &d, sizeof (isc_event_t));
        ATF_REQUIRE(event != NULL);
 
@@ -219,7 +219,7 @@ ATF_TC_BODY(privileged_events, tc) {
        isc_task_send(task1, &event);
 
        /* Fifth event: not privileged */
-       event = isc_event_allocate(mctx, task2, ISC_TASKEVENT_TEST, 
+       event = isc_event_allocate(mctx, task2, ISC_TASKEVENT_TEST,
                                   set, &e, sizeof (isc_event_t));
        ATF_REQUIRE(event != NULL);
 
@@ -316,7 +316,7 @@ ATF_TC_BODY(privilege_drop, tc) {
        ATF_CHECK(!isc_task_privilege(task2));
 
        /* First event: privileged */
-       event = isc_event_allocate(mctx, task1, ISC_TASKEVENT_TEST, 
+       event = isc_event_allocate(mctx, task1, ISC_TASKEVENT_TEST,
                                   set_and_drop, &a, sizeof (isc_event_t));
        ATF_REQUIRE(event != NULL);
 
@@ -324,7 +324,7 @@ ATF_TC_BODY(privilege_drop, tc) {
        isc_task_send(task1, &event);
 
        /* Second event: not privileged */
-       event = isc_event_allocate(mctx, task2, ISC_TASKEVENT_TEST, 
+       event = isc_event_allocate(mctx, task2, ISC_TASKEVENT_TEST,
                                   set_and_drop, &b, sizeof (isc_event_t));
        ATF_REQUIRE(event != NULL);
 
@@ -332,7 +332,7 @@ ATF_TC_BODY(privilege_drop, tc) {
        isc_task_send(task2, &event);
 
        /* Third event: privileged */
-       event = isc_event_allocate(mctx, task1, ISC_TASKEVENT_TEST, 
+       event = isc_event_allocate(mctx, task1, ISC_TASKEVENT_TEST,
                                   set_and_drop, &c, sizeof (isc_event_t));
        ATF_REQUIRE(event != NULL);
 
@@ -340,7 +340,7 @@ ATF_TC_BODY(privilege_drop, tc) {
        isc_task_send(task1, &event);
 
        /* Fourth event: privileged */
-       event = isc_event_allocate(mctx, task1, ISC_TASKEVENT_TEST, 
+       event = isc_event_allocate(mctx, task1, ISC_TASKEVENT_TEST,
                                   set_and_drop, &d, sizeof (isc_event_t));
        ATF_REQUIRE(event != NULL);
 
@@ -348,7 +348,7 @@ ATF_TC_BODY(privilege_drop, tc) {
        isc_task_send(task1, &event);
 
        /* Fifth event: not privileged */
-       event = isc_event_allocate(mctx, task2, ISC_TASKEVENT_TEST, 
+       event = isc_event_allocate(mctx, task2, ISC_TASKEVENT_TEST,
                                   set_and_drop, &e, sizeof (isc_event_t));
        ATF_REQUIRE(event != NULL);