moby--moby/pkg/signal
Sebastiaan van Stijn 05f520dd3c
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>
2021-05-25 12:07:53 +02:00
..
testfiles Add test coverage to signal/trap.go 2017-08-09 15:13:38 +05:00
README.md #11585: README for pkg/signal. Signed-off-by: Vladimir Roudakov <v_roudakov@yahoo.com> 2015-03-26 21:18:27 +10:00
signal.go pkg/signal: ignore SIGURG on all platforms 2021-05-25 12:07:53 +02:00
signal_darwin.go pkg/signal: ignore SIGURG on all platforms 2021-05-25 12:07:53 +02:00
signal_freebsd.go pkg/signal: ignore SIGURG on all platforms 2021-05-25 12:07:53 +02:00
signal_linux.go pkg/signal: ignore SIGURG on all platforms 2021-05-25 12:07:53 +02:00
signal_linux_mipsx.go pkg/signal: ignore SIGURG on all platforms 2021-05-25 12:07:53 +02:00
signal_linux_test.go pkg/signal.CatchAll: ignore SIGURG on Linux 2021-05-19 19:42:18 +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 12:07:53 +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

README.md

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