Bump the oci-spec-rs to 0.6.1 to resolve seccomp rule issue #2029
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.
Fix #2022
The detail of the cause of the issue and why 0.6.1 fixes the issue are explained in #2022.
However, the 0.6.1 introduced the
time
namespace into the runtime spec. For this PR, we set thetime
namespace to be unsupported. Bothlibc
andnix
crate have not provided the support. We should ideally wait for the support to land in either of this crate first before we support it. As a result, there are a number of functions needs to propagate errors now. This is a good add because in the future I imagine we will run into similar situations when new namespaces is introduced.