diff --git a/go.mod b/go.mod index da73639a0..f304791ab 100644 --- a/go.mod +++ b/go.mod @@ -9,7 +9,7 @@ require ( github.com/containerd/nri v0.12.5 github.com/cyphar/filepath-securejoin v0.7.0 github.com/google/uuid v1.6.0 - github.com/moby/sys/devices v0.1.0 + github.com/moby/sys/devices v0.1.1 github.com/moby/sys/mountinfo v0.7.2 github.com/moby/sys/reexec v0.1.0 github.com/moby/sys/symlink v0.3.0 diff --git a/go.sum b/go.sum index d2727e274..3de7717a5 100644 --- a/go.sum +++ b/go.sum @@ -26,8 +26,8 @@ github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/knqyf263/go-plugin v0.9.0 h1:CQs2+lOPIlkZVtcb835ZYDEoyyWJWLbSTWeCs0EwTwI= github.com/knqyf263/go-plugin v0.9.0/go.mod h1:2z5lCO1/pez6qGo8CvCxSlBFSEat4MEp1DrnA+f7w8Q= -github.com/moby/sys/devices v0.1.0 h1:uaMrDm1U3h0AwUDNWeT5lBV40v0eayt+VuukRbYn5K4= -github.com/moby/sys/devices v0.1.0/go.mod h1:nIV6AO7t0DY2ObAm1GfL4AX9mBRqzxzHwGfvNCR9lfI= +github.com/moby/sys/devices v0.1.1 h1:BhY4BsFgUKIGVMgke3/CMrOCxy2RXUrl7SJwKh3VVV8= +github.com/moby/sys/devices v0.1.1/go.mod h1:nIV6AO7t0DY2ObAm1GfL4AX9mBRqzxzHwGfvNCR9lfI= github.com/moby/sys/mountinfo v0.7.2 h1:1shs6aH5s4o5H2zQLn796ADW1wMrIwHsyJ2v9KouLrg= github.com/moby/sys/mountinfo v0.7.2/go.mod h1:1YOa8w8Ih7uW0wALDUgT1dTTSBrZ+HiBLGws92L2RU4= github.com/moby/sys/reexec v0.1.0 h1:RrBi8e0EBTLEgfruBOFcxtElzRGTEUkeIFaVXgU7wok= diff --git a/vendor/github.com/moby/sys/devices/device_unix.go b/vendor/github.com/moby/sys/devices/device_unix.go index bd401d3b7..58c5c9aee 100644 --- a/vendor/github.com/moby/sys/devices/device_unix.go +++ b/vendor/github.com/moby/sys/devices/device_unix.go @@ -100,7 +100,8 @@ func GetDevices(path string) ([]*config.Device, error) { switch f.Name() { // ".lxc" & ".lxd-mounts" added to address https://github.com/lxc/lxd/issues/2825 // ".udev" added to address https://github.com/opencontainers/runc/issues/2093 - case "pts", "shm", "fd", "mqueue", ".lxc", ".lxd-mounts", ".udev": + // ".incus-mounts" added to address https://github.com/moby/sys/issues/260 + case "pts", "shm", "fd", "mqueue", ".lxc", ".lxd-mounts", ".udev", ".incus-mounts": continue default: sub, err := GetDevices(filepath.Join(path, f.Name())) diff --git a/vendor/modules.txt b/vendor/modules.txt index c92158f14..887dd2638 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -61,7 +61,7 @@ github.com/google/uuid # github.com/knqyf263/go-plugin v0.9.0 ## explicit; go 1.24.0 github.com/knqyf263/go-plugin/wasm -# github.com/moby/sys/devices v0.1.0 +# github.com/moby/sys/devices v0.1.1 ## explicit; go 1.24 github.com/moby/sys/devices # github.com/moby/sys/mountinfo v0.7.2