From 8af78c4b5931932b467a84350ac2f58619daf6c2 Mon Sep 17 00:00:00 2001 From: Sylvain Afchain Date: Thu, 6 Mar 2025 14:13:28 +0100 Subject: [PATCH] [CWS] fix dentry resolution callbacks on centos7 (#34824) --- pkg/security/ebpf/probes/const.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkg/security/ebpf/probes/const.go b/pkg/security/ebpf/probes/const.go index 7862146676b58..1c0b3d8261a57 100644 --- a/pkg/security/ebpf/probes/const.go +++ b/pkg/security/ebpf/probes/const.go @@ -57,10 +57,8 @@ const ( ) const ( - // DentryResolverOpenCallbackTracepointKey is the key to the callback program to execute after resolving the dentry of an open event - DentryResolverOpenCallbackTracepointKey uint32 = iota + 1 // DentryResolverMkdirCallbackTracepointKey is the key to the callback program to execute after resolving the dentry of an mkdir event - DentryResolverMkdirCallbackTracepointKey + DentryResolverMkdirCallbackTracepointKey uint32 = iota + 1 // DentryResolverMountStageOneCallbackTracepointKey is the key to the callback program to execute after resolving the root dentry of a new mount DentryResolverMountStageOneCallbackTracepointKey // DentryResolverMountStageTwoCallbackTracepointKey is the key to the callback program to execute after resolving the mountpoint dentry a new mount