containerd/vendor/github.com/opencontainers
Sebastiaan van Stijn 9bc8d63c9f
cri/server: use containerd/oci instead of libcontainer/devices
Looks like we had our own copy of the "getDevices" code already, so use
that code (which also matches the code that's used to _generate_ the spec,
so a better match).

Moving the code to a separate file, I also noticed that the _unix and _linux
code was _exactly_ the same (baring some `//nolint:` comments), so also
removing the duplicated code.

With this patch applied, we removed the dependency on the libcontainer/devices
package (leaving only libcontainer/user).

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-04-08 23:25:21 +02:00
..
go-digest Go mod vendor 2020-12-01 01:41:25 +08:00
image-spec Go mod vendor 2020-12-01 01:41:25 +08:00
runc cri/server: use containerd/oci instead of libcontainer/devices 2021-04-08 23:25:21 +02:00
runtime-spec update runc to v1.0.0-rc93 2021-02-04 16:13:30 +01:00
selinux remove "selinux" build tag 2020-12-15 20:05:25 +09:00