Files
runc/libcontainer/cgroups/fs2
Aleksa Sarai 2831fb5595 cgroup2: devices: handle eBPF skipping more correctly
In the past we incorrectly handled eBPF errors in two ways:

 1. We would only ignore errors if there was an allow rule in the list
    (this doesn't make sense because for security purposes we only care
    if a *deny* rule is being ignored). Arguably this is a security flaw
    but you would only get an error from bpf(2) in rare cases, and thus
    is not a big enough deal to go through security review.

 2. If we were in a rootless container we would still return an error
    even though bpf(2) is blocked for rootless containers.

Signed-off-by: Aleksa Sarai <cyphar@cyphar.com>
2021-02-05 18:13:06 +11:00
..
2020-10-05 17:08:09 -07:00
2020-10-01 18:36:56 +02:00
2020-09-30 23:41:07 +02:00
2020-10-05 14:07:15 -07:00
2020-10-05 14:07:15 -07:00
2020-10-05 17:08:09 -07:00
2020-10-05 17:08:09 -07:00
2020-10-05 14:07:15 -07:00