Skip to content

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

Merged
cyphar merged 1 commit into
opencontainers:masterfrom
giuseppe:allow-rootless-when-euid-0
Jun 15, 2018
Merged

runc: not require uid/gid mappings if euid()==0#1816
cyphar merged 1 commit into
opencontainers:masterfrom
giuseppe:allow-rootless-when-euid-0

Conversation

@giuseppe
Copy link
Copy Markdown
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
Copy Markdown
Member Author

/cc @cyphar @AkihiroSuda

@TomSweeneyRedHat
Copy link
Copy Markdown

@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
Copy Markdown
Member Author

@TomSweeneyRedHat yes thanks, fixed now

@TomSweeneyRedHat
Copy link
Copy Markdown

LGTM

@giuseppe
Copy link
Copy Markdown
Member Author

/cc @mrunalp

@mrunalp
Copy link
Copy Markdown
Contributor

mrunalp commented Jun 15, 2018

LGTM

Approved with PullApprove

@cyphar
Copy link
Copy Markdown
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