-
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
[1.1] Fix set nofile rlimit error #4277
Merged
kolyshkin
merged 7 commits into
opencontainers:release-1.1
from
lifubang:backport-4265-nofilerlimit
May 20, 2024
Merged
[1.1] Fix set nofile rlimit error #4277
kolyshkin
merged 7 commits into
opencontainers:release-1.1
from
lifubang:backport-4265-nofilerlimit
May 20, 2024
Commits on May 16, 2024
-
Configuration menu - View commit details
-
Copy full SHA for debf52a - Browse repository at this point
Copy the full SHA debf52aView commit details -
Do not refer to the function which was removed. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> (cherry picked from commit bac5064) Signed-off-by: lifubang <lifubang@acmcoder.com>
Configuration menu - View commit details
-
Copy full SHA for fbddb71 - Browse repository at this point
Copy the full SHA fbddb71View commit details -
runc exec: setupRlimits after syscall.rlimit.init() completed
Issue: opencontainers#4195 Since https://go-review.googlesource.com/c/go/+/476097, there is a get/set race between runc exec and syscall.rlimit.init, so we need to call setupRlimits after syscall.rlimit.init() completed. Signed-off-by: lifubang <lifubang@acmcoder.com> (cherry picked from commit a853a82) Signed-off-by: lifubang <lifubang@acmcoder.com>
Configuration menu - View commit details
-
Copy full SHA for 83ecd11 - Browse repository at this point
Copy the full SHA 83ecd11View commit details
Commits on May 17, 2024
-
The complete generic features are supported since go 1.18 Signed-off-by: lfbzhm <lifubang@acmcoder.com>
Configuration menu - View commit details
-
Copy full SHA for 42c2ab2 - Browse repository at this point
Copy the full SHA 42c2ab2View commit details -
libct: clean cached rlimit nofile in go runtime
As reported in issue opencontainers#4195, the new version(since 1.19) of go runtime will cache rlimit-nofile. Before executing execve, the rlimit-nofile of the process will be restored with the cache. In runc, this will cause the rlimit-nofile set by the parent process for the container to become invalid. It can be solved by clearing the cache. Signed-off-by: ls-ggg <335814617@qq.com> (cherry picked from commit f9f8abf) Signed-off-by: lifubang <lifubang@acmcoder.com> (cherry picked from commit da68c8e) Signed-off-by: lifubang <lifubang@acmcoder.com>
Configuration menu - View commit details
-
Copy full SHA for d7a29a3 - Browse repository at this point
Copy the full SHA d7a29a3View commit details -
update/add some tests for rlimit
issues: opencontainers#4195 opencontainers#4265 (comment) Signed-off-by: lifubang <lifubang@acmcoder.com> (cherry picked from commit 4ea0bf8) Signed-off-by: lfbzhm <lifubang@acmcoder.com>
Configuration menu - View commit details
-
Copy full SHA for 2992049 - Browse repository at this point
Copy the full SHA 2992049View commit details -
fix comments for ClearRlimitNofileCache
Signed-off-by: lifubang <lifubang@acmcoder.com> (cherry picked from commit a35f7d8) Signed-off-by: lifubang <lifubang@acmcoder.com>
Configuration menu - View commit details
-
Copy full SHA for c918058 - Browse repository at this point
Copy the full SHA c918058View commit details
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.