Mark Andrews
cd0d61e0c8
autoheader
2018-11-13 10:31:50 +11:00
Mark Andrews
b2dbe37538
Merge branch 'fix-test-linkages' into 'master'
...
Fix test linkages
See merge request isc-projects/bind9!1027
2018-11-12 15:45:04 -05:00
Mark Andrews
9024cf0c15
remove lib/isc/tests/result_test as it is now cmocka
2018-11-13 07:26:29 +11:00
Mark Andrews
ba0e5ffc09
fixup
2018-11-13 07:26:29 +11:00
Mark Andrews
9a59352b4c
link in lib/isccc/tests/Kyuafile
2018-11-13 07:23:36 +11:00
Ondřej Surý
cc60f3a3be
Merge branch '687-reduce-the-overall-files-we-consider-copyrightable' into 'master'
...
Resolve "Reduce the overall files we consider copyrightable"
Closes #687
See merge request isc-projects/bind9!1026
2018-11-12 10:14:33 -05:00
Ondřej Surý
a1de63a2d2
Remove support for adding copyright to zone data
2018-11-12 16:11:57 +01:00
Ondřej Surý
d99788042d
Exclude configuration files from the copyright mumbo-jumbo
2018-11-12 16:01:37 +01:00
Mark Andrews
62a92b7784
Merge branch 'remove-duplicate-block' into 'master'
...
remove duplicate block
See merge request isc-projects/bind9!1022
2018-11-12 02:12:04 -05:00
Mark Andrews
5e3f20a71b
remove duplicate block
2018-11-12 17:57:31 +11:00
Mark Andrews
7a7cf952ad
Merge branch '676-isc_result_toid-tables-not-complete' into 'master'
...
Resolve "isc_result_toid tables not complete"
Closes #676
See merge request isc-projects/bind9!1010
2018-11-11 18:51:03 -05:00
Evan Hunt
471110933a
convert result tests to use CMocka instead of ATF
2018-11-10 12:29:40 -08:00
Mark Andrews
4f04a79250
check result tables are complete
2018-11-10 10:30:43 +11:00
Mark Andrews
3f0aaf7a60
Merge branch 'placeholder' into 'master'
...
placeholder
See merge request isc-projects/bind9!1008
2018-11-09 00:34:27 -05:00
Mark Andrews
baa46c3d4b
placeholder
2018-11-09 16:33:29 +11:00
Mark Andrews
65ffafdc6a
Merge branch '186-bind-9-12-x-potential-bug-with-dig-when-tools-installed-on-windows' into 'master'
...
Resolve "Bind 9.12.x: Potential bug with Dig when Tools installed on Windows"
Closes #186
See merge request isc-projects/bind9!1004
2018-11-09 00:18:15 -05:00
Mark Andrews
4f7deb348b
add CHANGES note
2018-11-09 16:09:42 +11:00
Mark Andrews
6ead8c7be8
look in windows registry for nameservers, domainname and search list
2018-11-09 16:06:49 +11:00
Mark Andrews
6bac3508ec
Merge branch '623-rpz-logging-to-include-qclass-and-qtype' into 'master'
...
Resolve "RPZ logging to include QCLASS and QTYPE"
Closes #623
See merge request isc-projects/bind9!966
2018-11-08 23:04:30 -05:00
Mark Andrews
505a1ceda4
add CHANGES note
2018-11-09 14:55:52 +11:00
Mark Andrews
28442f11f0
log RPZ type and class
2018-11-08 22:48:28 -05:00
Mark Andrews
a13a0a2beb
Merge branch '673-fix-windows-build-resource-discover' into 'master'
...
Resolve "fix windows build resource discover"
Closes #673
See merge request isc-projects/bind9!1005
2018-11-08 20:38:45 -05:00
Mark Andrews
896fb585b3
isc_resource_getlimit under windows only supports isc_resource_openfiles
2018-11-09 12:29:36 +11:00
Ondřej Surý
02be459f37
Merge branch '449-isc_stdtime_t-post-stdint-cleanup' into 'master'
...
Resolve "Follow-up from "Redefine ISC's int and boolean types to use <stdint.h> and <stdbool.h> types""
Closes #449
See merge request isc-projects/bind9!998
2018-11-08 14:55:55 -05:00
Ondřej Surý
6f5fe11f5a
isc_stdtime_t is always 32-bit now, so remove the always true macro STDTIME_ON_32BITS
2018-11-09 02:27:06 +07:00
Ondřej Surý
c355e1f38f
Print isc_stdtime_t with PRIu32
2018-11-09 02:27:06 +07:00
Ondřej Surý
2a652aefe9
Merge branch '224-remove-isc-hmax-fixup-exe-bnff-from-win32utils-configure' into 'master'
...
Remove isc-hmac-fixup.exe remains from win32util/Configure
Closes #224
See merge request isc-projects/bind9!1000
2018-11-08 14:02:25 -05:00
Ondřej Surý
f95e4593ed
Remove isc-hmac-fixup.exe remains from win32util/Configure
2018-11-09 01:48:52 +07:00
Ondřej Surý
c303cf5cc9
Merge branch '305-misc-fixes' into 'master'
...
Miscellaneous style fixes - implicit casts to bool and uninitialized variables fixes
Closes #305
See merge request isc-projects/bind9!851
2018-11-08 02:03:07 -05:00
Ondřej Surý
68ca987792
Remove dummy ISLOCKED macro
2018-11-08 12:22:26 +07:00
Ondřej Surý
23fff6c569
Hint the compiler with ISC_UNREACHABLE(); that code after INSIST(0); cannot be reached
2018-11-08 12:22:17 +07:00
Ondřej Surý
b992b5b811
Modify the dbversion_test.c to detect disabled assertions
2018-11-08 12:22:17 +07:00
Ondřej Surý
29c45200e7
Add extra return failure after INSIST(0) in default branch
2018-11-08 12:22:17 +07:00
Ondřej Surý
4eaf927571
Use larger buffers on snprintf buffer overflow false positives
2018-11-08 12:21:53 +07:00
Ondřej Surý
e2e138a801
Don't assert on failed getrlimit call to allow called to handle this gracefully as it already does, just abort where we need to know the numbers
2018-11-08 12:21:53 +07:00
Ondřej Surý
a831e0f72d
When ISC assertions are disabled, still execute the condition to prevent unused variable warnings/errors from the compiler
2018-11-08 12:21:53 +07:00
Ondřej Surý
461ffead1f
Add a GitLab CI job that runs with all assertions disabled
2018-11-08 12:21:53 +07:00
Ondřej Surý
b2b43fd235
Turn (int & flag) into (int & flag) != 0 when implicitly typed to bool
2018-11-08 12:21:53 +07:00
Ondřej Surý
fbd2e47f51
Add small tweaks to the code to fix compilation when ISC assertions are disabled
...
While implementing the new unit testing framework cmocka, it was found that the
BIND 9 code doesn't compile when assertions are disabled or replaced with any
function (such as mock_assert() from cmocka unit testing framework) that's not
directly recognized as assertion by the compiler.
This made the compiler to complain about blocks of code that was recognized as
unreachable before, but now it isn't.
The changes in this commit include:
* assigns default values to couple of local variables,
* moves some return statements around INSIST assertions,
* adds __builtin_unreachable(); annotations after some INSIST assertions,
* fixes one broken assertion (= instead of ==)
2018-11-08 12:21:53 +07:00
Mark Andrews
8e292b3262
Merge branch 'wpk-get-rid-of-bashism-in-CDS-test' into 'master'
...
Small system tests fixes for Solaris
See merge request isc-projects/bind9!988
2018-11-07 19:41:30 -05:00
Witold Krecicki
82dfb77328
Remove unnecessary sed from autosign test
2018-11-08 00:07:00 +01:00
Witold Krecicki
0949b1fe2c
Use 'local' variable in echo functions in tests
2018-11-07 23:15:06 +01:00
Witold Kręcicki
dbf2e7928e
Get rid of bashism in CDS test
2018-11-07 23:13:47 +01:00
Ondřej Surý
3317d3d2bb
Merge branch '4-add-ac_posix_shell-m4-macro' into 'master'
...
Add AX_POSIX_SHELL autoconf macro to have POSIX-compatible shell in $SHELL
See merge request isc-projects/bind9!986
2018-11-07 15:03:44 -05:00
Ondřej Surý
601abfab30
Add CHANGES entry for AX_POSIX_SHELL
2018-11-08 02:52:19 +07:00
Ondřej Surý
b1e1dd2c25
Remove m4/ files from copyright check
2018-11-08 02:52:19 +07:00
Ondřej Surý
54ff27a6bc
Add and use AX_POSIX_SHELL autoconf macro, so we can rely on POSIX shell features
2018-11-08 02:52:19 +07:00
Ondřej Surý
cd6c016896
Merge branch 'wpk-fix-typo-thread-c' into 'master'
...
Fix a typo in lib/isc/unix/thread.c
See merge request isc-projects/bind9!990
2018-11-07 14:40:08 -05:00
Witold Kręcicki
ce478b4fc9
Fix a typo in lib/isc/unix/thread.c
2018-11-07 19:31:06 +00:00
Witold Krecicki
7a2248acf9
Merge branch '650-fix-race-in-dig' into 'master'
...
Add some DBC checks in dighost; fix race between clear_query and send_done in dighost
Closes #650
See merge request isc-projects/bind9!965
2018-11-07 13:04:13 -05:00