HomeFreeBSD

Unify zlib instances into one.

Description

Unify zlib instances into one.

This is a cumulative update that consists 14 commits on main by
Yoshihiro Ota and myself to stable/12:

Remove gzip'ed a.out support.

(cherry picked from commit d4565741c6b4b256bd30aea8eb74e8a267cf6b60)

Delete unneeded #include <sys/inflate.h> from sys/mips.

(cherry picked from commit 880c6c1b06d203fd6b628d313b5b2658fb7135cb)

cryptodeflate: Drop z_stream zbuf.state->dummy from SDT probe.

(cherry picked from commit a49818787d7cff34b9ea9878e37c1c1ba221f081)

Remove kgzip and kgzldr.

(cherry picked from commit 5e86bd6073a2fb107318691aaa27b7e19bd45c24)

Separate kernel crc32() implementation to its own header (gsb_crc32.h) and
rename the source to gsb_crc32.c.

(cherry picked from commit f89d2072795407d7c3afff865b988e021c1451a2)

Allow Kernel to link in both legacy libkern/zlib and new sys/contrib/zlib.

(cherry picked from commit 0ed1d6fb00b8f22c82c3f9054c6dd16eb12469d2)

if_mxge: update zlib version 1.0.4 to 1.2.12.

(cherry picked from commit 1dbf944a91cfccba2c18fa273f69985cd15a5081)

Expose zlib's utility functions in Z_SOLO library when building kernel.
This allows kernel code to reuse zlib's implementation.

(cherry picked from commit a15cb219c6f2b8ed16179c2fce882a2ff327b753)

Update geom_uzip to use new zlib.

(cherry picked from commit 2b0cabbdaeac61bdb07909cb0ec995aba36e06b0)

Update bxe(4) to use new zlib.

(cherry picked from commit 92e9c0608bf161df04d14160084da2d50bcad30e)

Convert DDB_CTF to use newer version of ZLIB.

(cherry picked from commit 22bbc4b24270ec55c267a5b4ca4530991c3da408)

Convert ng_deflate to use new zlib.

(cherry picked from commit 34ff55b662d62adea206cb2b77bb064110f68e6d)

GZIO: Update to use zlib 1.2.12.

(cherry picked from commit 4e8671dd78cc77b31c598e83354fa6722acd4e3f)

Remove zlib 1.0.4 from kernel.

(cherry picked from commit 21aae72489aba9f1711c51672b3003cf8d54965d)

PR: 205822
PR: 229763

Details

Provenance
delphijAuthored on Aug 25 2019, 5:13 PM
Parents
rG1ba9c8c046a0: pass(4): Fix a typo in the manual page
Branches
Unknown
Tags
Unknown