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
..
2018-01-08 21:27:41 +00:00
2017-11-30 20:33:45 +00:00
2017-10-12 15:48:37 +00:00
2018-01-03 00:56:30 +00:00
2018-01-03 00:56:30 +00:00
2017-01-25 20:22:32 +00:00
2018-01-08 21:27:41 +00:00
2018-01-08 21:27:41 +00:00
2017-12-13 16:30:39 +00:00
2018-01-08 21:27:41 +00:00
2017-08-07 14:09:57 +00:00
2017-11-30 20:33:45 +00:00
2017-11-29 12:49:22 +00:00
2017-06-17 00:58:19 +00:00
2017-06-17 00:58:19 +00:00
2017-12-01 22:51:02 +00:00