handleExitGroup handles the exit_group(2) syscall.
(n *seccomp.Notif, code int)
| 38 | |
| 39 | // handleExitGroup handles the exit_group(2) syscall. |
| 40 | func (p *Process) handleExitGroup(n *seccomp.Notif, code int) error { |
| 41 | slog.Debug("process thread group is exiting", "proc", p, "code", code) |
| 42 | if p.markAsExited() { |
| 43 | go p.cleanup() |
| 44 | } |
| 45 | return n.Skip() |
| 46 | } |
| 47 | |
| 48 | func (p *Process) handleExecve(n *seccomp.Notif, pathAddr uintptr, argvAddr uintptr, envpAddr uintptr) error { |
| 49 | // Invalidate the event template cache so that sockets created by the new |
no test coverage detected