Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
537 commits
Select commit Hold shift + click to select a range
13674f4
libct/intelrdt: delete IsMBAScEnabled()
corhere Jul 26, 2022
9f10748
libct/intelrdt: skip reading /proc/cpuinfo
corhere Jul 26, 2022
c156bde
libct/intelrdt: elide parsing mountinfo
corhere Jul 26, 2022
56daf36
libct/intelrdt: skip remove unless configured
corhere Jul 26, 2022
ea0bd78
libct/intelrdt: check if available iff configured
corhere Jul 26, 2022
3a5294f
Merge pull request #3485 from corhere/3181-rdt-init-without-cpuinfo
kolyshkin Jul 28, 2022
d11f4d7
Merge pull request #3390 from kinvolk/alban_log
AkihiroSuda Jul 29, 2022
6d00bf6
build(deps): bump github.com/sirupsen/logrus from 1.8.1 to 1.9.0
dependabot[bot] Jul 29, 2022
f835196
Merge pull request #3531 from opencontainers/dependabot/go_modules/gi…
kolyshkin Jul 29, 2022
450dd3e
build(deps): bump google.golang.org/protobuf from 1.28.0 to 1.28.1
dependabot[bot] Jul 29, 2022
bd69483
merge branch 'pr-3522'
cyphar Aug 2, 2022
2a14cec
Merge pull request #3543 from opencontainers/dependabot/go_modules/go…
AkihiroSuda Aug 4, 2022
7e54290
Merge pull request #3530 from opencontainers/dependabot/go_modules/gi…
kolyshkin Aug 4, 2022
589a9d5
ci/gha: fix cross-386 job vs go 1.19
kolyshkin Aug 11, 2022
480e129
Merge pull request #3556 from kolyshkin/go119-fix-386
AkihiroSuda Aug 13, 2022
bf8d7c7
build(deps): bump actions/cache from 3.0.5 to 3.0.7
dependabot[bot] Aug 13, 2022
45cc290
libct: fixes for godoc 1.19
kolyshkin Aug 3, 2022
0f4bf2c
ci/gha: bump golangci-lint to 1.48
kolyshkin Aug 3, 2022
b7dcdce
Add go 1.19, require go 1.18, drop go 1.17
kolyshkin Jun 16, 2022
4ada984
Merge pull request #3557 from opencontainers/dependabot/github_action…
kolyshkin Aug 16, 2022
7b6f515
Merge pull request #3514 from kolyshkin/go119
thaJeztah Aug 16, 2022
df9e32b
ci: fix for codespell 2.2
kolyshkin Aug 17, 2022
a98ad5e
Merge pull request #3561 from kolyshkin/ci-codespell-2.2
AkihiroSuda Aug 18, 2022
58b1374
Fix failed exec after systemctl daemon-reload
kolyshkin Aug 11, 2022
4a51b04
Merge pull request #3559 from kolyshkin/fix-dev-pts
kolyshkin Aug 18, 2022
8206f5b
build(deps): bump actions/cache from 3.0.7 to 3.0.8
dependabot[bot] Aug 23, 2022
c7dc8b1
libct/seccomp/patchbpf: support SPEC_ALLOW
kolyshkin Aug 29, 2022
26dc55e
seccomp: fix flag test to actually check the value
kolyshkin Aug 30, 2022
4504198
build(deps): bump github.com/docker/go-units from 0.4.0 to 0.5.0
dependabot[bot] Sep 1, 2022
5808663
Merge pull request #3585 from opencontainers/dependabot/go_modules/gi…
kolyshkin Sep 2, 2022
bc13e33
Merge pull request #3566 from opencontainers/dependabot/github_action…
kolyshkin Sep 2, 2022
746f458
deps: bump go-criu to v6
snprajwal Sep 1, 2022
29a2884
Add check for CONFIG_CGROUP_BPF in check-config.sh
dharmicksai Sep 8, 2022
2e8b7a1
Merge pull request #3586 from snprajwal/go-criu/v6
kolyshkin Sep 10, 2022
91c0a7a
Merge pull request #3580 from kolyshkin/fix-seccomp-ssb
Sep 13, 2022
e965e10
tests/int: do not set inheritable capabilities
kolyshkin Sep 15, 2022
6fce0a1
build(deps): bump github.com/checkpoint-restore/go-criu/v6
dependabot[bot] Sep 19, 2022
4ff59f8
Merge pull request #3607 from opencontainers/dependabot/go_modules/gi…
kolyshkin Sep 21, 2022
0ffb49d
tests/int: suppress bogus error
kolyshkin Sep 23, 2022
4e65118
tests/int/helpers: gawk -> awk
kolyshkin Sep 23, 2022
491713e
cirrus-ci: enable EPEL for CentOS 7
kolyshkin Sep 28, 2022
a92bcd7
Merge pull request #3614 from kolyshkin/fix-centos-7-ci
Sep 28, 2022
7189ba8
build(deps): bump github.com/coreos/go-systemd/v22 from 22.3.2 to 22.4.0
dependabot[bot] Sep 28, 2022
1c3b8db
Merge pull request #3606 from opencontainers/dependabot/go_modules/gi…
thaJeztah Sep 28, 2022
da9126f
build(deps): bump github.com/opencontainers/selinux
dependabot[bot] Sep 29, 2022
79a5c11
build(deps): bump actions/cache from 3.0.8 to 3.0.9
dependabot[bot] Oct 3, 2022
1be5d45
build(deps): bump github.com/cilium/ebpf from 0.9.1 to 0.9.3
dependabot[bot] Oct 3, 2022
fa0f7f5
Merge pull request #3622 from opencontainers/dependabot/go_modules/gi…
thaJeztah Oct 3, 2022
967552c
Merge pull request #3621 from opencontainers/dependabot/github_action…
kolyshkin Oct 3, 2022
535b8b7
Merge pull request #3619 from opencontainers/dependabot/go_modules/gi…
AkihiroSuda Oct 4, 2022
8584900
build(deps): bump actions/cache from 3.0.9 to 3.0.10
dependabot[bot] Oct 4, 2022
1102f3f
Merge pull request #3624 from opencontainers/dependabot/github_action…
kolyshkin Oct 5, 2022
ae53cde
cirrus-ci: install EPEL on CentOS 7 conditionally
kolyshkin Oct 6, 2022
d811a71
Merge pull request #3628 from kolyshkin/fix-centos-7-ci-again
thaJeztah Oct 7, 2022
04389ae
libcontainer/cgroups: return concrete types
thaJeztah Oct 6, 2022
fa47a92
Merge pull request #3565 from dharmicksai/3547
thaJeztah Oct 7, 2022
526d3b3
Merge pull request #3603 from kolyshkin/drop-inh
AkihiroSuda Oct 7, 2022
462e719
Fixes inability to use /dev/null when inside a container
evanphx Oct 3, 2022
56b01e7
merge branch 'pr-3623'
cyphar Oct 12, 2022
77cae9a
cgroups: cpuset: fix byte order while parsing cpuset range to bits
yukariatlas Sep 26, 2022
4a8750d
tests/int: add a "update cpuset cpus range via v2 unified map" test
yukariatlas Oct 3, 2022
a187c84
Merge pull request #3626 from thaJeztah/more_idiomatic
Oct 13, 2022
70e3b75
Merge pull request #3611 from yukariatlas/main
Oct 13, 2022
a04363c
build(deps): bump actions/cache from 3.0.10 to 3.0.11
dependabot[bot] Oct 14, 2022
6d1e1ee
Merge pull request #3634 from opencontainers/dependabot/github_action…
kolyshkin Oct 17, 2022
6bf2c3b
ci/gha: use v3 tag for actions/cache
kolyshkin Oct 17, 2022
65840f6
tests/int/seccomp: fix flags test on ARM
kolyshkin Oct 26, 2022
d61b451
Merge pull request #3650 from kolyshkin/fix-seccomp-test-on-arm
kolyshkin Oct 27, 2022
3049057
Merge branch 'main' into gha-v
hqhq Oct 28, 2022
6e2b46e
Merge pull request #3636 from kolyshkin/gha-v
thaJeztah Oct 28, 2022
b265d12
libct/seccomp: enable binary tree optimization
kolyshkin Mar 8, 2022
fdc4d67
Merge pull request #3405 from kolyshkin/seccomp-bintree
kolyshkin Nov 1, 2022
fbce47a
deps: bump github.com/checkpoint-restore/go-criu to 6.3.0
rst0git Nov 1, 2022
c393d16
Merge pull request #3652 from rst0git/deps-go-criu
kolyshkin Nov 2, 2022
2cd05e4
libct/seccomp/patchbpf: rm duplicated code
kolyshkin Oct 15, 2022
df2043a
merge 'refs/pull/3635/head' of github.com:opencontainers/runc
cyphar Nov 2, 2022
18f8f48
Fix comment of signalAllProcesses for process wait due to sigkill
godsarmy Sep 26, 2022
8da0a0b
Merge pull request #3631 from godsarmy/3612-sigkill_comment
kolyshkin Nov 2, 2022
56edc41
ci: bump shfmt to 3.5.1, simplify CI setup
kolyshkin Mar 23, 2022
b34a547
Merge pull request #3379 from kolyshkin/bump-shfmt
kolyshkin Nov 2, 2022
6462e9d
runc update: implement memory.checkBeforeUpdate
kolyshkin Aug 29, 2022
2a8e5d3
Merge pull request #3579 from kolyshkin/v2-low-mem
kolyshkin Nov 3, 2022
79aedac
go.mod: golang.org/x/*: use tagged versions
AkihiroSuda Nov 3, 2022
783f9ff
runc checkpoint: destroy only on success
kolyshkin Nov 3, 2022
e0d3c3e
build(deps): bump github.com/coreos/go-systemd/v22 from 22.4.0 to 22.5.0
dependabot[bot] Nov 8, 2022
0b02443
Merge pull request #3656 from opencontainers/dependabot/go_modules/gi…
kolyshkin Nov 8, 2022
627e815
Merge pull request #3654 from AkihiroSuda/go-mod-sys-v0.1.0
thaJeztah Nov 8, 2022
467dd23
build(deps): bump golang.org/x/sys from 0.1.0 to 0.2.0
dependabot[bot] Nov 9, 2022
f264cf9
Merge pull request #3657 from opencontainers/dependabot/go_modules/go…
AkihiroSuda Nov 10, 2022
9f38379
build(deps): bump golang.org/x/net from 0.1.0 to 0.2.0
dependabot[bot] Nov 10, 2022
313723f
fix libcontainer example
yzxiu Nov 11, 2022
ee88b90
notify_socket.go: avoid use of bytes.Buffer
Dec 9, 2021
067ca8f
notify_socket.go: use sd_notify_barrier mechanism
Nov 22, 2021
9fc707e
Fixed init state error variable
vipulnewaskar7 Nov 13, 2022
23389fc
Merge pull request #3658 from opencontainers/dependabot/go_modules/go…
AkihiroSuda Nov 16, 2022
8e9128f
Vagrantfile.fedora: upgrade Fedora to 37
AkihiroSuda Nov 18, 2022
c1045cc
Merge pull request #3662 from vipulnewaskar7/3659-wrong-error-variabl…
mrunalp Nov 22, 2022
25c9e88
Merge pull request #3655 from kolyshkin/cpt-destroy-on-err
mrunalp Nov 22, 2022
2da0194
Merge pull request #3670 from AkihiroSuda/fedora-37
kolyshkin Nov 30, 2022
ab84808
types/features: fix docstrings
kolyshkin Sep 1, 2022
076745a
runc features: add seccomp filter flags
kolyshkin Sep 2, 2022
ac04154
seccomp: set SPEC_ALLOW by default
kolyshkin Aug 30, 2022
19a9d9f
tests/int: use runc features in seccomp flags test
kolyshkin Sep 28, 2022
4f2af60
build(deps): bump golang.org/x/net from 0.2.0 to 0.4.0
dependabot[bot] Dec 8, 2022
0b21e02
Merge pull request #3681 from opencontainers/dependabot/go_modules/go…
kolyshkin Dec 8, 2022
e7461c8
Merge pull request #3291 from indyjo/fix/sd-notify-barrier
kolyshkin Dec 8, 2022
ff3b4f3
restore: fix ignoring --manage-cgroups-mode
kolyshkin Aug 1, 2022
212d25e
checkpoint/restore: add --manage-cgroups-mode ignore
kolyshkin Aug 1, 2022
3438ef3
restore: fix --manage-cgroups-mode ignore on cgroup v2
kolyshkin Aug 1, 2022
e8cf878
libct/criuApplyCgroups: add a TODO
kolyshkin Aug 1, 2022
d4582ae
tests/int: add "--manage-cgroups-mode ignore" test
kolyshkin Aug 2, 2022
6835287
man/runc-restore: describe restore into different cgroup
kolyshkin Aug 4, 2022
c4aa452
tests/int/checkpoint: fix lazy migration flakiness
kolyshkin Aug 4, 2022
15677e7
ci: fix delete.bats for GHA
kolyshkin Jul 26, 2022
b44da4c
libct: validateID: stop using regexp
kolyshkin Apr 14, 2022
0ac9880
libct/cg/sd: stop using regex, fix systemdVersionAtoi
kolyshkin Apr 14, 2022
7c14308
Merge pull request #3542 from kolyshkin/ci-fix-vs-azsec
hqhq Dec 16, 2022
dfd1aef
Merge pull request #3660 from yzxiu/fix-example
AkihiroSuda Dec 24, 2022
eacada7
build(deps): bump golang.org/x/net from 0.4.0 to 0.5.0
dependabot[bot] Jan 5, 2023
da548c1
Merge pull request #3693 from opencontainers/dependabot/go_modules/go…
AkihiroSuda Jan 10, 2023
6676f98
tests/integration/get-images.sh: fix busybox.tar.xz URL
AkihiroSuda Jan 11, 2023
3c12cbd
Merge pull request #3700 from AkihiroSuda/fix-3699
kolyshkin Jan 17, 2023
cc63d07
build(deps): bump github.com/cilium/ebpf from 0.9.3 to 0.10.0
dependabot[bot] Jan 17, 2023
e29e57b
libcontainer: configs: ensure can build on darwin
egernst Jan 11, 2023
ba994dc
Merge pull request #3697 from egernst/fixup-configs
AkihiroSuda Jan 19, 2023
a2f27f0
Merge pull request #3588 from kolyshkin/seccomp-flags-rework
AkihiroSuda Jan 20, 2023
947a616
Merge pull request #3703 from opencontainers/dependabot/go_modules/gi…
kolyshkin Jan 23, 2023
6d28928
Explicitly pin busybox and debian downloads
tianon Jan 12, 2023
3fbc5ba
ci: add tests/int/get-images.sh check
kolyshkin Jan 25, 2023
a1c51c5
Merge pull request #3701 from tianon/pin-busybox-debian
AkihiroSuda Jan 25, 2023
0147921
Merge pull request #3546 from kolyshkin/criu-add-ignore-cgroup
mrunalp Jan 27, 2023
5ce511d
nsexec: Check for errors in write_log()
rata Jan 27, 2023
8c5d3f0
Merge pull request #3712 from kinvolk/rata/nsexec-fixes
AkihiroSuda Jan 31, 2023
81c379f
support SCHED_IDLE for runc cgroupfs
wineway May 12, 2022
32d7413
Merge pull request #3377 from wineway/main
kolyshkin Feb 1, 2023
81ca678
Disable clang-format
kolyshkin Feb 2, 2023
5ecd40b
Add Go 1.20, require Go 1.19, drop Go 1.18
austinvazquez Feb 2, 2023
7e5e017
libcontainer: skip chown of /dev/null caused by fd redirection
Dzejrou Jan 20, 2023
1bb6209
tests/int: test for /dev/null owner regression
kolyshkin Feb 2, 2023
df47453
Merge pull request #3460 from kolyshkin/no-regexp
thaJeztah Feb 6, 2023
14e3ce9
build(deps): bump golang.org/x/sys from 0.4.0 to 0.5.0
dependabot[bot] Feb 7, 2023
70df83f
Merge pull request #3719 from kolyshkin/no-clang-format
thaJeztah Feb 7, 2023
f8e2629
Merge pull request #3707 from Dzejrou/main
thaJeztah Feb 7, 2023
dee9f5f
Merge pull request #3725 from opencontainers/dependabot/go_modules/go…
AkihiroSuda Feb 8, 2023
99968fc
Merge pull request #3718 from austinvazquez/upgrade-go-compiler
kolyshkin Feb 9, 2023
42dffaa
Dockerfile: fix build wrt new git
kolyshkin Feb 9, 2023
ca39878
Merge pull request #3730 from kolyshkin/fix-build
thaJeztah Feb 9, 2023
0e1346f
build(deps): bump golang.org/x/net from 0.5.0 to 0.6.0
dependabot[bot] Feb 9, 2023
bc8d6e3
build(deps): bump github.com/opencontainers/selinux
dependabot[bot] Feb 10, 2023
fbfc6af
tests: add tests for capabilities
chuanchangjia Aug 25, 2022
aa21df9
Merge pull request #3732 from opencontainers/dependabot/go_modules/gi…
kolyshkin Feb 10, 2023
5c2a1a0
Merge pull request #3733 from opencontainers/dependabot/go_modules/go…
kolyshkin Feb 10, 2023
787fcf0
go.mod: github.com/opencontainers/runtime-spec v1.1.0-rc.1
AkihiroSuda Feb 1, 2023
e412b4e
docs: add docs/spec-conformance.md
AkihiroSuda Feb 1, 2023
2ca3d23
nsexec: Add debug logs to send mount sources
rata Feb 9, 2023
4d0a60c
tests: Fix weird error on centos-9
rata Feb 10, 2023
2adeb6f
nsexec: Remove bogus kill to stage_2_pid
rata Feb 6, 2023
92a4ccb
specconv: avoid mapping "acl" to MS_POSIXACL
AkihiroSuda Feb 10, 2023
514ea70
Merge pull request #3740 from kinvolk/rata/fix-basename-test
AkihiroSuda Feb 11, 2023
b199fb2
Merge pull request #3573 from chuanchang/add_tests_for_capabilities
kolyshkin Feb 14, 2023
2e44a20
Makefile: fix typo in LDFLAGS_STATIC
crazy-max Feb 14, 2023
4e3699c
Merge pull request #3746 from crazy-max/fix-static-pie
AkihiroSuda Feb 15, 2023
b3b0bde
build(deps): bump golang.org/x/net from 0.6.0 to 0.7.0
dependabot[bot] Feb 15, 2023
537645f
Merge pull request #3747 from opencontainers/dependabot/go_modules/go…
kolyshkin Feb 16, 2023
97ea125
Fix runc crushes when parsing invalid JSON
AITsygunka Feb 7, 2023
7d4fde2
Merge pull request #3716 from AkihiroSuda/spec-v1.1.0-rc.1
AkihiroSuda Feb 22, 2023
71f8b2a
Merge pull request #3734 from kinvolk/rata/nsexec-add-debug-log
AkihiroSuda Feb 22, 2023
5a0642d
Merge pull request #3728 from AITsygunka/3727-bug-fix
kolyshkin Feb 22, 2023
7c75e84
libc/int: add/use runContainerOk wrapper
kolyshkin Feb 10, 2023
be7e039
libct/int: wording nits
kolyshkin Feb 10, 2023
f2e71b0
libct/int: make TestFdLeaks more robust
kolyshkin Feb 10, 2023
7b4c3fc
Add support for umask when exec container
Wang-squirrel Nov 11, 2022
58c192a
Merge pull request #3661 from Wang-squirrel/dev1
kolyshkin Feb 28, 2023
69225fa
Merge pull request #3724 from kinvolk/rata/nsexec-fixes
kolyshkin Mar 1, 2023
6faef16
build(deps): bump golang.org/x/net from 0.7.0 to 0.8.0
dependabot[bot] Mar 6, 2023
6d0261c
Merge pull request #3757 from opencontainers/dependabot/go_modules/go…
kolyshkin Mar 7, 2023
6b41f8e
build(deps): bump google.golang.org/protobuf from 1.28.1 to 1.29.0
dependabot[bot] Mar 9, 2023
7d940bd
Add `.github/ISSUE_TEMPLATE/config.yml`
AkihiroSuda Mar 9, 2023
4ec7b90
Merge pull request #3764 from opencontainers/dependabot/go_modules/go…
kolyshkin Mar 9, 2023
d5be3e2
Merge pull request #3766 from AkihiroSuda/issue-template
AkihiroSuda Mar 10, 2023
afeffb7
.github/ISSUE_TEMPLATE/config.yml: fix contact links
AkihiroSuda Mar 10, 2023
df4eae4
rootless: fix /sys/fs/cgroup mounts
AkihiroSuda Dec 26, 2022
a7046b8
build(deps): bump google.golang.org/protobuf from 1.29.0 to 1.29.1
dependabot[bot] Mar 15, 2023
b3a68fe
Merge pull request #3769 from opencontainers/dependabot/go_modules/go…
AkihiroSuda Mar 16, 2023
e3cf217
build(deps): bump actions/setup-go from 3 to 4
dependabot[bot] Mar 16, 2023
784f583
Merge pull request #3771 from opencontainers/dependabot/github_action…
kolyshkin Mar 16, 2023
206008a
Merge pull request #3767 from AkihiroSuda/fix-issue-template-config
kolyshkin Mar 16, 2023
cecb039
nsexec: retry unshare on EINVAL
kolyshkin Mar 16, 2023
8f0d0c4
build(deps): bump google.golang.org/protobuf from 1.29.1 to 1.30.0
dependabot[bot] Mar 17, 2023
c6624e6
Merge pull request #3772 from kolyshkin/retry-unshare
kolyshkin Mar 17, 2023
0d72adf
Prohibit /proc and /sys to be symlinks
kolyshkin Mar 16, 2023
f08b4a9
Merge pull request #3775 from opencontainers/dependabot/go_modules/go…
AkihiroSuda Mar 18, 2023
e67dc39
Merge pull request #3739 from AkihiroSuda/fix-acl
kolyshkin Mar 20, 2023
efad7a3
Merge pull request #3735 from kolyshkin/int-fix-flake
AkihiroSuda Mar 20, 2023
9d45ae8
tests: Fix fuzzer location in oss-fuzz config
fish98 Mar 22, 2023
65df6b9
fix wrong notes for `const MaxNameLen`
Mar 23, 2023
a7a836e
libct/cg/dev: skip flaky test of CentOS 7
kolyshkin Mar 22, 2023
948ef27
Merge pull request #3773 from kolyshkin/no-symlinks
AkihiroSuda Mar 25, 2023
da5047c
Merge pull request #3781 from yanggangtony/fix-typo
AkihiroSuda Mar 25, 2023
54e2021
libctr/cgroups: don't take init's cgroup into account
haircommander Mar 24, 2023
da98076
mountToRootfs: minor refactor
kolyshkin Mar 27, 2023
3e3db28
Merge pull request #3778 from kolyshkin/skip-flaky-ce7
kolyshkin Mar 27, 2023
99a337f
Dockefile: bump go go 1.20
kolyshkin Mar 8, 2023
8491d33
Fix runc run "permission denied" when rootless
kolyshkin Feb 27, 2023
8293ef2
tests/int: test for CAP_DAC_OVERRIDE
kolyshkin Feb 14, 2023
2b221a6
Merge pull request #3787 from kolyshkin/rec-fixup
AkihiroSuda Mar 28, 2023
7f3f4be
Merge pull request #3753 from kolyshkin/user-exec
AkihiroSuda Mar 28, 2023
0d62b95
Merge pull request from GHSA-m8cg-xc2p-r3fc
hqhq Mar 29, 2023
a37109c
tests/int/mount: fix issues with ro cgroup test
kolyshkin Mar 30, 2023
370e3be
tests/int/mounts: only check non-shadowed mounts
kolyshkin Mar 30, 2023
8edf478
Merge pull request #3798 from kolyshkin/fix-mount-test
kolyshkin Mar 31, 2023
b2fc0a5
verify-changelog: allow non-ASCII
kolyshkin Mar 30, 2023
4ff4904
Makefile: add verify-changelog as release dependency
kolyshkin Mar 29, 2023
73acc77
libct/cg: rm EnterPid
kolyshkin Mar 29, 2023
9f32ce6
CHANGELOG: forward-port 1.1.4 and 1.1.5 changes
kolyshkin Mar 31, 2023
c6e8cb7
libct/cg/sd: refactor startUnit
kolyshkin Mar 23, 2023
c253342
libct/cg/sd: ignore UnitExists only for Apply(-1)
kolyshkin Mar 23, 2023
1d18743
libct/cg/sd: reset-failed and retry startUnit on UnitExists
kolyshkin Mar 23, 2023
82bc89c
runc run: refuse a non-empty cgroup
kolyshkin Mar 23, 2023
ba61870
Merge pull request #3797 from kolyshkin/enter-pid
kolyshkin Mar 31, 2023
17922e3
Merge pull request #3800 from kolyshkin/fp-ch
AkihiroSuda Apr 3, 2023
9f24513
Merge pull request #3782 from kolyshkin/fix-sd-start
kolyshkin Apr 3, 2023
509b312
libct/cg/sd/v2: unifiedResToSystemdProps nit
kolyshkin Mar 28, 2023
3ffbd4c
tests/int: fix update cpu.idle failure on CS9
kolyshkin Mar 27, 2023
b5ecad7
tests/int/update: test bad cpu.idle values
kolyshkin Mar 28, 2023
ed9651b
libct/cg/sd: support setting cpu.idle via systemd
kolyshkin Mar 27, 2023
7ba53a1
Merge pull request #3788 from kolyshkin/systemd-cpu-idle
mrunalp Apr 4, 2023
cc60a39
Merge pull request #3784 from haircommander/root-cgroup-no-init
kolyshkin Apr 4, 2023
1034cfa
build(deps): bump lumaxis/shellcheck-problem-matchers from 1 to 2
dependabot[bot] Apr 4, 2023
fd5debf
libct/cg: rm GetInitCgroup[Path]
kolyshkin Apr 4, 2023
0cab3b3
Merge pull request #3779 from fish98/main
AkihiroSuda Apr 4, 2023
1b4cf1d
Merge pull request #3809 from opencontainers/dependabot/github_action…
AkihiroSuda Apr 4, 2023
67b542b
Merge pull request #3810 from kolyshkin/rm-get-init-cgroup-path
AkihiroSuda Apr 5, 2023
a6e95c5
build(deps): bump golang.org/x/sys from 0.6.0 to 0.7.0
dependabot[bot] Apr 5, 2023
5726682
Merge pull request #3813 from opencontainers/dependabot/go_modules/go…
thaJeztah Apr 5, 2023
9dbb9f9
ci: bump bats 1.3.0 -> 1.8.2
kolyshkin Apr 5, 2023
9b71787
tests/int: fix some checks
kolyshkin Apr 5, 2023
611bbac
libct/cg: add misc controller to v1 drivers
kolyshkin Apr 5, 2023
873d7bb
ci/cirrus: use Go 1.19.x not 1.19
kolyshkin Apr 5, 2023
fd1a79f
ci/cirrus: improve host_info
kolyshkin Apr 5, 2023
941e592
Merge pull request #3814 from kolyshkin/go-1.19-minor
mrunalp Apr 6, 2023
439673d
build(deps): bump golang.org/x/net from 0.8.0 to 0.9.0
dependabot[bot] Apr 7, 2023
1789002
Merge pull request #3819 from opencontainers/dependabot/go_modules/go…
kolyshkin Apr 7, 2023
d8a3daa
Merge pull request #3815 from kolyshkin/bump-bats
mrunalp Apr 8, 2023
953e1cc
ci/gha: switch to or add ubuntu 22.04
kolyshkin Apr 7, 2023
e42c219
Merge pull request #3820 from kolyshkin/ubu-22.04
kolyshkin Apr 11, 2023
6053aea
Fix undefined behavior.
nanasi880 Mar 28, 2023
1198389
merge #3790 into main
cyphar Apr 12, 2023
775a366
libcontainer/intelrdt: add basic "MON" groups support.
Jul 16, 2020
e6f2971
Address the review comments.
Creatone Apr 18, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
52 changes: 37 additions & 15 deletions .cirrus.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@ task:

host_info_script: |
uname -a
echo "-----"
# -----
cat /etc/os-release
echo "-----"
cat /proc/cpuinfo
echo "-----"
# -----
df -T
# -----
cat /proc/cpuinfo
install_libvirt_vagrant_script: |
apt-get update
apt-get install -y libvirt-daemon libvirt-daemon-system vagrant vagrant-libvirt
Expand All @@ -50,7 +50,9 @@ task:
mkdir -p -m 0700 /root/.ssh
vagrant ssh-config >> /root/.ssh/config
guest_info_script: |
ssh default 'sh -exc "uname -a && systemctl --version && df -T && cat /etc/os-release"'
ssh default 'sh -exc "uname -a && systemctl --version && df -T && cat /etc/os-release && go version"'
check_config_script: |
ssh default /vagrant/script/check-config.sh
unit_tests_script: |
ssh default 'sudo -i make -C /vagrant localunittest'
integration_systemd_script: |
Expand All @@ -68,12 +70,14 @@ task:
env:
HOME: /root
CIRRUS_WORKING_DIR: /home/runc
GO_VERSION: "1.17.3"
BATS_VERSION: "v1.3.0"
GO_VERSION: "1.19"
BATS_VERSION: "v1.8.2"
RPMS: gcc git iptables jq glibc-static libseccomp-devel make criu fuse-sshfs
# yamllint disable rule:key-duplicates
matrix:
DISTRO: centos-7
DISTRO: centos-stream-8
DISTRO: centos-stream-9

name: ci / $DISTRO

Expand All @@ -88,22 +92,36 @@ task:
case $DISTRO in
centos-7)
(cd /etc/yum.repos.d && curl -O https://copr.fedorainfracloud.org/coprs/adrian/criu-el7/repo/epel-7/adrian-criu-el7-epel-7.repo)
# EPEL is needed for jq and fuse-sshfs.
rpm -q epel-release || rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
# sysctl
echo "user.max_user_namespaces=15076" > /etc/sysctl.d/userns.conf
sysctl --system
;;
centos-stream-8)
yum config-manager --set-enabled powertools # for glibc-static
;;
centos-stream-9)
dnf config-manager --set-enabled crb # for glibc-static
dnf -y install epel-release epel-next-release # for fuse-sshfs
;;
esac
# Work around dnf mirror failures by retrying a few times.
for i in $(seq 0 2); do
sleep $i
yum install -y -q gcc git iptables jq glibc-static libseccomp-devel make criu fuse-sshfs && break
yum install -y $RPMS && break
done
[ $? -eq 0 ] # fail if yum failed

# Double check that all rpms were installed (yum from CentOS 7
# does not exit with an error if some packages were not found).
# Use --whatprovides since some packages are renamed.
rpm -q --whatprovides $RPMS
# install Go
curl -fsSL "https://dl.google.com/go/go${GO_VERSION}.linux-amd64.tar.gz" | tar Cxz /usr/local
PREFIX="https://go.dev/dl/"
# Find out the latest minor release URL.
eval $(curl -fsSL "${PREFIX}?mode=json" | jq -r --arg Ver "$GO_VERSION" '.[] | select(.version | startswith("go\($Ver)")) | .files[] | select(.os == "linux" and .arch == "amd64" and .kind == "archive") | "filename=\"" + .filename + "\""')
curl -fsSL "$PREFIX$filename" | tar Cxz /usr/local
# install bats
cd /tmp
git clone https://github.com/bats-core/bats-core
Expand Down Expand Up @@ -131,14 +149,18 @@ task:
systemctl restart sshd
host_info_script: |
uname -a
echo "-----"
# -----
/usr/local/go/bin/go version
# -----
systemctl --version
# -----
cat /etc/os-release
echo "-----"
cat /proc/cpuinfo
echo "-----"
# -----
df -T
echo "-----"
systemctl --version
# -----
cat /proc/cpuinfo
check_config_script: |
/home/runc/script/check-config.sh
unit_tests_script: |
ssh -tt localhost "make -C /home/runc localunittest"
integration_systemd_script: |
Expand Down
8 changes: 8 additions & 0 deletions .clang-format
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
# We use GNU indent from the Makefile to format C code in this project. Alas,
# there is no way to map indent options to clang-format style options in a way
# to achieve identical results for both formatters.
#
# Therefore, let's disable clang-format entirely.
DisableFormat: true
...
4 changes: 2 additions & 2 deletions .codespellrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
[codespell]
skip = ./vendor,./.git
ignore-words-list = clos,creat
skip = ./vendor,./.git,./go.sum
ignore-words-list = clos,creat,ro,complies
8 changes: 8 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# This file is used by shfmt. See https://EditorConfig.org

# This is a top-most EditorConfig file.
root = true

# Ignore the entire "vendor" directory.
[vendor/**]
ignore = true
54 changes: 54 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Forked from https://github.com/containerd/nerdctl/blob/v1.2.1/.github/ISSUE_TEMPLATE/bug_report.yaml
name: Bug report
description: Create a bug report to help improve runc
labels: kind/unconfirmed-bug-claim
body:
- type: markdown
attributes:
value: |
If you are reporting a new issue, make sure that we do not have any duplicates
already open. You can ensure this by searching the issue list for this
repository. If there is a duplicate, please close your issue and add a comment
to the existing issue instead.

When reporting a security issue, do not create an issue or file a pull request on GitHub.
See [`opencontainers/.github/SECURITY.md`](https://github.com/opencontainers/.github/blob/master/SECURITY.md).

- type: textarea
attributes:
label: Description
description: |
Briefly describe the problem you are having in a few paragraphs.
validations:
required: true

- type: textarea
attributes:
label: Steps to reproduce the issue
value: |
1.
2.
3.

- type: textarea
attributes:
label: Describe the results you received and expected
validations:
required: true

- type: textarea
attributes:
label: What version of runc are you using?
placeholder: runc --version
validations:
required: true

- type: textarea
attributes:
label: Host OS information
placeholder: cat /etc/os-release

- type: textarea
attributes:
label: Host kernel information
placeholder: uname -a
17 changes: 17 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# Forked from https://github.com/containerd/nerdctl/blob/main/.github/ISSUE_TEMPLATE/config.yml
blank_issues_enabled: true
contact_links:
- name: Ask a question (GitHub Discussions)
url: https://github.com/opencontainers/runc/discussions
about: |
Please do not submit "a bug report" for asking a question.
In most cases, GitHub Discussions is the best place to ask a question.
If you are not sure whether you are going to report a bug or ask a question,
please consider asking in GitHub Discussions first.
- name: Slack (opencontainers.slack.com)
url: https://communityinviter.com/apps/opencontainers/join-the-oci-community
# GitHub requires the `about` property to be set
about: Slack
- name: Mailing list
url: https://groups.google.com/a/opencontainers.org/forum/#!forum/dev
about: Mailing list
46 changes: 26 additions & 20 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,42 +7,47 @@ on:
tags:
- v*
branches:
- master
- main
- release-*
pull_request:
permissions:
contents: read

env:
# Don't ignore C warnings. Note that the output of "go env CGO_CFLAGS" by default is "-g -O2", so we keep them.
CGO_CFLAGS: -g -O2 -Werror

jobs:
test:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
go-version: [1.16.x, 1.17.x]
os: [ubuntu-20.04, ubuntu-22.04]
go-version: [1.19.x, 1.20.x]
rootless: ["rootless", ""]
race: ["-race", ""]
criu: [""]
include:
# Also test against latest criu-dev
- go-version: 1.17.x
rootless: ""
race: ""
criu: "criu-dev"
criu: ["", "criu-dev"]
exclude:
- criu: criu-dev
rootless: rootless
- criu: criu-dev
go-version: 1.19.x
- criu: criu-dev
race: -race
runs-on: ${{ matrix.os }}

steps:

- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: install deps
if: matrix.criu == ''
env:
REPO: https://download.opensuse.org/repositories/devel:/tools:/criu/xUbuntu_20.04
PREFIX: https://download.opensuse.org/repositories/devel:/tools:/criu/xUbuntu
run: |
# criu repo
REPO=${PREFIX}_$(echo ${{ matrix.os }} | sed 's/.*-//')
curl -fSsl $REPO/Release.key | sudo apt-key add -
echo "deb $REPO/ /" | sudo tee /etc/apt/sources.list.d/criu.list
sudo apt update
Expand All @@ -60,9 +65,9 @@ jobs:
rm -rf ~/criu

- name: install go ${{ matrix.go-version }}
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
stable: '!contains(${{ matrix.go-version }}, "beta") && !contains(${{ matrix.go-version }}, "rc")'
cache: false # https://github.com/actions/setup-go/issues/368
go-version: ${{ matrix.go-version }}

- name: build
Expand All @@ -71,7 +76,7 @@ jobs:
- name: install bats
uses: mig4/setup-bats@v1
with:
bats-version: 1.3.0
bats-version: 1.8.2

- name: unit test
if: matrix.rootless != 'rootless'
Expand All @@ -87,6 +92,7 @@ jobs:
sudo cp $HOME/rootless.key /home/rootless/.ssh/id_ecdsa
sudo cp $HOME/rootless.key.pub /home/rootless/.ssh/authorized_keys
sudo chown -R rootless.rootless /home/rootless
sudo chmod a+X $HOME # for Ubuntu 22.04

- name: integration test (fs driver)
run: sudo -E PATH="$PATH" script -e -c 'make local${{ matrix.rootless }}integration'
Expand All @@ -100,12 +106,12 @@ jobs:
# However, we do not have 32-bit ARM CI, so we use i386 for testing 32bit stuff.
# We are not interested in providing official support for i386.
cross-i386:
runs-on: ubuntu-20.04
runs-on: ubuntu-22.04

steps:

- name: checkout
uses: actions/checkout@v2
uses: actions/checkout@v3

- name: install deps
run: |
Expand All @@ -120,10 +126,10 @@ jobs:
sudo apt -q install libseccomp-dev libseccomp-dev:i386 gcc-multilib criu

- name: install go
uses: actions/setup-go@v2
uses: actions/setup-go@v4
with:
go-version: 1.x # Latest stable

- name: unit test
# cgo is disabled by default when cross-compiling
run: sudo -E PATH="$PATH" -- make GOARCH=386 CGO_ENABLED=1 localunittest
# See https://go-review.googlesource.com/c/go/+/421935
run: sudo -E PATH="$PATH" -- make GOARCH=386 CGO_CFLAGS=-fno-stack-protector localunittest
Loading