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

update: sync libs with newest event name APIs #2471

Merged
merged 3 commits into from
Apr 4, 2023
Merged

Conversation

jasondellaluce
Copy link
Contributor

What type of PR is this?

/kind cleanup

Any specific area of the project related to this PR?

/area build

/area engine

What this PR does / why we need it:

Follows up falcosecurity/libs#1023 and adapts the unit tests accordingly.

Which issue(s) this PR fixes:

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

update: sync libs with newest event name APIs

@FedeDP
Copy link
Contributor

FedeDP commented Apr 4, 2023

/milestone 0.35.0

@poiana poiana added this to the 0.35.0 milestone Apr 4, 2023
FedeDP
FedeDP previously approved these changes Apr 4, 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 Apr 4, 2023

LGTM label has been added.

Git tree hash: 350848ce5b6f83b739136703b91e2c807dca1ea7

Andreagit97
Andreagit97 previously approved these changes Apr 4, 2023
Copy link
Member

@Andreagit97 Andreagit97 left a comment

Choose a reason for hiding this comment

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

/approve

@Andreagit97
Copy link
Member

/hold

@Andreagit97
Copy link
Member

Something bad in tests :/

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.

/lgtm

@@ -86,8 +86,8 @@ static void select_event_set(falco::app::state& s, const libsinsp::events::set<p
std::unordered_set<std::string> user_positive_names = {};
std::unordered_set<std::string> user_negative_names = {};
extract_base_syscalls_names(s.config->m_base_syscalls_custom_set, user_positive_names, user_negative_names);
auto user_positive_sc_set = libsinsp::events::names_to_sc_set(user_positive_names);
auto user_negative_sc_set = libsinsp::events::names_to_sc_set(user_negative_names);
auto user_positive_sc_set = libsinsp::events::event_names_to_sc_set(user_positive_names);
Copy link
Contributor

Choose a reason for hiding this comment

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

👍

@incertum
Copy link
Contributor

incertum commented Apr 4, 2023

Something bad in tests :/

@Andreagit97, see #2464 was "lucky" enough to encounter these issues locally. Changes in that PR helped ... it's not about the tests being wrong, but some inherent issues with gtests.

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.

/lgtm

@poiana poiana added the lgtm label Apr 4, 2023
@poiana
Copy link
Contributor

poiana commented Apr 4, 2023

LGTM label has been added.

Git tree hash: 9ef99f1ec4a5a247b66f248dbdc1b315508a664b

Copy link
Member

@Andreagit97 Andreagit97 left a comment

Choose a reason for hiding this comment

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

/approve

@incertum
Copy link
Contributor

incertum commented Apr 4, 2023

/unhold

@poiana
Copy link
Contributor

poiana commented Apr 4, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Andreagit97, FedeDP, incertum, jasondellaluce, leogr

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 [Andreagit97,FedeDP,jasondellaluce,leogr]

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 91cca0b into master Apr 4, 2023
@poiana poiana deleted the update/sc-names-fixups branch April 4, 2023 17:39
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.

6 participants