mirror of
https://github.com/opencontainers/runc.git
synced 2026-07-11 14:13:58 +08:00
6b904f3e7e
(This is a cherry-pick of 2f1b6626f38c63ee37930267caa3a9bf57a2ea79.)
This fixes a regression in use of securejoin.MkdirAll, where multiple
runc processes racing to create the same mountpoint in a shared rootfs
would result in spurious EEXIST errors. In particular, this regression
caused issues with BuildKit.
Fixes: dd827f7b71 ("utils: switch to securejoin.MkdirAllHandle")
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
40 lines
1.3 KiB
Modula-2
40 lines
1.3 KiB
Modula-2
module github.com/opencontainers/runc
|
|
|
|
go 1.22
|
|
|
|
// Suggest toolchain 1.22.4 due to a fix in golang for libcontainer/nsenter/.
|
|
// For more info, see: #4233
|
|
// Note that toolchain does not impose a requirement on other modules using runc.
|
|
toolchain go1.22.4
|
|
|
|
require (
|
|
github.com/checkpoint-restore/go-criu/v6 v6.3.0
|
|
github.com/cilium/ebpf v0.16.0
|
|
github.com/containerd/console v1.0.4
|
|
github.com/coreos/go-systemd/v22 v22.5.0
|
|
github.com/cyphar/filepath-securejoin v0.3.5
|
|
github.com/docker/go-units v0.5.0
|
|
github.com/godbus/dbus/v5 v5.1.0
|
|
github.com/moby/sys/mountinfo v0.7.1
|
|
github.com/moby/sys/user v0.3.0
|
|
github.com/moby/sys/userns v0.1.0
|
|
github.com/mrunalp/fileutils v0.5.1
|
|
github.com/opencontainers/runtime-spec v1.2.0
|
|
github.com/opencontainers/selinux v1.11.0
|
|
github.com/seccomp/libseccomp-golang v0.10.0
|
|
github.com/sirupsen/logrus v1.9.3
|
|
github.com/syndtr/gocapability v0.0.0-20200815063812-42c35b437635
|
|
github.com/urfave/cli v1.22.14
|
|
github.com/vishvananda/netlink v1.1.0
|
|
golang.org/x/net v0.24.0
|
|
golang.org/x/sys v0.28.0
|
|
google.golang.org/protobuf v1.33.0
|
|
)
|
|
|
|
require (
|
|
github.com/cpuguy83/go-md2man/v2 v2.0.2 // indirect
|
|
github.com/russross/blackfriday/v2 v2.1.0 // indirect
|
|
github.com/vishvananda/netns v0.0.0-20191106174202-0a2b9b5464df // indirect
|
|
golang.org/x/exp v0.0.0-20230224173230-c95f2b4c22f2 // indirect
|
|
)
|