-
Notifications
You must be signed in to change notification settings - Fork 510
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
build header files into kernel #454
Comments
The backport isn't too painful, and voila:
Although where-ever we access this from will need something to decompress it :) |
I'd prefer to leave usage up to the container that's building the module, but we should confirm that it actually works.
|
Should also look at the eBPF form of sysdig: |
Both the module and eBPF form sysdig should work in Thar - I haven't loaded the eBPF probe yet but we have the correct dependencies already. On the other hand Falco/sysdig supports setting a URL to a pre-compiled probe to use instead, and compiling the probe manually isn't too much work. It can be done in the admin container by installing a few build tools and copying a configured kernel tree across. If we end up blocked on the header issue we could provide instructions/scripts to precompile the probe instead. |
We do now build kernel headers in the kernel, but that's not good enough for some out-of-tree models. kernel-devel is built, but not distributed, and #680 tracks that. |
In 5.2 an option was added to build headers into the kernel.
See here for background:
https://lwn.net/Articles/783578/
We should look at backporting it to our 4.19 kernel and enabling it to see if it helps with the out-of-tree module and BPF use cases.
The text was updated successfully, but these errors were encountered: