From 79314e5e2707c8853a517c587532eac31b11908b Mon Sep 17 00:00:00 2001 From: Jiri Olsa Date: Thu, 30 Nov 2023 11:12:01 +0000 Subject: [PATCH] tetragon: Add syscall64 in KProbeArg type Signed-off-by: Jiri Olsa --- .../client/crds/v1alpha1/cilium.io_tracingpolicies.yaml | 3 +++ .../crds/v1alpha1/cilium.io_tracingpoliciesnamespaced.yaml | 3 +++ pkg/k8s/apis/cilium.io/v1alpha1/types.go | 2 +- .../client/crds/v1alpha1/cilium.io_tracingpolicies.yaml | 3 +++ .../crds/v1alpha1/cilium.io_tracingpoliciesnamespaced.yaml | 3 +++ .../cilium/tetragon/pkg/k8s/apis/cilium.io/v1alpha1/types.go | 2 +- 6 files changed, 14 insertions(+), 2 deletions(-) diff --git a/pkg/k8s/apis/cilium.io/client/crds/v1alpha1/cilium.io_tracingpolicies.yaml b/pkg/k8s/apis/cilium.io/client/crds/v1alpha1/cilium.io_tracingpolicies.yaml index 97b99fcd84a..bf0a9269f62 100644 --- a/pkg/k8s/apis/cilium.io/client/crds/v1alpha1/cilium.io_tracingpolicies.yaml +++ b/pkg/k8s/apis/cilium.io/client/crds/v1alpha1/cilium.io_tracingpolicies.yaml @@ -122,6 +122,7 @@ spec: - cred - load_info - module + - syscall64 type: string required: - index @@ -203,6 +204,7 @@ spec: - cred - load_info - module + - syscall64 type: string required: - index @@ -751,6 +753,7 @@ spec: - cred - load_info - module + - syscall64 type: string required: - index diff --git a/pkg/k8s/apis/cilium.io/client/crds/v1alpha1/cilium.io_tracingpoliciesnamespaced.yaml b/pkg/k8s/apis/cilium.io/client/crds/v1alpha1/cilium.io_tracingpoliciesnamespaced.yaml index 7a1c87ff27b..6862ad921b1 100644 --- a/pkg/k8s/apis/cilium.io/client/crds/v1alpha1/cilium.io_tracingpoliciesnamespaced.yaml +++ b/pkg/k8s/apis/cilium.io/client/crds/v1alpha1/cilium.io_tracingpoliciesnamespaced.yaml @@ -122,6 +122,7 @@ spec: - cred - load_info - module + - syscall64 type: string required: - index @@ -203,6 +204,7 @@ spec: - cred - load_info - module + - syscall64 type: string required: - index @@ -751,6 +753,7 @@ spec: - cred - load_info - module + - syscall64 type: string required: - index diff --git a/pkg/k8s/apis/cilium.io/v1alpha1/types.go b/pkg/k8s/apis/cilium.io/v1alpha1/types.go index 8b7e03a6f77..8f233802add 100644 --- a/pkg/k8s/apis/cilium.io/v1alpha1/types.go +++ b/pkg/k8s/apis/cilium.io/v1alpha1/types.go @@ -51,7 +51,7 @@ type KProbeArg struct { // +kubebuilder:validation:Minimum=0 // Position of the argument. Index uint32 `json:"index"` - // +kubebuilder:validation:Enum=auto;int;uint32;int32;uint64;int64;char_buf;char_iovec;size_t;skb;sock;string;fd;file;filename;path;nop;bpf_attr;perf_event;bpf_map;user_namespace;capability;kiocb;iov_iter;cred;load_info;module; + // +kubebuilder:validation:Enum=auto;int;uint32;int32;uint64;int64;char_buf;char_iovec;size_t;skb;sock;string;fd;file;filename;path;nop;bpf_attr;perf_event;bpf_map;user_namespace;capability;kiocb;iov_iter;cred;load_info;module;syscall64; // +kubebuilder:default=auto // Argument type. Type string `json:"type"` diff --git a/vendor/github.com/cilium/tetragon/pkg/k8s/apis/cilium.io/client/crds/v1alpha1/cilium.io_tracingpolicies.yaml b/vendor/github.com/cilium/tetragon/pkg/k8s/apis/cilium.io/client/crds/v1alpha1/cilium.io_tracingpolicies.yaml index 97b99fcd84a..bf0a9269f62 100644 --- a/vendor/github.com/cilium/tetragon/pkg/k8s/apis/cilium.io/client/crds/v1alpha1/cilium.io_tracingpolicies.yaml +++ b/vendor/github.com/cilium/tetragon/pkg/k8s/apis/cilium.io/client/crds/v1alpha1/cilium.io_tracingpolicies.yaml @@ -122,6 +122,7 @@ spec: - cred - load_info - module + - syscall64 type: string required: - index @@ -203,6 +204,7 @@ spec: - cred - load_info - module + - syscall64 type: string required: - index @@ -751,6 +753,7 @@ spec: - cred - load_info - module + - syscall64 type: string required: - index diff --git a/vendor/github.com/cilium/tetragon/pkg/k8s/apis/cilium.io/client/crds/v1alpha1/cilium.io_tracingpoliciesnamespaced.yaml b/vendor/github.com/cilium/tetragon/pkg/k8s/apis/cilium.io/client/crds/v1alpha1/cilium.io_tracingpoliciesnamespaced.yaml index 7a1c87ff27b..6862ad921b1 100644 --- a/vendor/github.com/cilium/tetragon/pkg/k8s/apis/cilium.io/client/crds/v1alpha1/cilium.io_tracingpoliciesnamespaced.yaml +++ b/vendor/github.com/cilium/tetragon/pkg/k8s/apis/cilium.io/client/crds/v1alpha1/cilium.io_tracingpoliciesnamespaced.yaml @@ -122,6 +122,7 @@ spec: - cred - load_info - module + - syscall64 type: string required: - index @@ -203,6 +204,7 @@ spec: - cred - load_info - module + - syscall64 type: string required: - index @@ -751,6 +753,7 @@ spec: - cred - load_info - module + - syscall64 type: string required: - index diff --git a/vendor/github.com/cilium/tetragon/pkg/k8s/apis/cilium.io/v1alpha1/types.go b/vendor/github.com/cilium/tetragon/pkg/k8s/apis/cilium.io/v1alpha1/types.go index 8b7e03a6f77..8f233802add 100644 --- a/vendor/github.com/cilium/tetragon/pkg/k8s/apis/cilium.io/v1alpha1/types.go +++ b/vendor/github.com/cilium/tetragon/pkg/k8s/apis/cilium.io/v1alpha1/types.go @@ -51,7 +51,7 @@ type KProbeArg struct { // +kubebuilder:validation:Minimum=0 // Position of the argument. Index uint32 `json:"index"` - // +kubebuilder:validation:Enum=auto;int;uint32;int32;uint64;int64;char_buf;char_iovec;size_t;skb;sock;string;fd;file;filename;path;nop;bpf_attr;perf_event;bpf_map;user_namespace;capability;kiocb;iov_iter;cred;load_info;module; + // +kubebuilder:validation:Enum=auto;int;uint32;int32;uint64;int64;char_buf;char_iovec;size_t;skb;sock;string;fd;file;filename;path;nop;bpf_attr;perf_event;bpf_map;user_namespace;capability;kiocb;iov_iter;cred;load_info;module;syscall64; // +kubebuilder:default=auto // Argument type. Type string `json:"type"`