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
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
signal_unsupported.go
signal_windows.go pkg/signal: ignore SIGURG on all platforms 2021-05-25 21:42:21 +02:00
trap.go
trap_linux_test.go bump gotest.tools v3.0.1 for compatibility with Go 1.14 2020-02-11 00:06:42 +01:00

README.md

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