bind9/lib
Ondřej Surý e705f213ca Remove taskmgr->excl_lock, fix the locking for taskmgr->exiting
While doing code review, it was found that the taskmgr->exiting is set
under taskmgr->lock, but accessed under taskmgr->excl_lock in the
isc_task_beginexclusive().

Additionally, before the change that moved running the tasks to the
netmgr, the task_ready() subrouting of isc_task_detach() would lock
mgr->lock, requiring the mgr->excl to be protected mgr->excl_lock
to prevent deadlock in the code.  After !4918 has been merged, this is
no longer true, and we can remove taskmgr->excl_lock and use
taskmgr->lock in its stead.

Solve both issues by removing the taskmgr->excl_lock and exclusively use
taskmgr->lock to protect both taskmgr->excl and taskmgr->exiting which
now doesn't need to be atomic_bool, because it's always accessed from
within the locked section.
2022-01-05 16:44:57 +01:00
..
bind9 remove broken-nsec and reject-000-label options 2021-12-23 15:13:46 +11:00
dns Ensure the correct ordering zone_shutdown() vs zone_gotwritehandle() 2022-01-05 10:27:55 +01:00
irs Check parsed resconf values 2021-08-12 09:52:52 -07:00
isc Remove taskmgr->excl_lock, fix the locking for taskmgr->exiting 2022-01-05 16:44:57 +01:00
isccc Pass the digest buffer length to EVP_DigestSignFinal 2021-12-17 20:28:01 +11:00
isccfg Report duplicate dnssec-policy names 2022-01-03 11:48:26 -08:00
ns Use the TLS context cache for server-side contexts 2021-12-29 10:25:14 +02:00
.gitignore The isc/platform.h header has been completely removed 2021-07-06 05:33:48 +00:00
Makefile.am move samples/resolve.c to bin/tests/system 2021-04-16 14:29:43 +02:00
unit-test-driver.sh.in Enforce a run time limit on unit test binaries 2021-04-07 11:41:45 +02:00