Skip to content

Commit

Permalink
Add dentry example TracingPolicy
Browse files Browse the repository at this point in the history
Signed-off-by: David Windsor <[email protected]>
  • Loading branch information
dwindsor committed Jul 18, 2024
1 parent 876dd42 commit 5eafdfd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions examples/tracingpolicy/security_inode_follow_link.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
apiVersion: cilium.io/v1alpha1
kind: TracingPolicy
metadata:
name: "follow-symlink"
spec:
kprobes:
- call: "security_inode_follow_link"
syscall: false
args:
- index: 0
type: "dentry"
returnArg:
index: 0
type: "int"

0 comments on commit 5eafdfd

Please sign in to comment.