Skip to content

Conversation

@wking
Copy link
Contributor

@wking wking commented Feb 19, 2018

gocapability has supported 0 as “the current PID” since syndtr/gocapability#2. libcontainer was ported to that approach in 444cc29 (docker-archive/libcontainer#358), but the change was clobbered by 22df555 which landed via 5b73860 (docker-archive/libcontainer#388). This pull-request restores the changes from 444cc29.

@wking wking force-pushed the no-pid-for-capability-lookup branch from 853e095 to 50dc7ee Compare February 19, 2018 23:47
gocapability has supported 0 as "the current PID" since
syndtr/gocapability@5e7cce49 (Allow to use the zero value for pid to
operate with the current task, 2015-01-15, syndtr/gocapability#2).
libcontainer was ported to that approach in 444cc29 (namespaces:
allow to use pid namespace without mount namespace, 2015-01-27,
docker-archive/libcontainer#358), but the change was clobbered by 22df555
(Merge branch 'master' into api, 2015-02-19, docker-archive/libcontainer#388)
which landed via 5b73860 (Merge pull request opencontainers#388 from docker/api,
2015-02-19, docker-archive/libcontainer#388).  This commit restores the
changes from 444cc29.

Signed-off-by: W. Trevor King <[email protected]>
@cyphar
Copy link
Member

cyphar commented Feb 20, 2018

LGTM.

Approved with PullApprove

@crosbymichael
Copy link
Member

crosbymichael commented Feb 20, 2018

LGTM

Approved with PullApprove

@crosbymichael crosbymichael merged commit 6988afe into opencontainers:master Feb 20, 2018
@wking wking deleted the no-pid-for-capability-lookup branch February 23, 2018 05:39
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.

3 participants