8000 runc: not require uid/gid mappings if euid()==0 by giuseppe · Pull Request #1816 · opencontainers/runc · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

runc: not require uid/gid mappings if euid()==0 #1816

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

Merged
merged 1 commit into from
Jun 15, 2018

Conversation

giuseppe
Copy link
Member

When running in a new unserNS as root, don't require a mapping to be
present in the configuration file. We are already skipping the test
for a new userns to be present.

Signed-off-by: Giuseppe Scrivano gscrivan@redhat.com

@giuseppe
Copy link
Member Author

/cc @cyphar @AkihiroSuda

@TomSweeneyRedHat
Copy link

@giuseppe looks like you need to hit the change up with gofmt.

When running in a new unserNS as root, don't require a mapping to be
present in the configuration file.  We are already skipping the test
for a new userns to be present.

Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
@giuseppe giuseppe force-pushed the allow-rootless-when-euid-0 branch from d73ff9a to cbcc85d Compare June 12, 2018 10:46
@giuseppe
Copy link
Member Author

@TomSweeneyRedHat yes thanks, fixed now

@TomSweeneyRedHat
Copy link

LGTM

@giuseppe
Copy link
Member Author

/cc @mrunalp

@mrunalp
Copy link
Contributor
mrunalp commented Jun 15, 2018

LGTM

Approved with PullApprove

@cyphar
Copy link
Member
cyphar commented Jun 15, 2018

LGTM.

Approved with PullApprove

@cyphar cyphar merged commit cbcc85d into opencontainers:master Jun 15, 2018
cyphar added a commit that referenced this pull request Jun 15, 2018
  runc: not require uid/gid mappings if euid()==0

LGTMs: @mrunalp @cyphar
Closes #1816
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.

5 participants
0