diff options
-rw-r--r-- | pkg/sentry/sighandling/sighandling.go | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/sentry/sighandling/sighandling.go b/pkg/sentry/sighandling/sighandling.go index b08588c11..0946ab075 100644 --- a/pkg/sentry/sighandling/sighandling.go +++ b/pkg/sentry/sighandling/sighandling.go @@ -87,9 +87,8 @@ func forwardSignals(k *kernel.Kernel, sigchans []chan os.Signal, start, stop, do // // Otherwise ignore the signal. // - // TODO: Convert Go's runtime.raise from - // tkill to tgkill so PrepareForwarding doesn't need to - // be called until after filter installation. + // TODO: Drop in Go 1.12, which uses tgkill + // in runtime.raise. switch signal { case linux.SIGHUP, linux.SIGINT, linux.SIGTERM: dieFromSignal(signal) |