Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Bump libbpf-rs from 0.22.1 to 0.23.0 #29

Merged
merged 1 commit into from
Apr 7, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 7, 2024

Bumps libbpf-rs from 0.22.1 to 0.23.0.

Release notes

Sourced from libbpf-rs's releases.

v0.23.0

What's Changed

libbpf-rs

  • Overhauled crate feature set:
    • Removed novendor feature
    • Added vendored feature to use vendored copies of all needed libraries
  • Added Program::attach_ksyscall for attaching to ksyscall handlers
  • Added Program::test_run as a way for test-running programs
  • Added OpenMap::initial_value{,_mut} for retrieving a map's initial value
  • Added replace functionality to Xdp type
  • Added low-level consume_raw and poll_raw methods to RingBuffer type
  • Added recursion_misses attribute to query::ProgramInfo type
  • Added AsRawLibbpf impl for OpenProgram
  • Fixed incorrect inference of btf::types::MemberAttr::Bitfield variant
  • Fixed examples not building on non-x86 architectures
  • Fixed potentially missing padding byte initialization on some target architectures
  • Fixed compilation issues caused by mismatching function signatures in certain cross-compilation contexts
  • Updated libbpf-sys dependency to 1.4.0
  • Bumped minimum Rust version to 1.71

libbpf-cargo

  • Removed novendor feature in favor of having disableable default feature
  • Added support for struct_ops shadow objects for generated skeletons
  • Added support for handling custom data sections in generated skeletons
  • Adjusted SkeletonBuilder::clang_args to accept an iterator of arguments instead of a string
  • Added --clang-args argument to make and build sub-commands
  • Put all generated types into single <project>_types module as opposed to having multiple modules for various sections (.bss, .rodata, etc.)
  • Fixed potential naming issues by escaping reserved keywords used in identifiers
  • Fixed potential unsoundness issues in generated skeletons by wrapping "unsafe" type in MaybeUninit
  • Added pointer based ("raw") access to datasec type to generated skeletons
  • Added better handling for bitfields to code generation logic
  • Updated libbpf-sys dependency to 1.4.0
  • Bumped minimum Rust version to 1.71

New Contributors

Full Changelog: libbpf/libbpf-rs@v0.22.1...v0.23.0

Commits
  • a4581cd Release 0.23.0
  • 4d6ae73 Bump libbpf-sys dependency to 1.4.0
  • 7745f2e libbpf-cargo: Add test for special sauce section names
  • 8fd6424 libbpf-cargo: escape map names
  • 51ffd0f libbpf-cargo: Add support for custom .data/.bss/.rodata sections
  • 5ba8d69 Adjust remaining examples to produce skeleton in src/bpf/ directory
  • ce0a109 Adjust tcp_ca example to use struct_ops shadow data
  • ef62591 Add test checking generation of struct ops definitions
  • 3d49a82 libbpf-cargo: Add support for struct_ops shadow objects
  • 1ba963c libbpf-cargo: Introduce type_declaration_impl() helper
  • Additional commits viewable in compare view

Dependabot compatibility score

You can trigger a rebase of this PR 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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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.22.1 to 0.23.0.
- [Release notes](https://github.com/libbpf/libbpf-rs/releases)
- [Commits](libbpf/libbpf-rs@v0.22.1...v0.23.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file rust Pull requests that update Rust code labels Apr 7, 2024
@jfernandez jfernandez merged commit f162295 into main Apr 7, 2024
1 check passed
@jfernandez jfernandez deleted the dependabot/cargo/libbpf-rs-0.23.0 branch April 7, 2024 13:17
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
dependencies Pull requests that update a dependency file rust Pull requests that update Rust code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant