summaryrefslogtreecommitdiffhomepage
path: root/pkg
diff options
context:
space:
mode:
authorgVisor bot <gvisor-bot@google.com>2020-03-11 16:52:48 +0000
committergVisor bot <gvisor-bot@google.com>2020-03-11 16:52:48 +0000
commit30c6814d44a4c8bba7905bd1da1d9da3e5939bf1 (patch)
treea69b54d3a2bd795ee71fa31763808bc3d213379d /pkg
parentc0cc75eccc47faeaec8dc03c147850ddf637bf85 (diff)
parent2aa9514a06a5e34894e606d508ac2df53b082c74 (diff)
Merge release-20200219.0-138-g2aa9514 (automated)
Diffstat (limited to 'pkg')
-rw-r--r--pkg/sentry/sighandling/sighandling.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/sentry/sighandling/sighandling.go b/pkg/sentry/sighandling/sighandling.go
index ba1f9043d..959ef7217 100644
--- a/pkg/sentry/sighandling/sighandling.go
+++ b/pkg/sentry/sighandling/sighandling.go
@@ -83,6 +83,10 @@ func StartSignalForwarding(handler func(linux.Signal)) func() {
// for their handling.
var sigchans []chan os.Signal
for sig := 1; sig <= numSignals+1; sig++ {
+ // SIGURG is used by Go's runtime scheduler.
+ if sig == int(linux.SIGURG) {
+ continue
+ }
sigchan := make(chan os.Signal, 1)
sigchans = append(sigchans, sigchan)
signal.Notify(sigchan, syscall.Signal(sig))