Skip to content

libcontainer: cgroup namespaces enabled utility function#1976

Closed
rgulewich wants to merge 1 commit intoopencontainers:masterfrom
rgulewich:1975-cgroup-ns-util
Closed

libcontainer: cgroup namespaces enabled utility function#1976
rgulewich wants to merge 1 commit intoopencontainers:masterfrom
rgulewich:1975-cgroup-ns-util

Conversation

@rgulewich
Copy link

@rgulewich rgulewich commented Feb 8, 2019

Move code for checking if cgroup namespaces are enabled into a utility function that can be used in other projects.

Fixes #1975.

Move code for checking if cgroup namespaces are enabled into a utility
function that can be used in other projects.

Closes opencontainers#1975
Signed-off-by: Rob Gulewich <[email protected]>
@cyphar
Copy link
Member

cyphar commented Feb 9, 2019

I'm not a huge fan of this idea personally -- it's an incredibly trivial check and I don't see the benefit of making it a utility function.

@rgulewich
Copy link
Author

moby/moby#38377 was merged without this: closing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add utility function for checking if cgroup namespaces are enabled

3 participants