Ondřej Surý
77f71d7d4a
Rewrite dlopen detection using modern autoconf language constructs
2018-08-29 16:37:26 +02:00
Evan Hunt
5928d31efc
make --without-pic imply --disable-shared and --without-dlopen
2018-08-29 16:37:26 +02:00
Ondřej Surý
ae80e61684
Merge branch '509-use-xsi-strerror_r' into 'master'
...
Resolve "current master not building on ubuntu 16.04 using --with-libtool --enable-developer"
Closes #509
See merge request isc-projects/bind9!727
2018-08-29 07:43:51 -04:00
Evan Hunt
1656152d76
Ensure that POSIX strerror_r variant is use even when _GNU_SOURCE is enabled by default
2018-08-29 13:31:28 +02:00
Ondřej Surý
cacd21c075
Enable system extensions macros using AC_USE_SYSTEM_EXTENSIONS
...
and remove handcrafted code that enabled __EXTENSIONS__ and _GNU_SOURCE
2018-08-29 13:31:27 +02:00
Evan Hunt
b938f50ded
Merge branch 'silence-warning' into 'master'
...
silence "missing print.h" warning
See merge request isc-projects/bind9!723
2018-08-28 19:21:33 -04:00
Evan Hunt
3c18b7d3fd
silence "missing print.h" warning
2018-08-28 15:59:20 -07:00
Ondřej Surý
e2a2f08ed5
Merge branch 'fix-missing-ipv6.h' into 'master'
...
Remove broken @ISC_IPV6_H@ placeholder from Makefile.in
See merge request isc-projects/bind9!720
2018-08-28 15:33:05 -04:00
Ondřej Surý
dc410ce58f
Remove broken @ISC_IPV6_H@ placeholder from Makefile.in
2018-08-28 21:15:32 +02:00
Witold Krecicki
416e09d715
Merge branch 'set-sndbuf' into 'master'
...
Set sndbuf
See merge request isc-projects/bind9!74
2018-08-28 14:33:57 -04:00
Witold Kręcicki
103b60e0bc
Pre-merge nits
2018-08-28 20:25:36 +02:00
Mukund Sivaraman
d077f5c180
Add CHANGES entry
2018-08-28 20:20:25 +02:00
Evan Hunt
cddb699690
style nits
2018-08-28 20:19:47 +02:00
Mukund Sivaraman
700614a0eb
Set SO_SNDBUF
2018-08-28 20:19:47 +02:00
Witold Krecicki
cc8a647887
Merge branch '276-rndc-reconfig-fixes' into 'master'
...
Resolve "rndc reconfig now performs stat() for all zones"
Closes #276
See merge request isc-projects/bind9!518
2018-08-28 11:16:47 -04:00
Witold Kręcicki
c4c3b98a27
CHANGES note
2018-08-28 17:05:28 +02:00
Witold Kręcicki
79ce86090a
rndc reconfig should not touch already loaded zones, some refactoring of dns_{zone,view,zt}_{async,}load
2018-08-28 17:04:45 +02:00
Ondřej Surý
c268c47c76
Merge branch '178-remove-isc_keyboard' into 'master'
...
Remove isc_keyboard family of functions
See merge request isc-projects/bind9!718
2018-08-28 08:47:40 -04:00
Ondřej Surý
dedb104382
Add CHANGES note for GL #178 .
...
5023. [cleanup] Remove isc_keyboard family of functions. [GL #178 ]
2018-08-28 14:37:30 +02:00
Ondřej Surý
fecbc7923a
Remove isc_keyboard family of functions as they were not used anywhere
2018-08-28 14:37:30 +02:00
Ondřej Surý
6034664e36
Merge branch '10-use-atomic_builtins' into 'master'
...
Resolve "Use and require atomic primitives support"
Closes #10
See merge request isc-projects/bind9!657
2018-08-28 07:53:41 -04:00
Ondřej Surý
ddaa853ed6
Add CHANGES note for GL #10 .
...
5023. [func] Replace custom assembly for atomic operations with
atomic support from the compiler. The code will now use
C11 stdatomic, or __atomic, or __sync builtins with GCC
or Clang compilers, and Interlocked functions with MSVC.
[GL #10 ]
2018-08-28 13:15:59 +02:00
Ondřej Surý
91aa405778
Update the isc_refcount documentation in doxygen format
2018-08-28 13:15:59 +02:00
Ondřej Surý
0f24c55d38
Refactor *_destroy and *_detach functions to unified order of actions.
...
This properly orders clearing the freed pointer and calling isc_refcount_destroy
as early as possible to have ability to put proper memory barrier when cleaning
up reference counting.
2018-08-28 13:15:59 +02:00
Ondřej Surý
9d5df99a9d
Directly use return value of atomic_compare_exchange_strong_explicit insteaf of comparing expected value
2018-08-28 12:15:39 +02:00
Ondřej Surý
b5709e5531
Explicitly load atomic values in lib/isc/rwlock.c
2018-08-28 12:15:39 +02:00
Ondřej Surý
d1d15c03e2
Switch everything back to relaxed memory ordering
2018-08-28 12:15:39 +02:00
Ondřej Surý
69b9b9ec77
Remove no-op NODE_STRONG(UN)?LOCK and rename NODE_WEAK(UN)?LOCK to just NODE_(UN)?LOCK
2018-08-28 12:15:39 +02:00
Ondřej Surý
bef8ac5bae
Rewrite isc_refcount API to fetch_and_<op>, instead of former <op>_and_<fetch>
2018-08-28 12:15:39 +02:00
Ondřej Surý
7fbbf09d21
Remove checks for atomic rwlock from rbtdb.cz and zone.c
2018-08-28 12:15:39 +02:00
Ondřej Surý
2b74478c8f
Remove check for atomic isc_refcount in dns/rbt.h and always use isc_refcount
2018-08-28 12:15:39 +02:00
Ondřej Surý
93e8ba1b50
Rewrite reference counting in isc_mem to use isc_refcount API
2018-08-28 12:15:39 +02:00
Ondřej Surý
0a7535ac81
isc_refcount_init() now doesn't return isc_result_t and asserts on failed initialization
2018-08-28 12:15:39 +02:00
Ondřej Surý
e9e55cbd03
Remove isc_atomic usage from rwlock.c and stats.c
2018-08-28 12:15:39 +02:00
Ondřej Surý
e119de4169
Replace arch specific atomic.h with global atomic.h header using either stdatomic, __atomic or __sync primitives
2018-08-28 12:15:39 +02:00
Ondřej Surý
facc390b54
Update configure.in to check for both stdatomic.h and __atomic builtins
2018-08-28 12:15:39 +02:00
Ondřej Surý
7ab9c9dbee
Merge branch 'remove-dnsperf-and-queryperf-from-contrib' into 'master'
...
Remove dnsperf, queryperf and perftcpdns from contrib
See merge request isc-projects/bind9!717
2018-08-28 06:05:52 -04:00
Ondřej Surý
ecb27adf86
Remove dnsperf, queryperf and perftcpdns from util/copyrights
2018-08-28 11:49:28 +02:00
Ondřej Surý
f4c8e42f3e
Update contrib/README with new locations for dnsperf, queryperf, and perftcpdns
2018-08-28 11:44:58 +02:00
Ondřej Surý
7de898777f
Remove perftcpdns from BIND 9 repository
2018-08-28 11:42:31 +02:00
Ondřej Surý
1e404fdb0e
Remove queryperf from BIND 9 repository
2018-08-28 11:42:14 +02:00
Ondřej Surý
99f17b80b8
Remove dnsperf and dnsperf-patches from BIND 9 repository
2018-08-28 11:41:58 +02:00
Ondřej Surý
b6e64eb23b
Merge branch '192-make-ipv6-mandatory' into 'master'
...
Remove all kind of legacy compatibility layers (including IPv6, networking and functions defined by C99 or POSIX.1)
Closes #192
See merge request isc-projects/bind9!668
2018-08-28 04:51:38 -04:00
Ondřej Surý
2c19877197
Add CHANGES entry for GL #192
...
5016. [cleanup] Remove wrappers that try to fix broken or incomplete
implementations of IPv6, pthreads and other core
functionality required and used by BIND. [GL #192 ]
2018-08-28 10:36:41 +02:00
Ondřej Surý
19a374e45d
Cleanup util/copyrights
2018-08-28 10:36:41 +02:00
Ondřej Surý
a8b868e820
Add release notes entry.
2018-08-28 10:31:49 +02:00
Ondřej Surý
f1d658764c
Remove dead check for long long support
2018-08-28 10:31:49 +02:00
Ondřej Surý
52e1c45156
Assume PTHREAD_ONCE_INIT is not broken (remove support for ancient Solaris)
2018-08-28 10:31:48 +02:00
Ondřej Surý
a11a271b28
Assume non-broken recvmsg
2018-08-28 10:31:48 +02:00
Ondřej Surý
1672935717
Use strerror_r from POSIX.1-2001 (strerror_s on Windows) instead of custom isc__strerror()
2018-08-28 10:31:48 +02:00