runc/libcontainer/cgroups
Kir Kolyshkin 5785aabc13 libct/cgroups: make isSubsystemAvailable v1-specific
This function is only called from cgroupv1 code, so there is no need
for it to implement cgroupv2 stuff.

Make it v1-specific, and panic if it is called from v2 code (since this
is an internal function, the panic would mean incorrect runc code).

Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com>
2020-06-16 12:40:04 -07:00
..
devices cgroups: add copyright header to devices.Emulator implementation 2020-05-15 11:29:51 +10:00
ebpf configs: use different types for .Devices and .Resources.Devices 2020-05-13 17:38:45 +10:00
fs libct/cgroups: fix m.paths map access 2020-06-15 18:30:16 -07:00
fs2 Merge pull request #2338 from lifubang/systemdcgroupv2 2020-06-15 18:01:13 -07:00
fscommon cgroups/fscommon: use errors.Is 2020-04-18 16:16:49 -07:00
systemd libct/cgroups: fix m.paths map access 2020-06-15 18:30:16 -07:00
cgroups.go fix path error in systemd when stopped 2020-06-02 18:17:43 +08:00
cgroups_test.go .travis.yml: add Fedora 31 vagrant box (for cgroup2) 2019-10-31 16:53:01 +09:00
cgroups_unsupported.go Move libcontainer into subdirectory 2015-06-21 19:29:15 -07:00
stats.go Add reading of information from cpuacct.usage_all 2020-05-05 08:51:12 +02:00
utils.go libct/cgroups: make isSubsystemAvailable v1-specific 2020-06-16 12:40:04 -07:00
utils_test.go cgroups: remove cgroup.Resources.CpuMax 2020-06-09 17:15:38 -07:00