Files
runc/libcontainer/cgroups
Aleksa Sarai a3ca7b47fc cgroupv2: ebpf: check for BPF_F_REPLACE support and degrade gracefully
It turns out that the cilium eBPF library doesn't degrade gracefully if
BPF_F_REPLACE is not supported, so we need to work around it by treating
that case as we treat the more-than-one program case.

It also turns out that we weren't passing BPF_F_REPLACE explicitly, but
this is required by the cilium library (causing EINVALs).

Fixes: d0f2c25f52 ("cgroup2: devices: replace all existing filters when attaching")
Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
2021-06-08 13:23:56 +10:00
..
2021-06-01 12:17:27 -07:00
2021-06-01 12:17:27 -07:00
2021-04-29 15:30:12 -07:00
2021-01-19 18:02:11 +01:00
2021-06-01 12:17:27 -07:00
2021-06-01 12:17:27 -07:00