diff options
author | gVisor bot <gvisor-bot@google.com> | 2021-06-24 14:50:49 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-06-24 14:50:49 -0700 |
commit | fdf7c49030c11fae17c6f7bf99344c43654dd258 (patch) | |
tree | 9c7bdfe87f6488be37efa721978c0433f78f2ac4 /pkg/shim/proc/exec_state.go | |
parent | 7e0c1d9f1eae5620d38a6434c27442a350828876 (diff) | |
parent | b8430201f0046d78ee5ac6229718fa88c5246c96 (diff) |
Merge pull request #6228 from puppetlabs:fix-shim-pid-leaking-on-stopped-processes
PiperOrigin-RevId: 381341920
Diffstat (limited to 'pkg/shim/proc/exec_state.go')
-rw-r--r-- | pkg/shim/proc/exec_state.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/shim/proc/exec_state.go b/pkg/shim/proc/exec_state.go index 04a5d19b4..9c6edd3f5 100644 --- a/pkg/shim/proc/exec_state.go +++ b/pkg/shim/proc/exec_state.go @@ -151,8 +151,8 @@ func (s *execStoppedState) Delete(ctx context.Context) error { return nil } -func (s *execStoppedState) Kill(ctx context.Context, sig uint32, all bool) error { - return s.p.kill(ctx, sig, all) +func (s *execStoppedState) Kill(_ context.Context, sig uint32, _ bool) error { + return handleStoppedKill(sig) } func (s *execStoppedState) SetExited(int) { |