diff options
author | Michael Pratt <mpratt@google.com> | 2018-09-07 18:13:50 -0700 |
---|---|---|
committer | Shentubot <shentubot@google.com> | 2018-09-07 18:14:57 -0700 |
commit | 7045828a310d47a2940214f71ae75b8b7b682b78 (patch) | |
tree | 1215a923366c0dbaaf436ddd0d34fa127ca2545a /pkg/sentry/sighandling | |
parent | 922d8c3c8c7ecc1d893857425f8e850513ab682b (diff) |
Update cleanup TODO
PiperOrigin-RevId: 212068327
Change-Id: I3f360cdf7d6caa1c96fae68ae3a1caaf440f0cbe
Diffstat (limited to 'pkg/sentry/sighandling')
-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) |