bind9/bin
Ondřej Surý 6c54337f52 avoid a race in the qpzone getsigningtime() implementation
the previous commit introduced a possible race in getsigningtime()
where the rdataset header could change between being found on the
heap and being bound.

getsigningtime() now looks at the first element of the heap, gathers the
locknum, locks the respective lock, and retrieves the header from the
heap again.  If the locknum has changed, it will rinse and repeat.
Theoretically, this could spin forever, but practically, it almost never
will as the heap changes on the zone are very rare.

we simplify matters further by changing the dns_db_getsigningtime()
API call. instead of passing back a bound rdataset, we pass back the
information the caller actually needed: the resigning time, owner name
and type of the rdataset that was first on the heap.
2024-04-25 15:48:43 -07:00
..
check switch default zone database from "qp" to "qpzone" 2024-03-08 15:36:56 -08:00
confgen Remove isc__tls_setfatalmode() function and the calls 2024-02-08 08:01:58 +01:00
delv complete removal of isc_loop_current() 2024-04-02 10:35:56 +02:00
dig Re-enable EDNS if an EDNS flag gets set to 1 by +ednsflags 2024-03-16 16:07:55 +11:00
dnssec dnssec-keygen: Change flag options into booleans 2024-04-19 13:52:21 +02:00
named avoid a race in the qpzone getsigningtime() implementation 2024-04-25 15:48:43 -07:00
nsupdate complete removal of isc_loop_current() 2024-04-02 10:35:56 +02:00
plugins Remove 'inst != NULL' from cleanup check in plugin_register 2023-04-04 23:51:22 +00:00
rndc Rework isccc_ccmsg to support multiple messages per tcp read 2024-04-18 20:08:44 +02:00
tests avoid a race in the qpzone getsigningtime() implementation 2024-04-25 15:48:43 -07:00
tools Re-enable EDNS if an EDNS flag gets set to 1 by +ednsflags 2024-03-16 16:07:55 +11:00
Makefile.am Remove native PKCS#11 support 2021-09-09 15:35:39 +02:00