Skip to content

Commit

Permalink
fix dentry keys
Browse files Browse the repository at this point in the history
  • Loading branch information
safchain committed Mar 4, 2025
1 parent 9290305 commit bb9895d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/security/ebpf/probes/const.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,10 +28,8 @@ const (
)

const (
// DentryResolverOpenCallbackKprobeKey is the key to the callback program to execute after resolving the dentry of an open event
DentryResolverOpenCallbackKprobeKey uint32 = iota + 1
// DentryResolverSetAttrCallbackKprobeKey is the key to the callback program to execute after resolving the dentry of an setattr event
DentryResolverSetAttrCallbackKprobeKey
DentryResolverSetAttrCallbackKprobeKey = iota + 1
// DentryResolverMkdirCallbackKprobeKey is the key to the callback program to execute after resolving the dentry of an mkdir event
DentryResolverMkdirCallbackKprobeKey
// DentryResolverMountStageOneCallbackKprobeKey is the key to the callback program to execute after resolving the root dentry of a new mount
Expand Down

0 comments on commit bb9895d

Please sign in to comment.