Skip to content

Bump libbpf-rs from 0.26.2 to 0.27.0 - #14

Open
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/cargo/libbpf-rs-0.27.0
Open

Bump libbpf-rs from 0.26.2 to 0.27.0#14
dependabot[bot] wants to merge 2 commits into
mainfrom
dependabot/cargo/libbpf-rs-0.27.0

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Aug 3, 2026

Copy link
Copy Markdown
Contributor

Bumps libbpf-rs from 0.26.2 to 0.27.0.

Release notes

Sourced from libbpf-rs's releases.

v0.27.0

What's Changed

libbpf-rs

  • Added KprobeMultiLinkInfo & UprobeMultiLinkInfo fields that required a second info call
  • Added key_size, value_size and more getters to OpenMap{,Mut}
  • Added specific IterLinkInfo fields for LinkTypeInfo::Iter
  • Added ErrorKind::TooBig variant, surfaced when the underlying operation fails with E2BIG (e.g., a map reaching max_entries)
  • Added MapHandle::from_pinned_path_with_file_flags for opening maps with custom file flags
  • Changed name members of query info types to be OsString instead of CString
  • Made various query::*Info types non-exhaustive

New Contributors

Full Changelog: libbpf/libbpf-rs@v0.26.2...v0.27.0

Commits
  • be70013 Release 0.27.0
  • fb84ac7 Make more query Info types non-exhaustive
  • fd898aa build(deps): bump actions/stale from 10 to 11
  • 564ed18 build(deps): bump d-e-s-o/bpflint
  • 83316e0 Make query::{Kprobe,Uprobe}MultiLinkInfo non-exhaustive
  • 0954054 Stop using CStr{,ing} in public API
  • 5020ff4 Store IterLinkInfo::target_name as a plain CString
  • 6d9783b Introduce IterType::Unknown for unrecognized iterator targets
  • f1be6c4 build(deps): bump blazesym from 0.2.5 to 0.2.6
  • d684e73 build(deps): bump libc from 0.2.186 to 0.2.189
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [libbpf-rs](https://github.com/libbpf/libbpf-rs) from 0.26.2 to 0.27.0.
- [Release notes](https://github.com/libbpf/libbpf-rs/releases)
- [Commits](libbpf/libbpf-rs@v0.26.2...v0.27.0)

---
updated-dependencies:
- dependency-name: libbpf-rs
  dependency-version: 0.27.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added the dependencies Dependency updates label Aug 3, 2026
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@copyleftdev

Copy link
Copy Markdown
Owner

Pushed a commit adapting to the one breaking change in 0.27.0: ProgramInfo.name moved from CString to OsString, so crates/skbx-sensor/src/live.rs needed as_os_str().as_bytes() instead of as_c_str().to_bytes(). Dependabot bumps versions but does not adapt call sites, so this PR could not go green on its own.

Verified with the fix: make check passes both on this branch and on its merge with current main, and live-tc-program, live-xdp-program and live-bpf-helper pass. Those first two exercise dynamic_program_name, which is the field this change touches.

Nothing else in the 0.27 API broke — the map-reading calls added in #15 and #18 (lookup_percpu, keys(), MapCore) compile unchanged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Dependency updates

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant