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(userspace/falco): solve live multi-source issues when loading more than two sources #2653

Merged
merged 5 commits into from
Jun 22, 2023

Conversation

jasondellaluce
Copy link
Contributor

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?:

fix(userspace/falco): solve live multi-source issues when loading more than two sources

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>
@jasondellaluce
Copy link
Contributor Author

/milestone 0.35.1

@poiana poiana added this to the 0.35.1 milestone Jun 22, 2023
@poiana poiana requested review from incertum and Kaizhe June 22, 2023 09:10
@jasondellaluce jasondellaluce mentioned this pull request Jun 22, 2023
43 tasks
Signed-off-by: Jason Dellaluce <jasondellaluce@gmail.com>
FedeDP
FedeDP previously approved these changes Jun 22, 2023
Copy link
Contributor

@FedeDP FedeDP left a comment

Choose a reason for hiding this comment

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

/approve

@poiana
Copy link
Contributor

poiana commented Jun 22, 2023

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>
Copy link
Contributor

@incertum incertum left a 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
Copy link
Contributor

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 :)

@poiana
Copy link
Contributor

poiana commented Jun 22, 2023

LGTM label has been added.

Git tree hash: 435933d25521203025ebc58f260cbc7e4584baea

Copy link
Contributor

@FedeDP FedeDP left a comment

Choose a reason for hiding this comment

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

/approve

@poiana
Copy link
Contributor

poiana commented Jun 22, 2023

[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:
  • OWNERS [FedeDP,incertum,jasondellaluce]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@poiana poiana merged commit ba8e9af into master Jun 22, 2023
@poiana poiana deleted the fix/live-multi-src branch June 22, 2023 15:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Error: Unexpected event source for inspector's event: expected='docker', actual='docker'
4 participants