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

Relocate tools on Flatcar in BPF mode #2729

Merged
merged 1 commit into from Aug 21, 2023

Conversation

johananl
Copy link
Contributor

In #2043 we've added logic for relocating tools on Flatcar when running falco-driver-loader in kmod mode. This logic is relevant for BPF mode, too, which is currently broken on Flatcar. Call flatcar_relocate_tools in BPF mode, too.

cc: @jepio

What type of PR is this?

Uncomment one (or more) /kind <> lines:

/kind bug

Any specific area of the project related to this PR?

Uncomment one (or more) /area <> lines:

/area build

/area engine

/area tests

/area proposals

/area CI

What this PR does / why we need it:

In #2043 we've added logic which ensures driver compilation works on Flatcar Container Linux. This logic was added for kmod only, and therefore BPF driver compilation is currently broken for Flatcar. This PR invokes the same logic in BPF mode, too, which fixes the problem.

Which issue(s) this PR fixes:

None

Special notes for your reviewer:

None

Does this PR introduce a user-facing change?:

NONE

In falcosecurity#2043 we've added logic
for relocating tools on Flatcar when running falco-driver-loader in kmod
mode. This logic is relevant for BPF mode, too, which is currently
broken on Flatcar. Call flatcar_relocate_tools in BPF mode, too.

Signed-off-by: Johanan Liebermann <jliebermann@microsoft.com>
@FedeDP
Copy link
Contributor

FedeDP commented Aug 14, 2023

/milestone 0.36.0

@poiana poiana added this to the 0.36.0 milestone Aug 14, 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

poiana commented Aug 14, 2023

LGTM label has been added.

Git tree hash: db2fde1aadf56dbb838550aeb69c48f8d3d448d3

@poiana
Copy link

poiana commented Aug 21, 2023

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: FedeDP, johananl, 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:

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 f4c8833 into falcosecurity:master Aug 21, 2023
16 checks passed
@johananl johananl deleted the flatcar-bpf-relocate-tools branch August 21, 2023 08:50
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.

None yet

4 participants