markj 8b210be68e 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-11-03 13:52:34 +00:00
2017-11-03 13:52:34 +00:00
2017-10-29 08:17:03 +00:00
2017-12-29 23:58:05 +00:00
2018-01-08 21:27:41 +00:00
2018-01-04 17:58:48 +00:00
2017-11-03 13:52:34 +00:00
2017-11-03 13:52:34 +00:00
2017-12-31 06:58:58 +00:00