bind9/lib/isc
Witold Kręcicki 8fbb56aa6b Fix race in unix socket code when closing a socket that has
already sent a recv/send event.

When doing isc_socket_cancel we need to purge the event that might
already be in flight. If it has been launched already we need
to inform it that it has to bail.

(cherry picked from commit 1286d74c7d)
2019-05-09 20:27:59 +02:00
..
alpha Bail-out early in the for install loops instead of continuing because for masks the error in the middle 2018-09-03 13:31:17 +02:00
ia64 Bail-out early in the for install loops instead of continuing because for masks the error in the middle 2018-09-03 13:31:17 +02:00
include refactor tcpquota and pipeline refs; allow special-case overrun in isc_quota 2019-04-25 17:02:43 +02:00
mips Bail-out early in the for install loops instead of continuing because for masks the error in the middle 2018-09-03 13:31:17 +02:00
nls Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:19:35 +02:00
noatomic Bail-out early in the for install loops instead of continuing because for masks the error in the middle 2018-09-03 13:31:17 +02:00
nothreads Bail-out early in the for install loops instead of continuing because for masks the error in the middle 2018-09-03 13:31:17 +02:00
powerpc Bail-out early in the for install loops instead of continuing because for masks the error in the middle 2018-09-03 13:31:17 +02:00
pthreads Bail-out early in the for install loops instead of continuing because for masks the error in the middle 2018-09-03 13:31:17 +02:00
sparc64 Bail-out early in the for install loops instead of continuing because for masks the error in the middle 2018-09-03 13:31:17 +02:00
tests timer_test failed to compile if cmocka was enabled but threads were not 2019-02-20 13:35:51 -08:00
unix Fix race in unix socket code when closing a socket that has 2019-05-09 20:27:59 +02:00
win32 refactor tcpquota and pipeline refs; allow special-case overrun in isc_quota 2019-04-25 17:02:43 +02:00
x86_32 Bail-out early in the for install loops instead of continuing because for masks the error in the middle 2018-09-03 13:31:17 +02:00
x86_64 Bail-out early in the for install loops instead of continuing because for masks the error in the middle 2018-09-03 13:31:17 +02:00
.gitignore [master] update gitignore files; use rev-parse to get srcid 2014-06-17 13:49:30 -07:00
aes.c Fix missing config.h in win32/socket.c and replace config.h with <config.h> 2018-08-11 04:45:37 -04:00
api prep 9.12.4-P1 2019-05-09 10:33:20 -07:00
app_api.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
assertions.c Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:19:35 +02:00
backtrace-emptytbl.c Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:19:35 +02:00
backtrace.c Fix missing config.h in win32/socket.c and replace config.h with <config.h> 2018-08-11 04:45:37 -04:00
base32.c Ensure base64/base32/hex fields in DNS records that should be non-empty are. 2019-01-09 18:53:29 +11:00
base64.c Ensure base64/base32/hex fields in DNS records that should be non-empty are. 2019-01-09 18:53:29 +11:00
bind9.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
buffer.c Fix isc_buffer_copyregion() for auto-reallocated buffers 2018-10-30 13:33:42 +01:00
bufferlist.c Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:19:35 +02:00
chacha_private.h silence compiler warnings 2014-06-10 12:38:32 +10:00
commandline.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
counter.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
crc64.c Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-09 18:30:20 +02:00
entropy.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
error.c Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:19:35 +02:00
event.c Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:19:35 +02:00
fsaccess.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
hash.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
heap.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
hex.c Ensure base64/base32/hex fields in DNS records that should be non-empty are. 2019-01-09 18:53:29 +11:00
hmacmd5.c add #include <isc/util.h> 2019-03-21 14:07:50 +11:00
hmacsha.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
ht.c add missing DBC checks for catz and add isc_magic checks; add DBC checks to ht.c 2018-11-29 14:41:41 +11:00
httpd.c Turn (int & flag) into (int & flag) != 0 when implicitly typed to bool 2018-11-08 14:37:14 +07:00
inet_aton.c Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-09 18:30:20 +02:00
inet_ntop.c Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-09 18:30:20 +02:00
inet_pton.c Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:19:35 +02:00
iterated_hash.c Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:19:35 +02:00
Kyuafile regen v9_12 2017-12-29 02:16:29 +00:00
lex.c Turn (int & flag) into (int & flag) != 0 when implicitly typed to bool 2018-11-08 14:37:14 +07:00
lfsr.c Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-09 18:30:20 +02:00
lib.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
log.c Turn (int & flag) into (int & flag) != 0 when implicitly typed to bool 2018-11-08 14:37:14 +07:00
Makefile.in Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
md5.c add #include <isc/util.h> 2019-03-21 14:07:50 +11:00
mem.c Abort on allocation failure only if the memory functions are used internally in BIND 9 2018-12-21 09:22:17 +01:00
mutexblock.c Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:19:35 +02:00
netaddr.c Hint the compiler with ISC_UNREACHABLE(); that code after INSIST(0); cannot be reached 2018-11-08 15:09:12 +07:00
netscope.c Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-09 18:30:20 +02:00
ondestroy.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
parseint.c Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-09 18:30:20 +02:00
pk11.c Add small tweaks to the code to fix compilation when ISC assertions are disabled 2018-11-08 14:05:23 +07:00
pk11_result.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
pool.c expand the pool then copy over the old entries so we that failures do not break the old pool; also don't leak the new pool on error 2018-10-25 13:20:03 +11:00
portset.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
print.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
quota.c refactor tcpquota and pipeline refs; allow special-case overrun in isc_quota 2019-04-25 17:02:43 +02:00
radix.c Turn (int & flag) into (int & flag) != 0 when implicitly typed to bool 2018-11-08 14:37:14 +07:00
random.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
ratelimiter.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
refcount.c Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:19:35 +02:00
regex.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
region.c Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:19:35 +02:00
result.c Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
rwlock.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
safe.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
serial.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
sha1.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
sha2.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
sockaddr.c Hint the compiler with ISC_UNREACHABLE(); that code after INSIST(0); cannot be reached 2018-11-08 15:09:12 +07:00
socket_api.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
stats.c Fix the stdatomic #ifdefs to work with older compilers 2018-12-14 09:00:13 +01:00
string.c Replace custom isc_u?intNN_t types with C99 u?intNN_t types 2018-08-09 18:30:20 +02:00
strtoul.c Remove duplicate config.h 2018-08-10 11:17:51 +02:00
symtab.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
task.c Turn (int & flag) into (int & flag) != 0 when implicitly typed to bool 2018-11-08 14:37:14 +07:00
taskpool.c Replace custom isc_boolean_t with C standard bool type 2018-08-10 11:17:51 +02:00
timer.c Fix crash caused by race condition in timer creation 2018-09-27 12:59:51 -07:00
timer_p.h Update license headers to not include years in copyright in all applicable files 2018-02-23 10:38:02 +01:00
tm.c Turn (int & flag) into (int & flag) != 0 when implicitly typed to bool 2018-11-08 14:37:14 +07:00
version.c Remove $Id markers, Principal Author and Reviewed tags from the full source tree 2018-05-11 14:19:35 +02:00