-
Notifications
You must be signed in to change notification settings - Fork 912
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(userspace/falco): solve live multi-source issues when loading more than two sources #2653
Conversation
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
…ctors Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
/milestone 0.35.1 |
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
LGTM label has been added. Git tree hash: 4dd4c90db6bffd6dfb6b9c8034520afb5b3b28b7
|
Co-authored-by: Federico Di Pierro <nierro92@gmail.com> Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
|
||
// in live mode, each inspector should have registered at most two event sources: | ||
// the "syscall" on, loaded at default at index 0, and optionally another | ||
// one defined by a plugin, at index 1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a comment: oh max one plugin is a limitations we may wanna consider addressing one day if we plan to extend the plugins functionally beyond what is possible today :)
LGTM label has been added. Git tree hash: 435933d25521203025ebc58f260cbc7e4584baea
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/approve
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: FedeDP, incertum, jasondellaluce The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
What type of PR is this?
/kind bug
Any specific area of the project related to this PR?
/area engine
What this PR does / why we need it:
This fixes #2652, which caused Falco to fail when loading more than two simultaneous event sources for live event captures. The flaw was on a wrongly-implemented safety check, that caused Falco to fail even on legit situations.
Which issue(s) this PR fixes:
Fixes #2652
Special notes for your reviewer:
Does this PR introduce a user-facing change?: