-
Notifications
You must be signed in to change notification settings - Fork 2.2k
libcontainer: remove all mount logic from nsexec #3985
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
ba0b5e2
5ae88da
a04d88e
8e8b136
cdff09a
7795ca4
3b57e45
fa93c8b
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,9 @@ import ( | |
) | ||
|
||
func TestParseCgroups(t *testing.T) { | ||
// We don't need to use /proc/thread-self here because runc always runs | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I think we could remove these comments in this file and other files. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Yeah, though the unfortunate thing is that knowing whether to use thread-self or not is a little bit delicate and so the comments (while repetitive) are kind of important. |
||
// with every thread in the same cgroup. This lets us avoid having to do | ||
// runtime.LockOSThread. | ||
cgroups, err := ParseCgroupFile("/proc/self/cgroup") | ||
if err != nil { | ||
t.Fatal(err) | ||
|
Uh oh!
There was an error while loading. Please reload this page.