]> git.ipfire.org Git - thirdparty/bind9.git/log
thirdparty/bind9.git
8 years agoremember the masters count
Mark Andrews [Thu, 15 Feb 2018 03:56:13 +0000 (14:56 +1100)] 
remember the masters count

8 years agoreorder test to silence cppcheck
Mark Andrews [Thu, 15 Feb 2018 03:50:36 +0000 (14:50 +1100)] 
reorder test to silence cppcheck

8 years agouse %u instead of %d
Mark Andrews [Thu, 15 Feb 2018 03:25:37 +0000 (14:25 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Thu, 15 Feb 2018 03:23:54 +0000 (14:23 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Thu, 15 Feb 2018 03:23:15 +0000 (14:23 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Thu, 15 Feb 2018 03:21:42 +0000 (14:21 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Thu, 15 Feb 2018 03:20:16 +0000 (14:20 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Thu, 15 Feb 2018 02:43:13 +0000 (13:43 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Thu, 15 Feb 2018 02:29:22 +0000 (13:29 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Thu, 15 Feb 2018 02:27:03 +0000 (13:27 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Thu, 15 Feb 2018 02:26:09 +0000 (13:26 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Thu, 15 Feb 2018 02:23:11 +0000 (13:23 +1100)] 
use %u instead of %d

8 years agocase to unsigned; reorder expression
Mark Andrews [Thu, 15 Feb 2018 02:20:59 +0000 (13:20 +1100)] 
case to unsigned; reorder expression

8 years agosimplify expression
Mark Andrews [Thu, 15 Feb 2018 02:11:25 +0000 (13:11 +1100)] 
simplify expression

8 years agouse %u and preserve unsigned property
Mark Andrews [Thu, 15 Feb 2018 01:38:22 +0000 (12:38 +1100)] 
use %u and preserve unsigned property

8 years agomake declaration and use of setnocookie fully conditional
Mark Andrews [Thu, 15 Feb 2018 01:36:03 +0000 (12:36 +1100)] 
make declaration and use of setnocookie fully conditional

8 years agocast to unsigned
Mark Andrews [Thu, 15 Feb 2018 01:24:56 +0000 (12:24 +1100)] 
cast to unsigned

8 years agopreserve unsigned property
Mark Andrews [Thu, 15 Feb 2018 01:24:33 +0000 (12:24 +1100)] 
preserve unsigned property

8 years agouse %u instead of %d
Mark Andrews [Thu, 15 Feb 2018 01:11:17 +0000 (12:11 +1100)] 
use %u instead of %d

8 years agomake both arguments of & unsigned
Mark Andrews [Thu, 15 Feb 2018 01:08:52 +0000 (12:08 +1100)] 
make both arguments of & unsigned

8 years agouse %u instead of %d
Mark Andrews [Thu, 15 Feb 2018 01:04:33 +0000 (12:04 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Thu, 15 Feb 2018 00:52:33 +0000 (11:52 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Thu, 15 Feb 2018 00:41:13 +0000 (11:41 +1100)] 
use %u instead of %d

8 years agoshift unsigned (~0U) rather than signed (~0) contant
Mark Andrews [Wed, 14 Feb 2018 13:41:13 +0000 (00:41 +1100)] 
shift unsigned (~0U) rather than signed (~0) contant

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 13:24:11 +0000 (00:24 +1100)] 
use %u instead of %d

8 years agounsigned constants
Mark Andrews [Wed, 14 Feb 2018 13:16:19 +0000 (00:16 +1100)] 
unsigned constants

8 years agounsigned constants
Mark Andrews [Wed, 14 Feb 2018 13:14:06 +0000 (00:14 +1100)] 
unsigned constants

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 13:03:05 +0000 (00:03 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 13:02:14 +0000 (00:02 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 13:00:17 +0000 (00:00 +1100)] 
use %u instead of %d

8 years agoprevent implict conversion to signed
Mark Andrews [Wed, 14 Feb 2018 09:32:51 +0000 (20:32 +1100)] 
prevent implict conversion to signed

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 08:33:25 +0000 (19:33 +1100)] 
use %u instead of %d

8 years agoINSIST ipnum6 != NULL
Mark Andrews [Wed, 14 Feb 2018 08:31:16 +0000 (19:31 +1100)] 
INSIST ipnum6 != NULL

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 08:28:13 +0000 (19:28 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 08:26:37 +0000 (19:26 +1100)] 
use %u instead of %d

8 years agotest for >= 0 and use %d instead of %u
Mark Andrews [Wed, 14 Feb 2018 08:24:48 +0000 (19:24 +1100)] 
test for >= 0 and use %d instead of %u

8 years agoformally cast to int; use %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 08:20:38 +0000 (19:20 +1100)] 
formally cast to int; use %u instead of %d

8 years agoformally cast to int
Mark Andrews [Wed, 14 Feb 2018 08:13:56 +0000 (19:13 +1100)] 
formally cast to int

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 08:09:23 +0000 (19:09 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 08:08:40 +0000 (19:08 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 08:08:18 +0000 (19:08 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 08:07:27 +0000 (19:07 +1100)] 
use %u instead of %d

8 years agocopyrights
Mark Andrews [Wed, 14 Feb 2018 07:54:05 +0000 (18:54 +1100)] 
copyrights

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 07:46:15 +0000 (18:46 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 07:41:08 +0000 (18:41 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 07:39:31 +0000 (18:39 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 07:39:05 +0000 (18:39 +1100)] 
use %u instead of %d

8 years agomake declarations consistent
Mark Andrews [Wed, 14 Feb 2018 07:36:08 +0000 (18:36 +1100)] 
make declarations consistent

8 years agoreport argument error in human form
Mark Andrews [Wed, 14 Feb 2018 07:32:49 +0000 (18:32 +1100)] 
report argument error in human form

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 07:25:57 +0000 (18:25 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 07:24:22 +0000 (18:24 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 07:21:56 +0000 (18:21 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 07:21:29 +0000 (18:21 +1100)] 
use %u instead of %d

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 07:20:46 +0000 (18:20 +1100)] 
use %u instead of %d

8 years agouse %u instead of %i
Mark Andrews [Wed, 14 Feb 2018 07:18:12 +0000 (18:18 +1100)] 
use %u instead of %i

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 07:08:06 +0000 (18:08 +1100)] 
use %u instead of %d

8 years agouse %u rather than %d; pass a unsigned int pointer
Mark Andrews [Wed, 14 Feb 2018 07:06:09 +0000 (18:06 +1100)] 
use %u rather than %d; pass a unsigned int pointer

8 years agoclear *logp
Mark Andrews [Wed, 14 Feb 2018 06:53:23 +0000 (17:53 +1100)] 
clear *logp

8 years agouse %u instead of %d
Mark Andrews [Wed, 14 Feb 2018 06:51:05 +0000 (17:51 +1100)] 
use %u instead of %d

8 years agosigned vs unsigned fixes
Mark Andrews [Wed, 14 Feb 2018 06:41:30 +0000 (17:41 +1100)] 
signed vs unsigned fixes

8 years agoMerge branch 'fix-loadpending-handling' into 'master'
Michał Kępień [Thu, 15 Feb 2018 21:18:32 +0000 (16:18 -0500)] 
Merge branch 'fix-loadpending-handling' into 'master'

Fix DNS_ZONEFLG_LOADPENDING handling

See merge request isc-projects/bind9!22

8 years ago[master] copyrights
Evan Hunt [Thu, 15 Feb 2018 19:56:13 +0000 (11:56 -0800)] 
[master] copyrights

8 years agoAdd CHANGES entry
Michał Kępień [Thu, 15 Feb 2018 19:31:55 +0000 (20:31 +0100)] 
Add CHANGES entry

4892. [bug] named could leak memory when "rndc reload" was invoked
before all zone loading actions triggered by a previous
"rndc reload" command were completed. [RT #47076]

8 years agoDo not recheck DNS_ZONEFLG_LOADPENDING in zone_asyncload()
Michał Kępień [Thu, 15 Feb 2018 19:31:54 +0000 (20:31 +0100)] 
Do not recheck DNS_ZONEFLG_LOADPENDING in zone_asyncload()

Remove a block of code which dates back to commit 8a2ab2b9203, when
dns_zone_asyncload() did not yet check DNS_ZONEFLG_LOADPENDING.
Currently, no race in accessing DNS_ZONEFLG_LOADPENDING is possible any
more, because:

  - dns_zone_asyncload() is still the only function which may queue
    zone_asyncload(),

  - dns_zone_asyncload() accesses DNS_ZONEFLG_LOADPENDING under a lock
    (and potentially queues an event under the same lock),

  - DNS_ZONEFLG_LOADPENDING is not cleared until the load actually
    completes.

Thus, the rechecking code can be safely removed from zone_asyncload().

Note that this also brings zone_asyncload() to a state in which the
completion callback is always invoked.  This is required to prevent
leaking memory in case something goes wrong in zone_asyncload() and a
zone table the zone belongs to is indefinitely left with a positive
reference count.

8 years agoAsynchronous zone load events have no way of getting canceled
Michał Kępień [Thu, 15 Feb 2018 19:31:53 +0000 (20:31 +0100)] 
Asynchronous zone load events have no way of getting canceled

Code handling cancellation of asynchronous zone load events was likely
copied over from other functions when asynchronous zone loading was
first implemented in commit 8a2ab2b9203.  However, unlike those other
functions, asynchronous zone loading events currently have no way of
getting canceled once they get posted, which means the aforementioned
code is effectively dead.  Remove it to prevent confusion.

8 years agoOnly clear DNS_ZONEFLG_LOADPENDING in zone_asyncload() if zone loading is completed...
Michał Kępień [Thu, 15 Feb 2018 19:31:51 +0000 (20:31 +0100)] 
Only clear DNS_ZONEFLG_LOADPENDING in zone_asyncload() if zone loading is completed immediately

zone_load() is not always synchronous, it may only initiate an
asynchronous load and return DNS_R_CONTINUE, which means zone loading
has not yet been completed.  In such a case, zone_asyncload() must not
clear DNS_ZONEFLG_LOADPENDING immediately and leave that up to
zone_postload().

8 years agoLock zone before checking whether its asynchronous load is already pending
Michał Kępień [Thu, 15 Feb 2018 19:31:49 +0000 (20:31 +0100)] 
Lock zone before checking whether its asynchronous load is already pending

While this is not an issue in named, which only calls
dns_zone_asyncload() from task-exclusive mode, this function is exported
by libdns and thus may in theory be concurrently called for the same
zone by multiple threads.  It also does not hurt to be consistent
locking-wise with other DNS_ZONEFLG_LOADPENDING accesses.

8 years agoReduce repeated detection of mysql lib directory.
Petr Menšík [Thu, 15 Feb 2018 11:48:56 +0000 (12:48 +0100)] 
Reduce repeated detection of mysql lib directory.
Use common part once a bit later.

8 years agoReuse new function from rt46864 for similar block elsewhere.
Petr Menšík [Wed, 17 Jan 2018 18:43:12 +0000 (19:43 +0100)] 
Reuse new function from rt46864 for similar block elsewhere.

8 years agoMerge branch 'gitlab-ci-keep-artifacts' into 'master'
Ondřej Surý [Wed, 14 Feb 2018 13:52:30 +0000 (08:52 -0500)] 
Merge branch 'gitlab-ci-keep-artifacts' into 'master'

Archive the full bin/tests/ directory and bin/named/named binary on build/test failure in GitLab CI

See merge request isc-projects/bind9!24

8 years agoArchive the full bin/tests/ directory and bin/named/named binary on build/test failure.
Ondřej Surý [Tue, 13 Feb 2018 15:20:32 +0000 (16:20 +0100)] 
Archive the full bin/tests/ directory and bin/named/named binary on build/test failure.

8 years agoMerge branch 'cherry-pick-d7975e30' into 'master'
Evan Hunt [Wed, 14 Feb 2018 02:26:44 +0000 (21:26 -0500)] 
Merge branch 'cherry-pick-d7975e30' into 'master'

placeholder

See merge request isc-projects/bind9!23

8 years agoplaceholder
Evan Hunt [Wed, 14 Feb 2018 00:57:31 +0000 (16:57 -0800)] 
placeholder

(cherry picked from commit d7975e300ea1f9865bee92696aeb9ea59394152a)

8 years agoMerge branch 'update-libtool-2.4.6' into 'master'
Ondřej Surý [Mon, 12 Feb 2018 15:55:23 +0000 (10:55 -0500)] 
Merge branch 'update-libtool-2.4.6' into 'master'

Update libtool files to 2.4.6

See merge request isc-projects/bind9!4

8 years agoMerge branch 'gitlab-ci' into 'master'
Ondřej Surý [Mon, 12 Feb 2018 15:55:08 +0000 (10:55 -0500)] 
Merge branch 'gitlab-ci' into 'master'

Add support for running builds directly from Gitlab CI

See merge request isc-projects/bind9!20

8 years agoDisable artifact uploading as it's not needed anymore with unified build and test
Ondřej Surý [Thu, 21 Dec 2017 16:47:45 +0000 (17:47 +0100)] 
Disable artifact uploading as it's not needed anymore with unified build and test

8 years agoRun the network script in debugging mode
Ondřej Surý [Thu, 21 Dec 2017 15:24:34 +0000 (16:24 +0100)] 
Run the network script in debugging mode

8 years agoCheck the address and routing information
Ondřej Surý [Thu, 21 Dec 2017 14:17:56 +0000 (15:17 +0100)] 
Check the address and routing information

8 years agoLook a who am I
Ondřej Surý [Thu, 21 Dec 2017 14:10:47 +0000 (15:10 +0100)] 
Look a who am I

8 years agoThe interface setup needs sudo
Ondřej Surý [Thu, 21 Dec 2017 12:14:32 +0000 (13:14 +0100)] 
The interface setup needs sudo

8 years agoMerge build and test steps
Ondřej Surý [Thu, 21 Dec 2017 12:08:58 +0000 (13:08 +0100)] 
Merge build and test steps

8 years agoUse external CI Docker images
Ondřej Surý [Thu, 21 Dec 2017 08:51:12 +0000 (09:51 +0100)] 
Use external CI Docker images

8 years agoEnforce overlay2 filesystem driver for docker builds
Ondřej Surý [Mon, 18 Dec 2017 13:33:53 +0000 (14:33 +0100)] 
Enforce overlay2 filesystem driver for docker builds

8 years agoRename $CI_BUILD_TOKEN to $CI_JOB_TOKEN
Ondřej Surý [Mon, 18 Dec 2017 13:33:30 +0000 (14:33 +0100)] 
Rename $CI_BUILD_TOKEN to $CI_JOB_TOKEN

8 years agoInstall libnet-dns-perl into Docker images to fix tests failures
Ondřej Surý [Mon, 16 Oct 2017 11:24:06 +0000 (13:24 +0200)] 
Install libnet-dns-perl into Docker images to fix tests failures

8 years agoInstall procps for /bin/kill into Debian and Ubuntu docker images
Ondřej Surý [Fri, 13 Oct 2017 20:36:09 +0000 (22:36 +0200)] 
Install procps for /bin/kill into Debian and Ubuntu docker images

8 years agoAdd correct dependencies for test jobs to pull artifacts from build jobs
Ondřej Surý [Fri, 13 Oct 2017 19:38:45 +0000 (21:38 +0200)] 
Add correct dependencies for test jobs to pull artifacts from build jobs

8 years agoAdd net-tools for ifconfig support
Ondřej Surý [Fri, 13 Oct 2017 19:10:40 +0000 (21:10 +0200)] 
Add net-tools for ifconfig support

8 years agoRun the interface up script with 'bash' as it's not executable by itself directly
Ondřej Surý [Fri, 13 Oct 2017 18:50:55 +0000 (20:50 +0200)] 
Run the interface up script with 'bash' as it's not executable by itself directly

8 years agoAdd i386 as tested architecture
Ondřej Surý [Fri, 13 Oct 2017 14:35:57 +0000 (16:35 +0200)] 
Add i386 as tested architecture

8 years agoEnable private IP addresses for tests
Ondřej Surý [Fri, 13 Oct 2017 14:15:34 +0000 (16:15 +0200)] 
Enable private IP addresses for tests

8 years agoBuild docker images only in master, triggers and/or tags
Ondřej Surý [Fri, 13 Oct 2017 14:05:35 +0000 (16:05 +0200)] 
Build docker images only in master, triggers and/or tags

8 years agoEnable Gitlab-CI for the project
Ondřej Surý [Fri, 13 Oct 2017 13:32:08 +0000 (15:32 +0200)] 
Enable Gitlab-CI for the project

8 years agoMerge branch 'remove-ondestroy-callbacks' into 'master'
Ondřej Surý [Mon, 12 Feb 2018 13:54:42 +0000 (08:54 -0500)] 
Merge branch 'remove-ondestroy-callbacks' into 'master'

Remove ondestroy callbacks from libisc.

See merge request isc-projects/bind9!3

8 years agoUpdate CHANGES for isc-projects/bind9!3
Ondřej Surý [Mon, 12 Feb 2018 13:53:39 +0000 (14:53 +0100)] 
Update CHANGES for isc-projects/bind9!3

8 years agoRemove whole unused ondestroy callback mechanism
Ondřej Surý [Mon, 30 Oct 2017 13:42:26 +0000 (14:42 +0100)] 
Remove whole unused ondestroy callback mechanism

8 years ago[master] copyrights
Evan Hunt [Sun, 11 Feb 2018 00:30:21 +0000 (16:30 -0800)] 
[master] copyrights

8 years agoregen master
Tinderbox User [Sat, 10 Feb 2018 01:12:12 +0000 (01:12 +0000)] 
regen master

8 years agocheck warning text
Mark Andrews [Fri, 9 Feb 2018 03:04:35 +0000 (14:04 +1100)] 
check warning text

(cherry picked from commit c6cd108838543042407b81fc865bbfc66dc6034b)

8 years agoget the correct test file
Mark Andrews [Fri, 9 Feb 2018 02:57:10 +0000 (13:57 +1100)] 
get the correct test file