mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Removes outdated TODO.
PiperOrigin-RevId: 219151173 Change-Id: I73014ea648ae485692ea0d44860c87f4365055cb
This commit is contained in:
committed by
Shentubot
parent
b15a7267e1
commit
b42a2a3203
@@ -668,13 +668,6 @@ func (l *Loader) waitContainer(cid string, waitStatus *uint32) error {
|
||||
}
|
||||
|
||||
func (l *Loader) waitPID(tgid kernel.ThreadID, cid string, clearStatus bool, waitStatus *uint32) error {
|
||||
// TODO: Containers all currently share a PID namespace.
|
||||
// When per-container PID namespaces are supported, wait should use cid
|
||||
// to find the appropriate PID namespace.
|
||||
/*if cid != l.sandboxID {
|
||||
return errors.New("non-sandbox PID namespaces are not yet implemented")
|
||||
}*/
|
||||
|
||||
// If the process was started via runsc exec, it will have an
|
||||
// entry in l.processes.
|
||||
l.mu.Lock()
|
||||
|
||||
Reference in New Issue
Block a user