Skip to content

fix(core): Support Ubuntu 26.04#2682

Merged
Aryan-sharma11 merged 2 commits into
kubearmor:mainfrom
AryanBakliwal:fix-ubuntu-26
Jul 1, 2026
Merged

fix(core): Support Ubuntu 26.04#2682
Aryan-sharma11 merged 2 commits into
kubearmor:mainfrom
AryanBakliwal:fix-ubuntu-26

Conversation

@AryanBakliwal

Copy link
Copy Markdown
Member

Purpose of PR?:
Adds support for Ubuntu 26.04, kernel version 7.0 (Clang 22) by fixing the following issues when compiling eBPF code

  1. PROC_PID_INIT_INO not defined error
image
  1. passing 'const struct path *' to parameter of type 'struct path *' warning
image
  1. Multiple declaration warnings (https://clang.llvm.org/docs/DiagnosticsReference.html#wmissing-declarations)
image

Fixes #

Does this PR introduce a breaking change?
No

If the changes in this PR are manually verified, list down the scenarios covered:
Ubuntu 26.04 LTS, kernel version 7.0.0-22-generic, clang version 22.1.8
image

Additional information for reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs

Checklist:

  • Bug fix. Fixes #
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update
  • PR Title follows the convention of <type>(<scope>): <subject>
  • Commit has unit tests
  • Commit has integration tests

@Aryan-sharma11

Aryan-sharma11 commented Jun 22, 2026

Copy link
Copy Markdown
Member

Need to update object files as well.

@AryanBakliwal

AryanBakliwal commented Jun 24, 2026

Copy link
Copy Markdown
Member Author

@achrefbensaad Working with clang version 19

image

helm install also working

image

@AryanBakliwal

Copy link
Copy Markdown
Member Author

Need to update object files as well.

@Aryan-sharma11 added

@AryanBakliwal

Copy link
Copy Markdown
Member Author

@achrefbensaad Working on Ubuntu 24.04
Screenshot from 2026-06-25 11-38-58

Signed-off-by: Aryan Bakliwal <[email protected]>
@Aryan-sharma11 Aryan-sharma11 merged commit e89c28d into kubearmor:main Jul 1, 2026
19 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants