mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
b7ebf32ba3
Do not handle SIGURG on Linux, as in go1.14+, the go runtime issues SIGURG as an interrupt to support preemptable system calls on Linux. This issue was caught in TestCatchAll, which could fail when updating to Go 1.14 or above; === Failed === FAIL: pkg/signal TestCatchAll (0.01s) signal_linux_test.go:32: assertion failed: urgent I/O condition (string) != continued (string) signal_linux_test.go:32: assertion failed: continued (string) != hangup (string) signal_linux_test.go:32: assertion failed: hangup (string) != child exited (string) signal_linux_test.go:32: assertion failed: child exited (string) != illegal instruction (string) signal_linux_test.go:32: assertion failed: illegal instruction (string) != floating point exception (string) Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
testfiles | ||
README.md | ||
signal.go | ||
signal_darwin.go | ||
signal_freebsd.go | ||
signal_linux.go | ||
signal_linux_mipsx.go | ||
signal_linux_test.go | ||
signal_test.go | ||
signal_unix.go | ||
signal_unsupported.go | ||
signal_windows.go | ||
trap.go | ||
trap_linux_test.go |
This package provides helper functions for dealing with signals across various operating systems