mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Update cleanup TODO
PiperOrigin-RevId: 212068327 Change-Id: I3f360cdf7d6caa1c96fae68ae3a1caaf440f0cbe
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user