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

fix: make BPF probe to compile on CentOS 8 and RHEL 8 again #1650

Merged
merged 1 commit into from
Jul 7, 2020

Conversation

fntlnz
Copy link
Contributor

@fntlnz fntlnz commented Jul 7, 2020

The distro backported the process type functionalities and structs
from 4.19 to 4.18, that made our checks against 4.19 ineffective.

This patch adds some RHEL specific checks to short circuit RHEL
backports before the 4.19 checks are done.

Co-Authored-By: Leonardo Di Donato leodidonato@gmail.com
Signed-off-by: Lorenzo Fontana fontanalorenz@gmail.com

The distro backported the process type functionalities and structs
from 4.19 to 4.18, that made our checks against 4.19 ineffective.

This patch adds some RHEL specific checks to short circuit RHEL
backports before the 4.19 checks are done.

Co-Authored-By: Leonardo Di Donato <leodidonato@gmail.com>
Signed-off-by: Lorenzo Fontana <fontanalorenz@gmail.com>
@fntlnz
Copy link
Contributor Author

fntlnz commented Jul 7, 2020

Tested on the Falco driverkit grid and manually on kernels:

  • 5.3.0-1023-aws (ubuntu)
  • 4.18.0-147.5.1.el8_1.x86_64 (centos 8)
  • 3.10.0-1127.13.1.el7.x86_64 (centos 7) <-- no bpf support here but everything else works

@leodido leodido merged commit 33c00f0 into dev Jul 7, 2020
@fntlnz fntlnz deleted the fix/bpf-centos8 branch July 7, 2020 11:25
daemon1024 added a commit to daemon1024/KubeArmor that referenced this pull request Dec 13, 2021
daemon1024 added a commit to daemon1024/KubeArmor that referenced this pull request Dec 13, 2021
Fix kubearmor#515
Ref aquasecurity/tracee#351 draios/sysdig#1650

Signed-off-by: daemon1024 <barun.acharya@accuknox.com>
daemon1024 added a commit to daemon1024/KubeArmor that referenced this pull request Dec 17, 2021
Fix kubearmor#515
Ref aquasecurity/tracee#351 draios/sysdig#1650

Signed-off-by: daemon1024 <barun.acharya@accuknox.com>
nyrahul pushed a commit to nyrahul/KubeArmor that referenced this pull request Dec 18, 2021
Fix kubearmor#515
Ref aquasecurity/tracee#351 draios/sysdig#1650

Signed-off-by: daemon1024 <barun.acharya@accuknox.com>
Signed-off-by: Rahul Jadhav <r@accuknox.com>
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.

2 participants