Remove the SMALL_KERNEL option; RAMDISK is dead!

"Go ahead and remove it" patrick@
fix intermittent iked crashes

in ca_reload(), set iovcnt according to the number of iov entries
filled. there are four cases we need to be concerned with:

1. certificate revocation lists (CRLs) have been configured

in this case, we load the CRLs and issue one IMSG_CERTREQ message to the
ikev2 process with the list of revoked certificates. (iovcnt = 2)

2. valid certificates have been configured

in this case, we load the certificates and issue one IMSG_CERTREQ
message to the ikev2 process with the list of valid certificates.
(iovcnt = 1)

3. CRLs *and* valid certificates have been configured

in this case, we load the CRLs and issue one initial IMSG_CERTREQ
message to the ikev2 process with the list of revoked certificates, i.e
we do step 1. however, we also do step 2, with a twist: we send a second
IMSG_CERTREQ message to the ikev2 process with a list of revoked
certificates *and* a list of valid certificates. ikev2 discards
previously received IMSG_CERTREQ messages once it receives a new one, so
this works.  (iovcnt = 2 for both messages)

4. no CRLs and no valid certificates have been configured

in this case, we send an empty IMSG_CERTREQ message to the ikev2
process. (iovcnt = 1)

ok patrick@
fix i2d_X509_NAME() error checking

use int instead of size_t to store the return of i2d_X509_NAME(), fixing
a < 0 check for error.

ok patrick@
Let srand() w/out argument return the current seed.

ok pedro@
Let srand($0) seed the RNG to whatever the content of $0 is.

Manual bits from pedro@.
ok pedro@
Add tmpfsrd format stub.
Make list/read work.

XXX: hardlinks are handled incorrectly
XXX: file names should contain the full path
Reconstruct the files full path.
snprintf() nit
malloc() -> calloc()
sort includes
add comment (hopefully temporary)
error messages
turn on some warnings for now
silly tmpfsrd_wr()
write header
Add read support for sockets & fifos.
Handle hardlinks in read path.
wip: write support

Not much yet, but produces a correct archive header and fills some
parts of the file headers.
Set type.