moby--moby/libcontainerd
Brian Goff e55bead518 Fix error handling for kill/process not found
With the contianerd 1.0 migration we now have strongly typed errors that
we can check for process not found.
We also had some bad error checks looking for `ESRCH` which would only
be returned from `unix.Kill` and never from containerd even though we
were checking containerd responses for it.

Fixes some race conditions around process handling and our error checks
that could lead to errors that propagate up to the user that should not.

Signed-off-by: Brian Goff <cpuguy83@gmail.com>
2017-12-15 10:09:55 -05:00
..
client_daemon.go Fix error handling for kill/process not found 2017-12-15 10:09:55 -05:00
client_daemon_linux.go Update daemon code for containerd API changes 2017-11-30 09:55:03 -05:00
client_daemon_windows.go Update daemon code for containerd API changes 2017-11-30 09:55:03 -05:00
client_local_windows.go Windows: Fix width/height swap 2017-11-28 12:19:46 -08:00
errors.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
io.go Update daemon code for containerd API changes 2017-11-30 09:55:03 -05:00
io_unix.go Update daemon code for containerd API changes 2017-11-30 09:55:03 -05:00
io_windows.go Update daemon code for containerd API changes 2017-11-30 09:55:03 -05:00
process_windows.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
queue.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
queue_test.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
remote_daemon.go Fix typo in log-message 2017-12-11 10:59:51 -08:00
remote_daemon_linux.go Remove solaris build tag and `contrib/mkimage/solaris 2017-11-02 00:01:46 +00:00
remote_daemon_options.go Update containerd to v1 beta3 2017-11-10 15:44:10 -05:00
remote_daemon_options_linux.go Update daemon code for containerd API changes 2017-11-30 09:55:03 -05:00
remote_daemon_process.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
remote_daemon_process_linux.go Remove solaris build tag and `contrib/mkimage/solaris 2017-11-02 00:01:46 +00:00
remote_daemon_windows.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
remote_local.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
types.go Update daemon code for containerd API changes 2017-11-30 09:55:03 -05:00
types_linux.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
types_windows.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
utils_linux.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
utils_windows.go Update libcontainerd to use containerd 1.0 2017-10-20 07:11:37 -07:00
utils_windows_test.go Allow windows environment variables to contain `=` 2016-09-05 08:49:07 +10:00