-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
vendor: bump mountinfo to v0.4.0 #2657
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
kolyshkin
force-pushed
the
bump-mountinfo-0.4.0
branch
from
October 21, 2020 17:18
f2e7faa
to
703b7b4
Compare
done |
kolyshkin
force-pushed
the
bump-mountinfo-0.4.0
branch
from
October 22, 2020 04:38
2da404e
to
918b7b8
Compare
Took a liberty to make a minor change in the test case: - [[ ${lines[*]} == *"mount: permission denied"* ]]
+ [[ "$output" == *"mount: permission denied"* ]] |
@AkihiroSuda @mrunalp @cyphar PTAL |
Release notes: - https://github.com/moby/sys/releases/tag/mountinfo%2Fv0.4.0 In particular, this fixes a regression introduced in commit b8bf572 which checked the mountinfo.Root field in a FilterFunc, while Root was not set when calling a filter. Signed-off-by: Kir Kolyshkin <[email protected]>
For preventing regression like opencontainers#2647 Signed-off-by: Akihiro Suda <[email protected]> Signed-off-by: Aleksa Sarai <[email protected]> Signed-off-by: Kir Kolyshkin <[email protected]>
kolyshkin
force-pushed
the
bump-mountinfo-0.4.0
branch
from
October 22, 2020 04:43
918b7b8
to
f5c345c
Compare
AkihiroSuda
approved these changes
Oct 22, 2020
cyphar
approved these changes
Oct 22, 2020
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Release notes:
In particular, this fixes a regression introduced in commit b8bf572 (PR #2647)
which checked the
mountinfo.Root
field in aFilterFunc
, whileRoot
wasnot (yet) set when calling the filter.
Also add "runc run --no-pivot must not expose bare /proc" test by @AkihiroSuda
to prevent future regressions like this one.
Closes: #2655