falcosecurity / driverkit

Kit for building Falco drivers: kernel modules or eBPF probes
Apache License 2.0
62 stars 52 forks source link

new(pkg/driverbuilder): support photonOS 5.0. #297

Closed FedeDP closed 8 months ago

FedeDP commented 8 months ago

What type of PR is this?

/kind feature

Any specific area of the project related to this PR?

/area pkg

What this PR does / why we need it:

Moreover, support aarch64 kernelurls for it.

Which issue(s) this PR fixes:

Fixes #

Special notes for your reviewer:

Does this PR introduce a user-facing change?:

new(pkg/driverbuilder): support photonOS 5.0.
FedeDP commented 8 months ago

/hold

FedeDP commented 8 months ago

I will push also a small fix for the broken master CI.

FedeDP commented 8 months ago

I had to revert fb7fb6445afac8cb8e863d1783430ed1a02b8f01 since debian friends fixed it after all :D

FedeDP commented 8 months ago

/unhold

FedeDP commented 8 months ago

/cc @dwindsor another approve? :D

FedeDP commented 8 months ago

Also, this PR was tested with:

./_output/bin/driverkit docker --kernelversion 1 --kernelrelease 6.1.53-1.ph5 --target photon  -l debug --builderimage auto:master --output-probe /tmp/probe.o

Driverkit was automatically able to discover correct kernelurls and successfully built the probe.

poiana commented 8 months ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: dwindsor, FedeDP

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](https://github.com/falcosecurity/driverkit/blob/master/OWNERS)~~ [FedeDP,dwindsor] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment