Skip to content

Commit

Permalink
tetragon: Use syscall64 type in killer specs
Browse files Browse the repository at this point in the history
Signed-off-by: Jiri Olsa <[email protected]>
  • Loading branch information
olsajiri committed Dec 4, 2023
1 parent 87a60d7 commit 013d152
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion examples/tracingpolicy/killer.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ spec:
values:
- "sys_dup"
- "sys_dup2"
- "__ia32_sys_dup"
killers:
- syscalls:
- "list:dups"
Expand All @@ -17,7 +18,7 @@ spec:
event: "sys_enter"
args:
- index: 4
type: "uint64"
type: "syscall64"
selectors:
- matchArgs:
- index: 0
Expand Down
6 changes: 3 additions & 3 deletions pkg/sensors/tracing/killer_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ spec:
event: "sys_enter"
args:
- index: 4
type: "uint64"
type: "syscall64"
selectors:
- matchArgs:
- index: 0
Expand Down Expand Up @@ -139,7 +139,7 @@ spec:
event: "sys_enter"
args:
- index: 4
type: "uint64"
type: "syscall64"
selectors:
- matchArgs:
- index: 0
Expand Down Expand Up @@ -204,7 +204,7 @@ spec:
event: "sys_enter"
args:
- index: 4
type: "uint64"
type: "syscall64"
selectors:
- matchArgs:
- index: 0
Expand Down

0 comments on commit 013d152

Please sign in to comment.