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

Only load interesting syscalls #1855

Merged
merged 4 commits into from
Sep 27, 2024

Conversation

Molter73
Copy link
Collaborator

@Molter73 Molter73 commented Sep 19, 2024

Description

This is a small-ish change that makes it so tracepoints associated to syscalls that are not interesting will not be loaded. With this change, we can decide to exclude a tracepoint at runtime, for instance to work around a verifier issue.

In particular, the new implementations for sendmmsg and recvmmsg tracepoints have verifier issues, because these syscalls are opt-in, people that don't enable these syscalls should also not hit the verifier issue.

Checklist

  • Investigated and inspected CI test results
  • Updated documentation accordingly

Automated testing

  • Added unit tests
  • Added integration tests
  • Added regression tests

If any of these don't apply, please comment below.

Testing Performed

  • Check the RHEL-SAP 8.4 VM no longer hits the verifier issue (TestUdpNetworkflow will still fail).

@Molter73 Molter73 requested a review from a team as a code owner September 19, 2024 15:43
@Molter73 Molter73 changed the title Bump falco version Only load interesting syscalls Sep 19, 2024
@Molter73 Molter73 force-pushed the mauro/load-interesting-syscalls branch from ba03c0d to 1207bff Compare September 20, 2024 14:42
Copy link
Collaborator

@Stringy Stringy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@@ -45,6 +45,7 @@ jobs:
- integration-tests/Dockerfile
- .github/workflows/integration-test-containers.yml

# Trigger rebuild
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Shouldn't it be rebuilding anyway, or is the list of filters above not working properly?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is not triggering because this PR doesn't have any changes to the files in the filter. I was gonna suggest we should add the base argument, but the docs say this is ignored when the trigger is pull_request, so not entirely sure what we could do about it 🤷🏻‍♂️

@Molter73 Molter73 force-pushed the mauro/load-interesting-syscalls branch from bfff81e to 487b36c Compare September 26, 2024 16:26
@Molter73 Molter73 merged commit b79e261 into mauro/track-mmsg-syscalls Sep 27, 2024
5 checks passed
@Molter73 Molter73 deleted the mauro/load-interesting-syscalls branch September 27, 2024 09:49
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.

2 participants