bpfcompat v0.2.0
The biggest release since the project went public: a new embeddable library API, a new OS family (OpenShift/CoreOS), and aarch64 VM support.
Highlights
- Embeddable library mode —
pkg/bpfcompat.ValidateBeforeLoaddoes a realbpf()load against the node's own running kernel (no VM, no network) for a pre-load gate such as bpfman's;Validateexposes the full VM matrix engine. Host loading is gated behind thehostloadbuild tag with an embedded static validator. Seepkg/bpfcompat/README.md. (Pre-1.0 / experimental.) - OpenShift / CoreOS support (Ignition boot). Fedora CoreOS is runnable out of the box (
make vm-image-fcos); RHEL CoreOS is opt-in with an operator-supplied image (BPFCOMPAT_ENABLE_RHCOS=1). Backed by a real, recorded evidence matrix — 3 OpenShift releases × 6 artifacts on x86_64 plus a real aarch64 boot (docs/evidence-rhcos.md), including a BPF-LSM backport boundary (rejected on RHEL 9.2, loads+attaches on 9.4). - aarch64 VM boot fixed. The executor now supplies aarch64 UEFI firmware (AAVMF pflash) and uses TCG when the guest arch differs from the host — so aarch64 cloud-image profiles actually boot.
- Zero-config gadget validation.
--artifactaccepts an OCI gadget reference;--quickneeds no matrix file; runtime-sized maps are auto-sized; programs libbpf can't classify are auto-typed, with a manifest program-type override; generic inner-map (map-in-map) fixup.
Verify the release
cosign verify-blob \
--certificate SHA256SUMS.crt --signature SHA256SUMS.sig \
--certificate-identity-regexp 'github.com/Kernel-Guard/bpfcompat' \
--certificate-oidc-issuer https://token.actions.githubusercontent.com \
SHA256SUMS
sha256sum -c SHA256SUMS --ignore-missingFull changelog: CHANGELOG.md. SBOM attached (bpfcompat.sbom.cdx.json); build provenance + SBOM attestations via Sigstore.