add capability for tracer (#1496)

Co-authored-by: Alon Girmonsky <1990761+alongir@users.noreply.github.com>
This commit is contained in:
iluxa 2024-02-06 22:38:21 +01:00 committed by GitHub
parent 6785f024e4
commit 26e23dc94f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,8 @@ func CreateDefaultConfig() ConfigStruct {
"SYS_RESOURCE",
// CHECKPOINT_RESTORE is required to readlink /proc/PID/exe (kernel > 5.9)
"CHECKPOINT_RESTORE",
// IPC_LOCK is required for ebpf perf rings (kernel > )
"IPC_LOCK",
},
},
Auth: configStructs.AuthConfig{

View File

@ -105,6 +105,7 @@ tap:
- SYS_PTRACE
- SYS_RESOURCE
- CHECKPOINT_RESTORE
- IPC_LOCK
globalFilter: ""
metrics:
port: 49100