Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Update ebpf to allow building with modern libbpf versions #4

Closed
wants to merge 1 commit into from

Conversation

devfonks
Copy link

libbpf 1.0.0 finally removed the deprecated bpf_program__set_socket_filter call so simply passing --disable-werror to configure is no longer sufficient. This brings the singular ebpf call that relied upon it being there up to spec so that it can be built and linked against the newer libbpf versions.

libbpf 0.8 deprecated the bpf_program__set_socket_filter call, and it was
removed entirely in libbpf 1.0.0. This change should bring the ebpf code
up to spec for the screamer branch. Old libbpf versions should still work
with the new calls as well.

Signed-off-by: devfonks <nkeck72@netzero.net>
@github-actions
Copy link

Thank you for your interest in the QEMU project.

This repository is a read-only mirror of the project's repostories hosted
on https://gitlab.com/qemu-project/qemu.git.
The project does not process merge requests filed on GitHub.

QEMU welcomes contributions of code (either fixing bugs or adding new
functionality). However, we get a lot of patches, and so we have some
guidelines about contributing on the project website:
https://www.qemu.org/contribute/

@github-actions github-actions bot closed this Oct 14, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Oct 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
1 participant