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
README.md
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
signal_test.go
signal_unix.go
signal_unsupported.go
signal_windows.go pkg/signal: ignore SIGURG on all platforms 2021-05-25 12:07:53 +02:00
trap.go
trap_linux_test.go

README.md

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