github cilium/ebpf v0.17.2

2 days ago

Another minor release to ship some bug fixes, notably for attaching bpf programs to symbols in kernel modules, and for reusing data sections across multiple Collections.

All users are encouraged to upgrade!

Features

Bug Fixes

  • prog: fix tautological AttachTo condition in ProgramSpec.kernelModule by @brycekahle in #1640
  • map: check MapReplacements compatibility after applying BPF_F_MMAPABLE by @ti-mo in #1655

Other Changes

  • features: make HaveProgramHelper more accurate by @lmb in #1641
  • CI: only allow importing x/sys/unix in internal/unix by @lmb in #1648
  • pin: fix a bunch of fd leaks in tests by @lmb in #1651
  • linker: do not copy instructions when there is no reference in flattenInstructions by @paulcacheux in #1647
  • kallsyms: fix fd leak in AssignAddresses and AssignModules by @lmb in #1656
  • add windows CI by @lmb in #1650

Thanks to all who contributed and reported issues!

Full Changelog: v0.17.1...v0.17.2

Don't miss a new ebpf release

NewReleases is sending notifications on new releases.