Skip to content
This repository has been archived by the owner on May 6, 2020. It is now read-only.

Capabilities: Limit the list of capabilities #170

Merged
merged 1 commit into from
Nov 17, 2017

Conversation

mcastelino
Copy link
Contributor

Limit the list of capabilities to the same subset as runc

Fixes clearcontainers/runtime#818

Signed-off-by: Manohar Castelino [email protected]

Limit the list of capabilities to the same subset as runc

Fixes clearcontainers/runtime#818

Signed-off-by: Manohar Castelino <[email protected]>
@sboeuf
Copy link
Contributor

sboeuf commented Nov 17, 2017

The code is fine, but I am wondering if that's what we want cause right now we don't have support for adding capabilities and I always thought that this change (your PR) should come along with the support of adding a list of capabilities from the config.json provided.
I am worried that with this change, some commands will not work anymore because we will ignore what they could provide/need as capabilities to be added.
@sameo what do you think about it ?

@mcastelino
Copy link
Contributor Author

mcastelino commented Nov 17, 2017

@sboeuf it should not change anything. We run unpriv containers. So we are actually providing CAPs that should not have been provided in the first place.

@sboeuf
Copy link
Contributor

sboeuf commented Nov 17, 2017

LGTM

Approved with PullApprove Approved with PullApprove

@sboeuf sboeuf merged commit 04fa186 into clearcontainers:master Nov 17, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants