Skip to content

Commit

Permalink
[Backport 7.63.x] [CWS] add missing exit progs entry for stat (#33353)
Browse files Browse the repository at this point in the history
Co-authored-by: Sylvain Afchain <[email protected]>
  • Loading branch information
agent-platform-auto-pr[bot] and safchain authored Jan 24, 2025
1 parent 1ac94d9 commit 0aa11fa
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions pkg/security/ebpf/probes/raw_sys_exit.go
Original file line number Diff line number Diff line change
Expand Up @@ -198,5 +198,12 @@ func getSysExitTailCallRoutes() []manager.TailCallRoute {
EBPFFuncName: "tracepoint_handle_sys_chdir_exit",
},
},
{
ProgArrayName: "sys_exit_progs",
Key: uint32(model.StatEventType),
ProbeIdentificationPair: manager.ProbeIdentificationPair{
EBPFFuncName: "tracepoint_handle_sys_newfstatat_exit",
},
},
}
}

0 comments on commit 0aa11fa

Please sign in to comment.