1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/pkg/signal
Sebastiaan van Stijn 003e3c0551
pkg/signal: ignore SIGURG on all platforms
Other Unix platforms (e.g. Darwin) are also affected by the Go
runtime sending SIGURG.

This patch changes how we match the signal by just looking for the
"URG" name, which should handle any platform that has this signal
defined in the SignalMap.

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
(cherry picked from commit 05f520dd3c)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-05-25 21:42:21 +02:00
..
testfiles Add test coverage to signal/trap.go 2017-08-09 15:13:38 +05:00
README.md
signal.go pkg/signal: ignore SIGURG on all platforms 2021-05-25 21:42:21 +02:00
signal_darwin.go pkg/signal: ignore SIGURG on all platforms 2021-05-25 21:42:21 +02:00
signal_freebsd.go pkg/signal: ignore SIGURG on all platforms 2021-05-25 21:42:21 +02:00
signal_linux.go pkg/signal: ignore SIGURG on all platforms 2021-05-25 21:42:21 +02:00
signal_linux_mipsx.go pkg/signal: ignore SIGURG on all platforms 2021-05-25 21:42:21 +02:00
signal_linux_test.go pkg/signal.CatchAll: ignore SIGURG on Linux 2021-05-20 10:11:39 +02:00
signal_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00
signal_unix.go Add canonical import comment 2018-02-05 16:51:57 -05:00
signal_unsupported.go Add canonical import comment 2018-02-05 16:51:57 -05:00
signal_windows.go pkg/signal: ignore SIGURG on all platforms 2021-05-25 21:42:21 +02:00
trap.go pkg/signal: normalize comment formatting 2019-11-27 15:41:47 +01:00
trap_linux_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00

This package provides helper functions for dealing with signals across various operating systems