1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/oci
Sebastiaan van Stijn 58c4c120a8
oci/caps: simplify, and remove types that were not needed
The `CapabilityMapping` and `Capabilities` types appeared to be only
used locally, and added unneeded complexity.

This patch removes those types, and simplifies the logic to use a
map that maps names to `capability.Cap`s

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
2021-08-04 11:25:55 +02:00
..
caps oci/caps: simplify, and remove types that were not needed 2021-08-04 11:25:55 +02:00
fixtures Fix permissions on oci fixtures files 2020-11-27 10:29:47 +07:00
defaults.go daemon, oci: remove LCOW bits 2021-07-27 13:35:59 +02:00
devices_linux.go replace uses of deprecated libcontainer/configs.Device 2021-06-02 17:55:51 +02:00
devices_linux_test.go replace uses of deprecated libcontainer/configs.Device 2021-06-02 17:55:51 +02:00
namespaces.go
oci.go reformat "nolint" comments 2021-06-10 13:03:42 +02:00
oci_test.go Fix daemon panic when starting container with invalid device cgroup rule 2021-01-22 16:02:19 +01:00
seccomp_test.go oci: add tests for loading seccomp profiles 2020-09-29 20:15:43 +02:00