chore(monitor): change iov check for RHEL and newer kernels in system monitor#2583
Merged
Aryan-sharma11 merged 2 commits intoJun 26, 2026
Merged
Conversation
rksharma95
reviewed
May 11, 2026
99570cf to
11f7363
Compare
11f7363 to
d56884d
Compare
392350a to
1b56151
Compare
achrefbensaad
requested changes
Jun 12, 2026
achrefbensaad
left a comment
Member
There was a problem hiding this comment.
Tested on centos and the code is working as expected
[root@kubearmor-pr-2583 ~]# uname -a
Linux kubearmor-pr-2583 5.14.0-701.el9.x86_64 #1 SMP PREEMPT_DYNAMIC Mon May 4 09:10:57 UTC 2026 x86_64 x86_64 x86_64 GNU/Linux
[root@kubearmor-pr-2583 ~]# cat /etc/os-release
NAME="CentOS Stream"
VERSION="9"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="9"
PLATFORM_ID="platform:el9"
PRETTY_NAME="CentOS Stream 9"
ANSI_COLOR="0;31"
LOGO="fedora-logo-icon"
CPE_NAME="cpe:/o:centos:centos:9"
HOME_URL="https://centos.org/"
BUG_REPORT_URL="https://issues.redhat.com/"
REDHAT_SUPPORT_PRODUCT="Red Hat Enterprise Linux 9"
REDHAT_SUPPORT_PRODUCT_VERSION="CentOS Stream"
[root@kubearmor-pr-2583 ~]# This Change fixes the issue
@charankamal20 please do the following:
- Rebase this PR
- Handle DCO
We can merge after that
c25a64d to
09bdadc
Compare
Contributor
Author
@achrefbensaad rebased the PR. |
Aryan-sharma11
approved these changes
Jun 15, 2026
09bdadc to
c4865de
Compare
c4865de to
683e4b3
Compare
…ernel Signed-off-by: charankamal20 <[email protected]>
Signed-off-by: charankamal20 <[email protected]>
683e4b3 to
7ba6dab
Compare
7 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Purpose of PR?:
Add shadow struct for compatibility btwn RHEL and mainstream kernel. Referenced from enforcer.bpf.c
Fixes #
Does this PR introduce a breaking change?
If the changes in this PR are manually verified, list down the scenarios covered::
Additional information for reviewer? :
Mention if this PR is part of any design or a continuation of previous PRs
Checklist:
<type>(<scope>): <subject>