Change TODO bug to a more specific issue

This lets us close a tracking bug that's too widely-scoped to be reasonably
finished.

PiperOrigin-RevId: 378563203
This commit is contained in:
Kevin Krakauer
2021-06-09 20:38:05 -07:00
committed by gVisor bot
parent 0c37626a07
commit 8a7b5a4a81
+4 -4
View File
@@ -490,10 +490,10 @@ func (tg *ThreadGroup) SetForegroundProcessGroup(tty *TTY, pgid ProcessGroupID)
tg.signalHandlers.mu.Lock()
defer tg.signalHandlers.mu.Unlock()
// TODO(b/129283598): "If tcsetpgrp() is called by a member of a
// background process group in its session, and the calling process is
// not blocking or ignoring SIGTTOU, a SIGTTOU signal is sent to all
// members of this background process group."
// TODO(gvisor.dev/issue/6148): "If tcsetpgrp() is called by a member of a
// background process group in its session, and the calling process is not
// blocking or ignoring SIGTTOU, a SIGTTOU signal is sent to all members of
// this background process group."
// tty must be the controlling terminal.
if tg.tty != tty {