Page MenuHomeFreeBSD

DDB_CTF to update zlib version 1.0.4 to 1.2.11
ClosedPublic

Authored by delphij on Aug 7 2019, 4:45 AM.
Tags
None
Referenced Files
Unknown Object (File)
Feb 16 2024, 7:20 AM
Unknown Object (File)
Feb 16 2024, 7:20 AM
Unknown Object (File)
Feb 16 2024, 7:20 AM
Unknown Object (File)
Feb 16 2024, 7:20 AM
Unknown Object (File)
Feb 16 2024, 4:21 AM
Unknown Object (File)
Feb 14 2024, 8:00 AM
Unknown Object (File)
Feb 13 2024, 1:56 AM
Unknown Object (File)
Jan 9 2024, 11:19 PM
Subscribers

Details

Summary

Convert DDB_CTF to use newer version of ZLIB.
This change set was split out of D19706.

Test Plan

TBD - I think D19706 mentions how to test and I will test and update later.

[note from delphij: dtrace -lv would exercise the affected codepath. Confirmed that the new zlib functions were actually called and worked fine]

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

delphij requested changes to this revision.Aug 7 2019, 5:19 AM

Looks mostly fine to me. I think you don't really need to set zalloc to zcalloc_nowait as the default zcalloc is zcalloc_nowait.

sys/kern/kern_ctf.c
259 ↗(On Diff #60531)

I think this can be omitted now.

This revision now requires changes to proceed.Aug 7 2019, 5:19 AM
delphij retitled this revision from DDB_CFT to update zlib version 1.0.4 to 1.2.11 to DDB_CTF to update zlib version 1.0.4 to 1.2.11.Aug 8 2019, 6:48 AM
delphij edited the summary of this revision. (Show Details)
delphij edited reviewers, added: ota_j.email.ne.jp; removed: delphij.
This revision is now accepted and ready to land.Aug 8 2019, 7:22 AM
This revision now requires review to proceed.Aug 8 2019, 7:22 AM
This revision is now accepted and ready to land.Aug 8 2019, 7:23 AM

I have tested with 'dtrace -lv' which will exercise this codepath and confirmed that it worked fine after change.

This revision was automatically updated to reflect the committed changes.