summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorKevin Krakauer <krakauer@google.com>2018-10-29 10:30:58 -0700
committerShentubot <shentubot@google.com>2018-10-29 10:31:56 -0700
commitb42a2a32038a8d9098d94c0435fe99e1e2b9a7f2 (patch)
tree0d5f779cfd0fe92cd5ac167a2ea7ad00ff28be02
parentb15a7267e1965148731e9d379ec33154f1bb54e6 (diff)
Removes outdated TODO.
PiperOrigin-RevId: 219151173 Change-Id: I73014ea648ae485692ea0d44860c87f4365055cb
-rw-r--r--runsc/boot/loader.go7
1 files changed, 0 insertions, 7 deletions
diff --git a/runsc/boot/loader.go b/runsc/boot/loader.go
index fa3de0133..abb347835 100644
--- a/runsc/boot/loader.go
+++ b/runsc/boot/loader.go
@@ -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()