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

fix: agent - eBPF fentry/fexit Check for '__sys_recvmmsg' #8014

Merged
merged 2 commits into from
Aug 30, 2024

Conversation

yinjiping
Copy link
Contributor

The __sys_recvmmsg interface underwent a change in its parameter list starting from Linux kernel version 5.0. If earlier kernel versions support the fentry/fexit feature, attempting to load BPF programs on this interface may fail. Therefore, we use this interface to check whether to load a version of the BPF bytecode binary that supports fentry/fexit.

This PR is for:

  • Agent

Affected branches

  • main
  • v6.5

The `__sys_recvmmsg` interface underwent a change in its parameter list starting
from Linux kernel version 5.0. If earlier kernel versions support the `fentry/fexit`
feature, attempting to load BPF programs on this interface may fail. Therefore, we
use this interface to check whether to load a version of the BPF bytecode binary
that supports `fentry/fexit`.
@yinjiping yinjiping enabled auto-merge (squash) August 30, 2024 09:32
@yinjiping yinjiping merged commit 99ca93b into main Aug 30, 2024
8 checks passed
@yinjiping yinjiping deleted the check_kfunc_int branch August 30, 2024 10:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants