summaryrefslogtreecommitdiffhomepage
path: root/runsc/container/BUILD
diff options
context:
space:
mode:
authorFabricio Voznika <fvoznika@google.com>2019-01-09 09:17:04 -0800
committerShentubot <shentubot@google.com>2019-01-09 09:18:15 -0800
commit0d7023d581612e1670ef36490a827e46968d6d08 (patch)
tree553a72196b31b749cb4bdf115d7ad64c1e17ec59 /runsc/container/BUILD
parentdd761c170cc2d44eee20757a6088f80a9322342c (diff)
Restore to original cgroup after sandbox and gofer processes are created
The original code assumed that it was safe to join and not restore cgroup, but Container.Run will not exit after calling start, making cgroup cleanup fail because there were still processes inside the cgroup. PiperOrigin-RevId: 228529199 Change-Id: I12a48d9adab4bbb02f20d71ec99598c336cbfe51
Diffstat (limited to 'runsc/container/BUILD')
-rw-r--r--runsc/container/BUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/runsc/container/BUILD b/runsc/container/BUILD
index 28ec81d3f..d9534cbcc 100644
--- a/runsc/container/BUILD
+++ b/runsc/container/BUILD
@@ -19,6 +19,7 @@ go_library(
"//pkg/log",
"//pkg/sentry/control",
"//runsc/boot",
+ "//runsc/cgroup",
"//runsc/sandbox",
"//runsc/specutils",
"@com_github_cenkalti_backoff//:go_default_library",