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)
Sun, Jan 26, 5:31 AM
Unknown Object (File)
Sat, Jan 25, 7:47 AM
Unknown Object (File)
Jan 3 2025, 9:06 AM
Unknown Object (File)
Dec 14 2024, 4:23 AM
Unknown Object (File)
Dec 5 2024, 6:31 PM
Unknown Object (File)
Nov 25 2024, 5:54 PM
Unknown Object (File)
Nov 24 2024, 2:21 PM
Unknown Object (File)
Nov 22 2024, 7:13 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.