v0.4.1-libbpf-1.0.0
v0.4.1-libbpf-1.0.0
This release of libbpfgo is meant to used with libbpf v1.0.0
Breaking Changes
- The package
github.com/aquasecurity/libbpfgo/helpers
is now contained in its own module. You can now upgrade it as a dependency independently of libbpfgo.
You may run into errors when runninggo mod tidy
that can be fixed by clearing your go cache or explicitlygo get
ing the latest version of it.- Each release will cut new releases of both the helpers and libbpfgo module, but upgrading one does not require you to upgrade the other.
New features
- Introduced a vagrantfile for running tests in a working VM environment (#237)
Improvements/Fixes
- The value of errno is now properly saved before calls to printf (#256 - Thanks @mozillazg)
- CGO code is now in its own header file (#257 - Thanks @mozillazg!)
- Fixed an issue with how cgo handled bitmap padding optimizations in libbpf (#246)
- Optimized retrieving kernel symbols from symbol table, now caches by address and name (#241)
Full Changelog
76c5ff4 - remove defunct tests (#259) (grantseltzer)
3c30919 - Move embedded C code to a header file (#257) (Huang Huang)
9eb6002 - Helpers in its own mod followup (#255) (grantseltzer)
b398b6e - Save the value of errno before calling printf in cgo code (#256) (Huang Huang)
7139cb4 - Make helpers package it's own module (#246) (grantseltzer)
a8b06c3 - c: stdarg: move references to commit, add a note (Geyslan Gregório)
245a1a1 - Update libbpfgo.go (Geyslan Gregório)
7c90aa9 - Fix undefined behaviour in variadic argument handling (Francisco Javier Honduvilla Coto)
14c6bc9 - Move logic into C code via cgo (rotscale)
c93e66f - kernel_symbols: cache symbols by addr (Nadav Strahilevitz)
bd31ff0 - builder: vagrant: introduce Vagrantfile (Geyslan Gregório)
33d4c0d - makefile: fix vmlinuxh rule (Geyslan Gregório)
b5b0a6e - helpers: remove debugging leftover (#236) (Rafael David Tinoco)
45a1acd - fix Makefiles typos (#235) (Geyslan Gregório)
0f69086 - Clarify code in comments and var names (grantseltzer)
7d0ebda - Quick fix to logic in helpers (grantseltzer)