It's not really possible to make strtonum() deal with unsigned long
long values properly so don't bother trying.  This greatly simplifies
the code.  tedu@ OK with input from otto@ and others.
strtonum(3) regression tests.
Enable strtonum test
Unbreak malloc0test for use with mmap malloc which allocates objects
in a non-contiguous manner. ok art@
Missing check for NULL.
- Remove the userland data limit check. It's mmap(2)'s job.
- When malloc_abort==0 (MALLOC_OPTIONS=a), don't abort in wrterror().

fine deraadt@
cleanup mips
move memory allocation for new peers into a new function, makes ID allocation
easier
in the pool case ("servers somepool.somewhere"), we add new peers while
looping over the addresses returned by the dns lookup, as each address
is one new peer.
however, if the lookup fails with a temporary error, we will try to lookup
later again. for that, we obviously need to insert one peer with the
hostname in addr_head... change one for() loop into a do { } while() one
wrong sizeof; Brian Poole <raj@cerias.purdue.edu>
order #includes, Brian Poole <raj@cerias.purdue.edu>
Back out to brk(2) version.

The mmap(2) code is cool and it has already uncovered some bugs in other code.
But some issues remain on some archs, and we can't afford that for production.

Don't worry, it will be back soon... I'll make sure of it...
mips->mips64
do not try to getaddrinfo() in the unprivileged process, send an imsg
asking the privileged one to do it. sends back an imsg with the
resulting addresses in a bunch of struct sockaddr_storage in the data
part.
this should fix all remaining issues with dns (non-)availability at
ntpd startup, be it due to named on localhost or something else.
tested by marco@ and Chris Paul <chris.paul@sentinare.com>
More nasty cases involving back references.
Reset deadline on failed transmit. Avoids a spinning process if
all sends fail. ok henning@
When running regex regress build a private copy with REDEBUG enabled.
That way we get the asserts enabled.
Be more careful setting next and deadline, they should not both be != 0
at the same time.
ok henning@
mention strtonum(3)

ok millert jmc pedro
don't fatal() if getaddrinfo() returns EAI_NONAME