From d62e1a4bd2b84f7da6fc0e532152214e9a6ee665 Mon Sep 17 00:00:00 2001 From: Jiri Olsa Date: Thu, 3 Aug 2023 10:29:42 +0000 Subject: [PATCH] tetragon: Add syscall generated list tracing policy example Adding syscall generated list tracing policy example. Signed-off-by: Jiri Olsa --- .../tracingpolicy/list-syscalls-generated.yaml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 examples/tracingpolicy/list-syscalls-generated.yaml diff --git a/examples/tracingpolicy/list-syscalls-generated.yaml b/examples/tracingpolicy/list-syscalls-generated.yaml new file mode 100644 index 00000000000..a4007b2b861 --- /dev/null +++ b/examples/tracingpolicy/list-syscalls-generated.yaml @@ -0,0 +1,15 @@ +apiVersion: cilium.io/v1alpha1 +kind: TracingPolicy +metadata: + name: "all-syscall-for-kill" +spec: + lists: + - name: "all-syscalls" + type: "generated_syscalls" + kprobes: + - call: "list:all-syscalls" + selectors: + - matchBinaries: + - operator: "In" + values: + - "/usr/bin/kill"