Mark Andrews
1ebdcd4c34
update the list of functions that are triggers for requiring #include <isc/print.h> or "print_p.h"
...
(cherry picked from commit 07317db2ca )
2018-11-16 11:31:01 +11:00
Mark Andrews
65efb52541
Merge branch 'u/fanf2/optionally-disable-digrc-v9_11' into 'v9_11'
...
U/fanf2/optionally disable digrc v9 11
See merge request isc-projects/bind9!1061
2018-11-14 21:43:28 -05:00
Mark Andrews
3194c0a8cd
add CHANGES
...
(cherry picked from commit a5524b5fe2 )
2018-11-15 13:21:44 +11:00
Tony Finch
660010f978
dig: a -r option to disable .digrc
...
(cherry picked from commit fdb74fed9e )
2018-11-15 13:21:21 +11:00
Evan Hunt
2be370b68c
Merge branch '347-various-bind-9-bugs-in-cleanup-after-fail-scenarios-v9_11' into 'v9_11'
...
Resolve "Various BIND 9 bugs in cleanup-after-fail scenarios"
See merge request isc-projects/bind9!1059
2018-11-14 19:45:57 -05:00
Mark Andrews
f14f70833f
uninitalize memory read on error path
...
(cherry picked from commit 4eadebe2b2 )
2018-11-15 00:16:35 +00:00
Mark Andrews
3aafdbf160
errors initalizing badcaches were not caught or cleaned up on error paths
...
(cherry picked from commit 93776c4c81 )
2018-11-15 00:16:31 +00:00
Evan Hunt
5b4905d428
Merge branch '558-nsupdate-leaks-memory-when-using-gss-tsig-and-receiving-sigterm-at-a-right-time-v9_11' into 'v9_11'
...
Resolve "nsupdate leaks memory when using GSS-TSIG and receiving SIGTERM at a "right" time"
See merge request isc-projects/bind9!1056
2018-11-14 15:03:28 -05:00
Mark Andrews
e409b8c698
free tmpzonename and restart_master
...
(cherry picked from commit 50714a9b35 )
2018-11-14 11:42:44 -08:00
Evan Hunt
b6574c57c6
Merge branch '675-don-t-use-typename-v9_11' into 'v9_11'
...
Resolve "Don't use 'typename'"
See merge request isc-projects/bind9!1054
2018-11-14 14:22:17 -05:00
Mark Andrews
ccf915f7e4
don't use 'typename' as it is reserved in C++
2018-11-14 11:13:21 -08:00
Mark Andrews
c97bc67ce2
Merge branch '688-prefer-kyua-over-aft-run-v9_11' into 'v9_11'
...
Resolve "prefer kyua over aft-run"
See merge request isc-projects/bind9!1052
2018-11-14 07:52:45 -05:00
Mark Andrews
2996e72d91
prefer kyua over atf
...
(cherry picked from commit 590d391bbb )
2018-11-14 23:41:51 +11:00
Mark Andrews
0dd74f2f86
Merge branch '584-dig-treats-4-6-m-after-q-argument-as-an-option-but-not-a-domain-name-v9_11' into 'v9_11'
...
Resolve "dig treats -4/-6/-m after -q argument as an option but not a domain name"
See merge request isc-projects/bind9!1047
2018-11-13 20:17:17 -05:00
Evan Hunt
cb355b8adc
style
...
(cherry picked from commit e356d93175 )
2018-11-14 11:57:02 +11:00
Mark Andrews
57d0ad450a
check that delv -q -m works
...
(cherry picked from commit 77128c867c )
2018-11-14 11:57:01 +11:00
Mark Andrews
c0d92d4190
check that dig -q -m works
...
(cherry picked from commit f6f07fb41e )
2018-11-14 11:56:59 +11:00
Mark Andrews
e8ca9303c7
add -q to dash_opts
...
(cherry picked from commit ba5d28dcfe )
2018-11-14 11:56:05 +11:00
Mark Andrews
0f5aeea233
dig and mdig failed to properly preparse dash value pairs when value was a seperate argument and started with a dash.
...
(cherry picked from commit 75fa84b67b )
2018-11-14 11:56:03 +11:00
Evan Hunt
be60437b16
Merge branch '587-statistics-channels-xml-v2-is-removed-but-still-documented-v9_11' into 'v9_11'
...
Resolve "statistics-channels /xml/v2 is removed but still documented"
See merge request isc-projects/bind9!1044
2018-11-13 14:09:35 -05:00
Mark Andrews
901adb154b
remove reference to obsolete xml/v2 schema
...
(cherry picked from commit 9e1af0cef1 )
2018-11-13 11:08:59 -08:00
Michał Kępień
961a77fb99
Merge branch '599-fix-a-shutdown-race-in-diagnostic-tools-v9_11' into 'v9_11'
...
[v9_11] Fix a shutdown race in bin/dig/dighost.c
See merge request isc-projects/bind9!1040
2018-11-13 08:25:15 -05:00
Michał Kępień
0298133676
Add CHANGES entry
...
5088. [bug] dig/host/nslookup could crash when interrupted close to
a query timeout. [GL #599 ]
(cherry picked from commit ae40e8039b )
2018-11-13 13:52:48 +01:00
Michał Kępień
f2ca287330
Fix a shutdown race in bin/dig/dighost.c
...
If a tool using the routines defined in bin/dig/dighost.c is sent an
interruption signal around the time a connection timeout is scheduled to
fire, connect_timeout() may be executed after destroy_libs() detaches
from the global task (setting 'global_task' to NULL), which results in a
crash upon a UDP retry due to bringup_timer() attempting to create a
timer with 'task' set to NULL. Fix by preventing connect_timeout() from
attempting a retry when shutdown is in progress.
(cherry picked from commit 4621756596 )
2018-11-13 13:52:48 +01:00
Evan Hunt
83544b0bdf
Merge branch 'fix-rules-typo-v9_11' into 'v9_11'
...
fix rules.in typo
See merge request isc-projects/bind9!1038
2018-11-13 03:41:48 -05:00
Evan Hunt
df3b061c99
fix typo
...
(cherry picked from commit 9671909289 )
2018-11-13 00:24:43 -08:00
Mark Andrews
0bd7e3de57
Merge branch 'autoheader-v9_11' into 'v9_11'
...
autoheader
See merge request isc-projects/bind9!1031
2018-11-12 18:13:05 -05:00
Mark Andrews
107fd6758d
autoheader
2018-11-12 18:01:28 -05:00
Mark Andrews
54a3d2ac63
Merge branch 'fix-test-linkages-v9_11' into 'v9_11'
...
Fix test linkages
See merge request isc-projects/bind9!1029
2018-11-12 16:01:04 -05:00
Mark Andrews
03f2cc49e3
remove lib/isc/tests/result_test as it is now cmocka
...
(cherry picked from commit 9024cf0c15 )
2018-11-13 07:50:51 +11:00
Mark Andrews
173827f78d
fixup
...
(cherry picked from commit ba0e5ffc09 )
2018-11-13 07:50:49 +11:00
Mark Andrews
ffc56a4bf3
link in lib/isccc/tests/Kyuafile
...
(cherry picked from commit 9a59352b4c )
2018-11-13 07:50:30 +11:00
Mark Andrews
ab5a68b3b1
Merge branch 'backport-require-cmocka-greater-than-or-equal-1.0.0-v9_11' into 'v9_11'
...
require cmocka >= 1.0.0
See merge request isc-projects/bind9!1024
2018-11-12 03:03:17 -05:00
Mark Andrews
58812a4641
define CMOCKA_CFLAGS and CMOCKA_LIBS
...
(cherry picked from commit 1e8cdc20f3 )
2018-11-12 18:42:58 +11:00
Mark Andrews
0c738a5673
require cmocka >= 1.0.0
...
(cherry picked from commit f3ff5f63ac )
2018-11-12 18:42:58 +11:00
Mark Andrews
c8d522dd36
Merge branch '351-fix-with-cmocka=path-build-v9_11' into 'v9_11'
...
Resolve "configure fails unless --enable-developer is specified"
See merge request isc-projects/bind9!1021
2018-11-12 01:49:36 -05:00
Ondřej Surý
6b50da7ba8
Use cmocka_set_message_output as test function for cmocka presence
...
(cherry picked from commit 0158c1a4ea )
2018-11-12 17:25:30 +11:00
Mark Andrews
8da45fcab7
Merge branch '351-disable-cmocka-by-default-v9_11' into 'v9_11'
...
Resolve "configure fails unless --enable-developer is specified"
See merge request isc-projects/bind9!1018
2018-11-12 00:24:29 -05:00
Ondřej Surý
760e336e89
Set with_cmocka=no by default
...
(cherry picked from commit ed8000f333 )
2018-11-12 00:01:24 -05:00
Mark Andrews
7d2451460d
Merge branch '676-isc_result_toid-tables-not-complete-v9_11' into 'v9_11'
...
Resolve "isc_result_toid tables not complete"
See merge request isc-projects/bind9!1017
2018-11-11 23:58:05 -05:00
Evan Hunt
181c5442b9
convert result tests to use CMocka instead of ATF
...
(cherry picked from commit 471110933a )
2018-11-12 15:38:50 +11:00
Mark Andrews
af5a051e4d
check result tables are complete
...
(cherry picked from commit 4f04a79250 )
2018-11-12 15:32:58 +11:00
Mark Andrews
c9e712e528
Merge branch '250-integrate-cmocka-into-our-build-scripts-v9_11' into 'v9_11'
...
Add cmocka support to infrastructure (build) files
See merge request isc-projects/bind9!1015
2018-11-11 21:10:13 -05:00
Ondřej Surý
22c0f129ae
Add support for cmocka assert testing by overriding REQUIRE/INSIST/... macros when UNIT_TESTING is defined
...
(cherry picked from commit 52731c000d )
2018-11-12 12:56:15 +11:00
Ondřej Surý
2dcc521b29
Add --wrap linker option detection
...
(cherry picked from commit 10535d1c79 )
2018-11-12 12:54:59 +11:00
Ondřej Surý
4c8112ec01
Enforce TAP output from cmocka based unit tests
...
(cherry picked from commit bd2ddec58f )
2018-11-12 12:53:21 +11:00
Ondřej Surý
b0745fb156
Integrate cmocka unit testing framework to kyua
...
(cherry picked from commit 07910f0153 )
2018-11-12 12:53:15 +11:00
Ondřej Surý
dc05021a4b
Merge branch '451-fix-atomic-int-lock-free-usage-v9_11' into 'v9_11'
...
(v9_11) Properly use ATOMIC_*_LOCK_FREE preprocessor constants
See merge request isc-projects/bind9!1003
2018-11-08 17:19:16 -05:00
Ondřej Surý
9000f73ba3
Properly use ATOMIC_*_LOCK_FREE preprocessor constants
...
The ATOMIC_*_LOCK_FREE can evalutate either 0, 1, or 2 which indicate the
lock-free property of the corresponding atomic types (both signed and unsigned).
Value Explanation
----- --------------------------------------
0 The atomic type is never lock-free
1 The atomic type is sometimes lock-free
2 The atomic type is always lock-free
----- --------------------------------------
(cherry picked from commit a5e7901eb9 )
2018-11-09 05:00:32 +07:00
Ondřej Surý
9e978d7416
Merge branch '449-isc_stdtime_t-post-stdint-cleanup-v9_11' into 'v9_11'
...
(v9_11) Resolve "Follow-up from "Redefine ISC's int and boolean types to use <stdint.h> and <stdbool.h> types""
See merge request isc-projects/bind9!1002
2018-11-08 15:19:31 -05:00