Ondřej Surý
3dece71b91
lib/dns/nta.c: use isc_refcount_t
2019-07-09 16:09:36 +02:00
Ondřej Surý
f5d3250d90
lib/dns/ecdb.c: use isc_refcount_t
2019-07-09 16:09:36 +02:00
Ondřej Surý
d108e86cc8
lib/dns/dbtable.c: use isc_refcount_t
2019-07-09 16:09:36 +02:00
Witold Kręcicki
757cff6644
lib/dns/cache.c: use isc_refcount_t
2019-07-09 16:09:36 +02:00
Witold Kręcicki
44e2088449
dns/stats.c: use isc_refcount_t
2019-07-09 16:09:36 +02:00
Witold Kręcicki
de73904d03
lib/ns/client: use refcount_t for reference counting
2019-07-09 16:09:36 +02:00
Witold Kręcicki
fc19182e97
lib/ns/lib.c: use isc_refcount_t for reference counting
2019-07-09 16:09:36 +02:00
Witold Kręcicki
92424e23fa
Special, for-tests-only, mode with atomics emulated by a mutex-locked variable - useful for finding atomics congestions
2019-07-09 16:09:36 +02:00
Witold Kręcicki
5aeb99786e
Properly initialize all atomic variables
2019-07-09 16:09:36 +02:00
Witold Kręcicki
3fcf98c8d3
isc/stats: use isc_refcount_t
2019-07-09 16:09:36 +02:00
Witold Kręcicki
420f84f3f5
isc/timer: use isc_refcount_t
2019-07-09 16:09:36 +02:00
Witold Kręcicki
b56948743a
lib/isc/task: use isc_refcount_t
2019-07-09 16:09:36 +02:00
Witold Kręcicki
5d49f0ac39
dns/zt.c: use isc_refcount_t for reference counting
2019-07-09 16:09:36 +02:00
Witold Kręcicki
c434cc69d7
interfacemgr: use isc_refcount_t for reference counting
2019-07-09 16:09:36 +02:00
Witold Kręcicki
5686c33068
Make portentry->refs an isc_refcount_t
2019-07-09 16:09:36 +02:00
Ondřej Surý
8a83592e6a
Merge branch 'ondrej/missing-ax_restore_flags-geoip2' into 'master'
...
Add missing AX_RESTORE_FLAGS([geoip2]) to configure.ac
See merge request isc-projects/bind9!2140
2019-07-09 08:20:45 -04:00
Ondřej Surý
5c0cc1ee8b
Add missing AX_RESTORE_FLAGS([geoip2]) to configure.ac
2019-07-09 13:38:56 +02:00
Ondřej Surý
5570f6bbdc
Merge branch 'ondrej-disable-freebsd-again' into 'master'
...
Disable FreeBSD Runner in the CI
See merge request isc-projects/bind9!2138
2019-07-08 09:36:28 -04:00
Ondřej Surý
747736d361
Disable FreeBSD Runner in the CI; it's broken again.
2019-07-08 15:28:28 +02:00
Evan Hunt
2f9ae94296
Merge branch '1112-remove-legacy-geoip' into 'master'
...
Resolve "Remove legacy GeoIP support in 9.15 after GeoIP2 is merged"
Closes #1112
See merge request isc-projects/bind9!2102
2019-07-04 12:38:26 -04:00
Ondřej Surý
a2e89ff0c1
Get rid of DNS_GEOIP_DATABASE_INIT explicit initializer for geoip dbs
...
Instead of the explicit struct initializer with all member, rely on the fact
that static variables are explicitly initialized to 0 if not explicitly
initialized.
2019-07-04 08:58:26 -07:00
Evan Hunt
1957bcaa99
remove --with-geoip and change --without-geoip2 to --disable-geoip in CI
2019-07-04 08:58:26 -07:00
Thomas Jach
9ba3e3f1b5
convert geoip to geoip2 in win32utils/Configure
2019-07-04 08:58:26 -07:00
Evan Hunt
3781448c89
use configure --enable-geoip to turn on GeoIP2
...
- instead of --with-geoip2, use --enable-geoip to turn on the GeoIP
feature
- --with-maxminddb can be used to set the prefix for maxminddb
2019-07-04 08:58:25 -07:00
Evan Hunt
55cca87d8a
add CHANGES note; remove references to legacy GeoIP from documentation
2019-07-04 08:58:20 -07:00
Evan Hunt
787f2a7e03
remove all support for legacy GeoIP
2019-07-04 08:56:45 -07:00
Matthijs Mekking
c01679142a
Merge branch '7-matthijs-deprecate-dnssec-lookaside' into 'master'
...
Deprecate dnssec-lookaside option
Closes #7
See merge request isc-projects/bind9!2104
2019-07-04 08:51:32 -04:00
Evan Hunt
77c2a8bcbd
remove spurious commas from docbook
2019-07-04 14:15:07 +02:00
Matthijs Mekking
d1503cbfa2
Deprecate dnssec-lookaside option
...
Add the CFG_CLAUSEFLAG_DEPRECATED flag to the option so that people are
discouraged from using DLV.
2019-07-04 14:14:28 +02:00
Ondřej Surý
4cacdcc15b
Merge branch 'ondrej/kyua.result-location' into 'master'
...
Use $KYUA_RESULT in kyua report-html invocation for unified file location
See merge request isc-projects/bind9!2127
2019-07-03 13:17:25 -04:00
Ondřej Surý
f56b88f72e
Set number of parallel jobs in .gitlab-ci.yml
2019-07-03 19:16:55 +02:00
Ondřej Surý
a2a69725ef
Use $KYUA_RESULT in kyua report-html invocation for unified file location
2019-07-03 19:16:55 +02:00
Evan Hunt
ab7036488e
Merge branch '1114-windows-build-broken' into 'master'
...
fix broken windows build
Closes #1114
See merge request isc-projects/bind9!2110
2019-07-03 12:53:18 -04:00
Evan Hunt
81fcde5953
fix broken windows build
...
The MSVS C compiler requires every struct to have at least one member.
The dns_geoip_databases_t structure had one set of members for
HAVE_GEOIP and a different set for HAVE_GEOIP2, and none when neither
API is in use.
This commit silences the compiler error by moving the declaration of
dns_geoip_databases_t to types.h as an opaque reference, and commenting
out the contents of geoip.h when neither version of GeoIP is enabled.
2019-07-03 12:17:27 -04:00
Ondřej Surý
f7f4eef5c5
Merge branch 'michal/define-ATOMIC_VAR_INIT-on-windows' into 'master'
...
Define ATOMIC_VAR_INIT() on Windows
See merge request isc-projects/bind9!2125
2019-07-03 11:58:34 -04:00
Michał Kępień
df42771a54
Define ATOMIC_VAR_INIT() on Windows
...
Commit b104a9bc503033b4c3174f088e2c5bdbc5d8bb51 introduced unconditional
use of the ATOMIC_VAR_INIT() macro in bin/dnssec/dnssec-signzone.c even
though that macro is only defined on Unix platforms. Define it on
Windows systems as well in order to prevent build failures.
2019-07-03 14:27:53 +02:00
Ondřej Surý
590362fa48
Merge branch '1026-make-dnssec-signzone-thread-sanitizer-clean' into 'master'
...
Resolve "Make dnssec-signzone ThreadSanitizer clean"
Closes #1026
See merge request isc-projects/bind9!1938
2019-07-03 00:20:57 -04:00
Ondřej Surý
00807c03af
Protect global init_count variable in rbtdb.c by making it atomic
2019-07-03 00:05:34 -04:00
Ondřej Surý
b104a9bc50
bin/dnssec/dnssec-signzone.c: Protect global variables by making them atomic
...
Both global shuttingdown and finished bool variables were prone to data race
(as reported by ThreadSanitizer). The commit makes them both atomic.
2019-07-03 00:05:34 -04:00
Ondřej Surý
49462cf974
Make isc_rwlock.c thread-safe
...
The ThreadSanitizer found several possible data races in our rwlock
implementation. This commit changes all the unprotected variables to atomic and
also changes the explicit memory ordering (atomic_<foo>_explicit(..., <order>)
functions to use our convenience macros (atomic_<foo>_<order>).
2019-07-03 00:05:34 -04:00
Mark Andrews
7c95192691
Define ATOMIC_VAR_INIT in isc/stdatomic.h shim
2019-07-03 00:05:34 -04:00
Ondřej Surý
570f358252
Add atomic_compare_exchange_strong_relaxed convenience macro
2019-07-03 00:05:34 -04:00
Ondřej Surý
99d4339093
Merge branch 'ondrej/with-or-without-geoip' into 'master'
...
Enable GeoIP2 for all builds and enable old GeoIP only for Debian amd64 stretch build
See merge request isc-projects/bind9!2120
2019-07-02 15:08:47 -04:00
Ondřej Surý
9c509c2684
Enable GeoIP2 for all builds and enable old GeoIP only for Debian jessie and Ubuntu xenial builds
2019-07-02 14:53:21 -04:00
Ondřej Surý
f55e4c878b
Merge branch 'ondrej/missing-dot-in-job' into 'master'
...
Add missing dot in .autoconf job template that caused duplicate job
See merge request isc-projects/bind9!2121
2019-07-02 14:22:55 -04:00
Ondřej Surý
3128bd96f7
Add missing dot in .autoconf job template that caused duplicate job
2019-07-02 20:07:02 +02:00
Ondřej Surý
6dad6b57c0
Merge branch 'ondrej/restore-freebsd-runner' into 'master'
...
Restore the FreeBSD Runner
See merge request isc-projects/bind9!2117
2019-07-02 13:39:49 -04:00
Ondřej Surý
e957825eee
Use $(pwd) instead of $CI_PROJECT_DIR to always get absolute path
2019-07-02 15:41:08 +02:00
Ondřej Surý
4d3e7d0b7d
Use sudo to setup the interfaces when CI job is not running as root
2019-07-02 15:41:08 +02:00
Evan Hunt
646bb64246
Add FreeBSD 11 GitLab CI Runner
2019-07-02 14:23:37 +02:00