runc/libcontainer/configs
Aleksa Sarai b2bec9806f
cgroup: devices: eradicate the Allow/Deny lists
These lists have been in the codebase for a very long time, and have
been unused for a large portion of that time -- specconv doesn't
generate them and the only user of these flags has been tests (which
doesn't inspire much confidence).

In addition, we had an incorrect implementation of a white-list policy.
This wasn't exploitable because all of our users explicitly specify
"deny all" as the first rule, but it was a pretty glaring issue that
came from the "feature" that users can select whether they prefer a
white- or black- list. Fix this by always writing a deny-all rule (which
is what our users were doing anyway, to work around this bug).

This is one of many changes needed to clean up the devices cgroup code.

Signed-off-by: Aleksa Sarai <asarai@suse.de>
2020-05-13 17:38:45 +10:00
..
validate Add support for cgroup namespace 2018-10-31 10:51:43 -04:00
blkio_device.go libcontainer: add initial support for cgroups v2 2019-09-05 13:02:25 +02:00
cgroup_linux.go cgroup: devices: eradicate the Allow/Deny lists 2020-05-13 17:38:45 +10:00
cgroup_unsupported.go Rename cgroups_windows.go to cgroups_unsupported.go 2019-08-26 18:13:52 -04:00
config.go Add SCMP_ACT_LOG as a valid Seccomp action (#1951) 2019-09-26 11:03:03 -04:00
config_linux.go Clean up unix vs linux usage 2017-05-12 17:22:09 +01:00
config_linux_test.go Clean up unix vs linux usage 2017-05-12 17:22:09 +01:00
config_test.go libcontainer: Set 'status' in hook stdin 2018-11-14 06:49:49 -08:00
config_windows_test.go Windows: Refactor state struct 2015-10-26 14:45:20 -07:00
device.go Update runc for devices changes 2016-02-08 13:15:12 -08:00
hugepage_limit.go Adjust runc to new opencontainers/specs version 2015-10-03 12:25:33 +02:00
intelrdt.go libcontainer: intelrdt: add support for Intel RDT/MBA Software Controller in runc 2018-11-13 23:27:08 +08:00
interface_priority_map.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
mount.go config: Add new Extensions flag to support custom mount options in runc 2016-09-30 09:46:46 -07:00
namespaces.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
namespaces_linux.go libcontainer: implement CLONE_NEWCGROUP 2018-10-23 16:23:00 -04:00
namespaces_syscall.go Add support for cgroup namespace 2018-10-31 10:51:43 -04:00
namespaces_syscall_unsupported.go Fix go_vet errors 2017-01-06 10:20:27 +08:00
namespaces_unsupported.go Clean up unix vs linux usage 2017-05-12 17:22:09 +01:00
network.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00