-
Notifications
You must be signed in to change notification settings - Fork 369
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
tetragon: Setup tailcalls directly in bpf programs #3002
Open
olsajiri
wants to merge
12
commits into
main
Choose a base branch
from
pr/olsajiri/tailcalls
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+2,443
−755
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
✅ Deploy Preview for tetragon ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
olsajiri
added
the
release-note/minor
This PR introduces a minor user-visible change
label
Oct 15, 2024
olsajiri
force-pushed
the
pr/olsajiri/tailcalls
branch
10 times, most recently
from
October 20, 2024 20:29
f60dee8
to
f5c9c89
Compare
olsajiri
force-pushed
the
pr/olsajiri/tailcalls
branch
8 times, most recently
from
November 19, 2024 15:03
8b8c563
to
c0a797d
Compare
Signed-off-by: Jiri Olsa <[email protected]>
We need the support for loading BTF with declaration tags, cilium/ebpf/main is in a good shape now. Signed-off-by: Jiri Olsa <[email protected]>
Disable content loading at this point, we just care about the map, the content will be loaded when the whole object gets loaded. Signed-off-by: Jiri Olsa <[email protected]>
because it got deprecated, replacing it with our version. Signed-off-by: Jiri Olsa <[email protected]>
olsajiri
force-pushed
the
pr/olsajiri/tailcalls
branch
from
November 20, 2024 15:05
c0a797d
to
b3d7221
Compare
Switching to explicit tail call map definition. This way it's easier to overload tail calls in other projects using tetragon. It also allows us to switch execve sensors to tp_btf which is not possible at the moment due to extra numbers in the program section name. Signed-off-by: Jiri Olsa <[email protected]>
Switching to explicit tail call map definition. This way it's easier to overload tail calls in other projects using tetragon. Signed-off-by: Jiri Olsa <[email protected]>
Switching to explicit tail call map definition. This way it's easier to overload tail calls in other projects using tetragon. Signed-off-by: Jiri Olsa <[email protected]>
Switching to explicit tail call map definition. This way it's easier to overload tail calls in other projects using tetragon. Signed-off-by: Jiri Olsa <[email protected]>
Switching to explicit tail call map definition. This way it's easier to overload tail calls in other projects using tetragon. Signed-off-by: Jiri Olsa <[email protected]>
Allow projects that use tetragon to specify their own tail call map and overload execve program behaviour. Signed-off-by: Jiri Olsa <[email protected]>
When calling this functions from other projects, they stay global and it's important the verifier knows which argment is context. Adding also other argument related declaration tags. Signed-off-by: Jiri Olsa <[email protected]>
Introducing CheckSensorLoadBase function to allow checks with specific base sensor. Signed-off-by: Jiri Olsa <[email protected]>
olsajiri
force-pushed
the
pr/olsajiri/tailcalls
branch
from
November 20, 2024 15:10
b3d7221
to
55577e9
Compare
olsajiri
changed the title
Pr/olsajiri/tailcalls
tetragon: Setup tailcalls directly in bpf programs
Nov 21, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This is more straigt forward than current way (which still stays supported).
It also allows to override execve sensor functionality for projects that depend on tetragon.