Skip to content
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

Modify the capabilities constants to match header files like other constants #160

Merged
merged 2 commits into from
Sep 9, 2015

Conversation

mrunalp
Copy link
Contributor

@mrunalp mrunalp commented Sep 8, 2015

Signed-off-by: Mrunal Patel mrunalp@gmail.com

inside the container. Valid values are the string after `CAP_` for capabilities defined
in [the man page](http://man7.org/linux/man-pages/man7/capabilities.7.html)
Capabilities is an array that specifies Linux capabilities that can be provided to the process inside the container.
Valid values are the strings for capabilities defined in [the man page](http://man7.org/linux/man-pages/man7/capabilities.7.html)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe add (e.g. CAP_SYS_ADMIN), because those aren't strings in man.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I modified the example json.

@vbatts
Copy link
Member

vbatts commented Sep 8, 2015

LGTM

@wking
Copy link
Contributor

wking commented Sep 8, 2015 via email

@philips
Copy link
Contributor

philips commented Sep 9, 2015

to-may-to to-mah-to, is there a strong argument one way or the other?

…nstants

Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
@mrunalp
Copy link
Contributor Author

mrunalp commented Sep 9, 2015

@philips Thinking it might be better to explicit in these cases and just match the values defined in the header files at the expense of typing few more characters.

Rebased.

@vishh
Copy link
Contributor

vishh commented Sep 9, 2015

LGTM

@philips
Copy link
Contributor

philips commented Sep 9, 2015

lgtm

vbatts added a commit that referenced this pull request Sep 9, 2015
Modify the capabilities constants to match header files like other constants
@vbatts vbatts merged commit 9a8748c into opencontainers:master Sep 9, 2015
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.

6 participants