Merge branch 'markj-kernel-config' into 20130902-kernel-core-gzip-2
Got basic kernel compression working. Lots left to do:
- figure out how we're going to pass the compressed core length to
  savecore, probably write a header before the gzip header on the media.
- figure out why the hell things go crazy if I allocate scratch space
  for zlib using malloc in set_dumper(). When I use the BSS everything
  is fine as far as I can see.
- refactor the dumper API. At the moment I'm kind of fighting it. Some
  background is needed first though, e.g. why do we write kernel core
  dumps to the end of media?
Some fixes to dump_write now that the basics are working.

* Detect the final write and flush zlib's output buffer before returning
  in this case.
* Do bounds checking before writing to media.
Merge branch 'master' into 20130902-kernel-core-gzip-2
Merge branch 'markj-kernel-config' into 20130902-kernel-core-gzip-2
Various bug fixes and cleanup.
Extend the dumper API to include dump_start and dump_append. Restore
dump_write to its previous implementation.
Preparations for the code needed to recover a compressed core from swap.
I'm not yet sure what it's going to look like.
Merge branch 'master' into 20130902-kernel-core-gzip-2
Remove a debug print.
Add dump_end() and add a missing forward declaration.
Move all device-independent stuff to the priv struct, which is now not
zlib-specific.
Fix a comment.
Finally have it working. Lots of hacks were needed, there's lots of work
left to do.
Don't modify the memory you're trying to checksum as you're checksumming
it...
Clean up after an experiment.
Remove some debug prints.
Clean up the code used to write the gzip trailer and add some comments.
ttys(5): Pseudo-terminals are not listed and the network keyword is obsolete.
Merge branch 'master' into 20130902-kernel-core-gzip-2