Mark Johnston 78f57a9cde Generalize the gzio API.
We currently use a set of subroutines in kern_gzio.c to perform
compression of user and kernel core dumps. In the interest of adding
support for other compression algorithms (zstd) in this role without
complicating the API consumers, add a simple compressor API which can be
used to select an algorithm.

Also change the (non-default) GZIO kernel option to not enable
compressed user cores by default. It's not clear that such a default
would be desirable with support for multiple algorithms implemented,
and it's inconsistent in that it isn't applied to kernel dumps.

Reviewed by:	cem
Differential Revision:	https://reviews.freebsd.org/D13632
2018-01-08 21:27:41 +00:00
..
2018-01-08 21:27:41 +00:00
2017-12-30 11:42:49 +00:00
2017-02-06 08:49:57 +00:00
2017-02-06 08:49:57 +00:00
2017-10-05 23:01:33 +00:00
2017-12-05 02:23:27 +00:00
2018-01-08 20:14:16 +00:00
2017-11-17 18:16:46 +00:00
2017-09-06 20:32:49 +00:00
2018-01-03 00:56:30 +00:00
2017-10-18 17:23:16 +00:00