mark defos as const; nobody needs to change it,
and it is occasionally useful to be able to pass literal strings
Oops. Forgot makefile ...

Enable specifying the filesystem of interest by the duid.

Original diff from halex@ a while ago.

ok halex@ jsing@ (with comments for future tweaking)
Fixes a hibernate issue wherein we locked the kernel lock while hatching
but then parked ourselves in real mode without completing acquisition of
said lock. Also removes the park routine from i386 since we don't need it
(the APs are already parked at the time we start unpack).

discussed with and ok kettenis@, also ok deraadt@
Herr Reyk correctly pointed out that we don't need the if_pflog.h include
here any more
Rewrite gcm128test as a table-driven regress instead of using defines.
This avoids compiler warnings for always true/false conditionals and makes
the code readable. Also avoid pulling in modes_lcl.h, which should not be
used outside the library.
expire IPcomp SAs too; ok mikeb (some time ago)
Use suspending kernel's stack smash guard to avoid panicing during unpack.

ok deraadt@
add a "no-dsn" listener option to disable DSN extension.
_dl_fcntl() is no longer used; kill the stubs

ok otto@ miod@
Use O_CLOEXEC to make sure fork+exec in a threaded process can't
see the fds used by dlopen()

ok otto@ miod@
Special case pretty printing of DHO_CLASSLESS_STATIC_ROUTES and
DHO_CLASSLESS_MS_STATIC_ROUTES. Remove 'C' (CIDR) pretty printing
outside of those special cases. Add a bunch of paranoia to protect
against confused/malicious dhcp servers.

Since 'C' is a variable size element it can't be handled by the
existing code, which is designed for fixed size elements.

Issue found by Someya Yuuichi, reported by yasuoka@ who also provided
the first diff.

ok yasuoka@
Kill unused shutdown hook pointers.

ok miod@, deraadt@, tedu@
Do the way long overdue renaming of register names from o32 to n64 ABI.
In other words, ta0-ta3 are now a4-a7 instead of t0-t3; and the former t4-t7
are now t0-t3.
ext_type is set but never read. its a waste of space.

MEXTADD will be fixed later.

ok henning@ deraadt@ mpi@
crude rrwlock to appease guenther and beck
remove unused variables getentropy for OS X

ok beck@
KNF
Simplify error path of DH_check_pub_key()
Teach rw_status() and rrw_status() to return LK_EXCLOTHER if it's write
locked by a different thread.  Teach lockstatus() to return LK_EXCLUSIVE
if an exclusive lock is held by some other thread.

ok beck@ tedu@
mlarkin requested that i cleanup the example code