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
..
2017-05-23 09:29:05 +00:00
2017-12-02 13:12:00 +00:00
2018-01-08 21:27:41 +00:00
2017-05-23 09:29:05 +00:00
2016-01-23 12:25:24 +00:00
2017-11-11 07:00:40 +00:00
2015-06-13 19:20:56 +00:00
2016-02-29 17:29:34 +00:00
2017-09-27 01:03:00 +00:00
2017-12-28 08:22:26 +00:00
2017-11-02 18:09:10 +00:00