MCPcopy Create free account
hub / github.com/subtrace/subtrace / drainSafeMode

Method drainSafeMode

cmd/run/engine/engine.go:262–268  ·  view source on GitHub ↗
(ch chan *seccomp.Notif)

Source from the content-addressed store, hash-verified

260}
261
262func (e *Engine) drainSafeMode(ch chan *seccomp.Notif) {
263 for n := range ch {
264 if n != nil {
265 n.Skip()
266 }
267 }
268}
269
270func (e *Engine) handle(n *seccomp.Notif) {
271 handler := process.Handlers[n.Syscall]

Callers 1

panicGuardMethod · 0.95

Calls 1

SkipMethod · 0.80

Tested by

no test coverage detected