plan9fox/sys/src/cmd/ndb
cinap_lenrek 6e284eaad5 ndb/cs: prevent deadlock with ndb/cs by mounting /srv/dns *AFTER* /net
the dnsquery() library function should not start mouting /srv/dns on
its own. this problem arrises only for ndb/cs as it is started before
ndb/dns.

the issue with mounting /srv/dns before /net is when ndb/cs attempts
to read the list of interfaces, accessing /net/ipifc, which triggers
a rpc to ndb/dns as it is ontop of the mount. this can yield a deadlock
when ndb/dns blocks its 9p loop waiting for requests to complete on
a refresh and the requests are stuck waiting for ndb/cs to translate
a dial string for announce().
2018-05-16 21:41:42 +02:00
..
convDNS2M.c ndb/dns: various changes 2013-11-15 02:00:47 +01:00
convM2DNS.c format pointer subtraction results with %zd instead of %ld (for long -> intptr on amd64) 2016-01-07 04:44:13 +01:00
cs.c ndb/cs: prevent deadlock with ndb/cs by mounting /srv/dns *AFTER* /net 2018-05-16 21:41:42 +02:00
csquery.c ndb/csquery: insert \n between read chunks 2018-04-28 04:40:09 +02:00
dblookup.c ndb/dns: lookup *all* entries in dblookup(), v4 and v6 queries in parallel, remove weigthed timeouts 2018-05-11 22:37:28 +02:00
dn.c ndb/dns: fix leak in myaddr(), normalize ip strings 2018-01-28 22:36:01 +01:00
dnarea.c ndb/dns: case sensitive ndb attributes, Domlen consistency, dblookup() inplace lower case conversion, cleanups 2013-11-13 18:44:45 +01:00
dnnotify.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
dnresolve.c ndb/dns: lookup *all* entries in dblookup(), v4 and v6 queries in parallel, remove weigthed timeouts 2018-05-11 22:37:28 +02:00
dns.c ndb/dns: lookup *all* entries in dblookup(), v4 and v6 queries in parallel, remove weigthed timeouts 2018-05-11 22:37:28 +02:00
dns.h ndb/dns: cleanup 2018-01-28 22:46:48 +01:00
dnsdebug.c ndb/dns: lookup *all* entries in dblookup(), v4 and v6 queries in parallel, remove weigthed timeouts 2018-05-11 22:37:28 +02:00
dnserver.c ndb/dns: bug fixes and massive cleanup 2012-08-29 19:01:05 +02:00
dnsgetip.c dnsgetip: filter negative answers, remove -f flag, use dnsgetip logfile 2014-12-10 02:30:25 +01:00
dnsquery.c ndb/dnsquery, ndb/csquery: handle long lines 2018-04-19 01:00:12 +02:00
dnstcp.c ndb/dns: remove single-ip-address assuptions 2018-04-17 00:48:42 +02:00
dnudpserver.c fix parseip() error handling in ipconfig, ppp, tftpfs and dns 2018-04-17 01:34:10 +02:00
idn.c ndb/dns: add support for internationalized domain names 2013-11-24 11:55:26 +01:00
inform.c ndb/dns: remove single-ip-address assuptions 2018-04-17 00:48:42 +02:00
ipquery.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
mkdb.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
mkfile ndb: add dnsgetip program to resolve A and AAAA records during bootstrapping 2014-12-09 16:18:08 -08:00
mkhash.c dns: import changes from sources 2012-03-09 06:02:17 +01:00
mkhosts.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
query.c Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00