summaryrefslogtreecommitdiffhomepage
path: root/pkg/sentry/kernel
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-01-24 20:14:38 +0000
committergVisor bot <gvisor-bot@google.com>2020-01-24 20:14:38 +0000
commit532ffa89369f5968805bfef47e626f11ebb61006 (patch)
tree5cf56299babe62d5d22d8b78a3e5f64ec495aebe /pkg/sentry/kernel
parentf71aec3e45a8f26e11f2dde4d0fd7d8ef3b0e4ec (diff)
parent390bb9c241c2b05c311579562d95cc39d899157b (diff)
Merge release-20200115.0-96-g390bb9c (automated)
Diffstat (limited to 'pkg/sentry/kernel')
-rw-r--r--pkg/sentry/kernel/signal.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/sentry/kernel/signal.go b/pkg/sentry/kernel/signal.go
index 02eede93d..e8cce37d0 100644
--- a/pkg/sentry/kernel/signal.go
+++ b/pkg/sentry/kernel/signal.go
@@ -38,6 +38,9 @@ const SignalPanic = linux.SIGUSR2
// Preconditions: Kernel must have an init process.
func (k *Kernel) sendExternalSignal(info *arch.SignalInfo, context string) {
switch linux.Signal(info.Signo) {
+ case linux.SIGURG:
+ // Sent by the Go 1.14+ runtime for asynchronous goroutine preemption.
+
case platform.SignalInterrupt:
// Assume that a call to platform.Context.Interrupt() misfired.