-
Notifications
You must be signed in to change notification settings - Fork 2.3k
Comparing changes
Open a pull request
base repository: opencontainers/runc
base: v1.2.0
head repository: opencontainers/runc
compare: v1.2.1
- 18 commits
- 64 files changed
- 7 contributors
Commits on Oct 21, 2024
-
[1.2] VERSION: back to development
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Configuration menu - View commit details
-
Copy full SHA for 0ff6451 - Browse repository at this point
Copy the full SHA 0ff6451View commit details
Commits on Oct 26, 2024
-
libct/nsenter: become root after joining userns
Containerd pre-creates userns and netns before calling runc, which results in the current code not working when SELinux is enabled, resulting in the following error: > runc create failed: unable to start container process: error during container init: error mounting "mqueue" to rootfs at "/dev/mqueue": setxattr /path/to/rootfs/dev/mqueue: operation not permitted The solution is to become root in the user namespace right after we join it. Fixes #4466. Co-authored-by: Wei Fu <fuweid89@gmail.com> Co-authored-by: Kir Kolyshkin <kolyshkin@gmail.com> Co-authored-by: Aleksa Sarai <cyphar@cyphar.com> Signed-off-by: lifubang <lifubang@acmcoder.com> (cherry picked from commit c78f3f2) Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 1eb9ad3 - Browse repository at this point
Copy the full SHA 1eb9ad3View commit details -
test join other container userns with selinux enabled
Signed-off-by: lifubang <lifubang@acmcoder.com> (cherry picked from commit 34a9285) Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 74a5c78 - Browse repository at this point
Copy the full SHA 74a5c78View commit details -
Merge pull request #4477 from kolyshkin/1.2-userns
[1.2] libct/nsenter: become root after joining userns
Configuration menu - View commit details
-
Copy full SHA for 0e4ee02 - Browse repository at this point
Copy the full SHA 0e4ee02View commit details -
Since Go 1.19, the same functionality is there in os/exec package. As we require go 1.22 now, there's no need to have this. This basically reverts commit 9258eac ("libct/start: use execabs for newuidmap lookup"). Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> (cherry picked from commit eb2ff52) Signed-off-by: Austin Vazquez <macedonv@amazon.com>
Configuration menu - View commit details
-
Copy full SHA for f479676 - Browse repository at this point
Copy the full SHA f479676View commit details -
Merge pull request #4480 from austinvazquez/cherry-pick-eb2ff52ace177…
…5ad667ca900b2e57e7d698e3484-to-1.2 [1.2] libct: rm x/sys/execabs usage
Configuration menu - View commit details
-
Copy full SHA for 989d4e4 - Browse repository at this point
Copy the full SHA 989d4e4View commit details
Commits on Oct 29, 2024
-
drop runc-dmz solution according to overlay solution
Because we have the overlay solution, we can drop runc-dmz binary solution since it has too many limitations. Signed-off-by: lifubang <lifubang@acmcoder.com> (cherry picked from commit 871057d) Signed-off-by: lifubang <lifubang@acmcoder.com>
Configuration menu - View commit details
-
Copy full SHA for f07d92d - Browse repository at this point
Copy the full SHA f07d92dView commit details -
Merge pull request #4488 from lifubang/backport-4482
[1.2] drop runc-dmz solution according to overlay solution
Configuration menu - View commit details
-
Copy full SHA for a0918a5 - Browse repository at this point
Copy the full SHA a0918a5View commit details
Commits on Oct 30, 2024
-
CHANGELOG: add (forward-port) v1.1.15 changes
Those are taken from commit bc20cb4. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for bb71ad5 - Browse repository at this point
Copy the full SHA bb71ad5View commit details
Commits on Nov 1, 2024
-
Merge pull request #4493 from kolyshkin/12-4489
[1.2] CHANGELOG: add (forward-port) v1.1.15 changes
Configuration menu - View commit details
-
Copy full SHA for fe36d38 - Browse repository at this point
Copy the full SHA fe36d38View commit details -
libct/cg: improve ConvertMemorySwapToCgroupV2Value
Improve readability of ConvertMemorySwapToCgroupV2Value by switching from a bunch of if statements to a switch, and adding a comment describing each case. No functional change. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> (cherry picked from commit cb9f3d6) Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>
Configuration menu - View commit details
-
Copy full SHA for 914a8f3 - Browse repository at this point
Copy the full SHA 914a8f3View commit details -
runc update: fix updating swap for cgroup v2
This allows to do runc update $ID --memory=-1 --memory-swap=$VAL for cgroup v2, i.e. set memory to unlimited and swap to a specific value. This was not possible because ConvertMemorySwapToCgroupV2Value rejected memory=-1 ("unlimited"). In a hindsight, it was a mistake, because if memory limit is unlimited, we should treat memory+swap limit as just swap limit. Revise the unit test; add description to each case. Fixes: c86be8a ("cgroupv2: fix setting MemorySwap") Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> (cherry picked from commit 732806e) Signed-off-by: Akihiro Suda <akihiro.suda.cz@hco.ntt.co.jp>Configuration menu - View commit details
-
Copy full SHA for e0d3953 - Browse repository at this point
Copy the full SHA e0d3953View commit details -
script/check-config.sh: add OVERLAY_FS check
While this is used by the majority of upper container runtimes, it was not needed for runc itself. Since commit 515f09f runc uses overlay, too, so let's add a check for this. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> (cherry picked from commit ee1bced) Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for 47dfa20 - Browse repository at this point
Copy the full SHA 47dfa20View commit details -
There is a typo in the comment (ClonedBinary should be CloneBinary), and the code has changed a bit since then, and it makes more sense to refer to CloneSelfExe now. Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> (cherry picked from commit 8cc7375) Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
Configuration menu - View commit details
-
Copy full SHA for b798594 - Browse repository at this point
Copy the full SHA b798594View commit details -
Configuration menu - View commit details
-
Copy full SHA for 258cd8b - Browse repository at this point
Copy the full SHA 258cd8bView commit details -
Merge pull request #4501 from AkihiroSuda/cherrypick-4357
[1.2] runc update: fix updating swap for cgroup v2
Configuration menu - View commit details
-
Copy full SHA for 3016408 - Browse repository at this point
Copy the full SHA 3016408View commit details -
Merge pull request #4494 from kolyshkin/12-4490
[1.2] Post overlay addition and dmz removal nits
Configuration menu - View commit details
-
Copy full SHA for 360f8f9 - Browse repository at this point
Copy the full SHA 360f8f9View commit details -
Signed-off-by: Rodrigo Campos <rodrigoca@microsoft.com> Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
Configuration menu - View commit details
-
Copy full SHA for d7735e3 - Browse repository at this point
Copy the full SHA d7735e3View commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff v1.2.0...v1.2.1