We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 73273d2 commit 02804d8Copy full SHA for 02804d8
pkg/ebpf/tracee.go
@@ -1399,8 +1399,11 @@ func (t *Tracee) updateFileSHA() {
1399
1400
func (t *Tracee) invokeInitEvents() {
1401
if t.events[events.InitNamespaces].emit {
1402
- systemInfoEvent := events.InitNamespacesEvent()
1403
- t.config.ChanEvents <- systemInfoEvent
+ t.capabilities.Requested(func() error { // ring2
+ systemInfoEvent := events.InitNamespacesEvent()
1404
+ t.config.ChanEvents <- systemInfoEvent
1405
+ return nil
1406
+ }, cap.SYS_PTRACE)
1407
t.stats.EventCount.Increment()
1408
}
1409
if t.events[events.ExistingContainer].emit {
0 commit comments