-
Notifications
You must be signed in to change notification settings - Fork 158
runtime-spec: bump to v1.3.0, fixup for backward incompatible linux PIDs limit type change . #795
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
runtime-spec: bump to v1.3.0, fixup for backward incompatible linux PIDs limit type change . #795
Conversation
1227392 to
cbbb466
Compare
|
ping @cyphar for guidance, since was the author of opencontainers/runtime-spec@869b2d5 |
cbbb466 to
4b5fec9
Compare
marquiz
left a comment
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.
One small nit, otherwise looks good to me.
kolyshkin
left a comment
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.
Let me bump golangci-lint in a separate PR, as it will be faster than commenting here.
|
golangci-lint bump is at #797, PTAL |
4b5fec9 to
58c534d
Compare
Bump runtime-spec to v1.3.0. Unfortunately there is a backward incompatible change there switching the Linux PID limit from int64 to *int64. Update generate/generate.go accordingly. Also, add a constant UnlimitedPidsLimit with the correct PID limit indicating "unlimited". Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
Signed-off-by: Krisztian Litkey <krisztian.litkey@intel.com>
35dc18d to
3c27840
Compare
|
@kolyshkin Rebased on latest master/HEAD. |
|
ping @opencontainers/runtime-tools-maintainers |
|
@cyphar @AkihiroSuda @giuseppe PTAL |
cyphar
left a comment
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, thanks!
|
If there's anything else that needs to be done, let's do this as a followup. |
This PR bumps our opencontainers runtime-spec dependency to the latest tagged v1.3.0.
Unfortunately v1.3.0 brings a backward incompatible change, switching the Linux PID limit from int64 to *int64. Make corresponding changes in generate/generate.go. Also, add an
UnlimitedPidsLimit = -1const to codify what is the correct Limit setting for unlimited PIDs.Note: This PR is stacked on #797, a separate PR to bump golangci-lint to v2 and fix existing linter issues.