summaryrefslogtreecommitdiff
path: root/kernel/bpf/bpf_iter.c
diff options
context:
space:
mode:
authorYosry Ahmed <yosryahmed@google.com>2022-08-05 14:48:15 -0700
committerAlexei Starovoitov <ast@kernel.org>2022-08-09 09:11:41 -0700
commitf3a2aebdd6fb90e444d595e46de64e822af419da (patch)
tree6782153a9c2894e19d89e2bab7dd4326976342f6 /kernel/bpf/bpf_iter.c
parentfa96b24204af42274ec13dfb2f2e6990d7510e55 (diff)
cgroup: enable cgroup_get_from_file() on cgroup1
cgroup_get_from_file() currently fails with -EBADF if called on cgroup v1. However, the current implementation works on cgroup v1 as well, so the restriction is unnecessary. This enabled cgroup_get_from_fd() to work on cgroup v1, which would be the only thing stopping bpf cgroup_iter from supporting cgroup v1. Signed-off-by: Yosry Ahmed <yosryahmed@google.com> Acked-by: Tejun Heo <tj@kernel.org> Signed-off-by: Hao Luo <haoluo@google.com> Link: https://lore.kernel.org/r/20220805214821.1058337-3-haoluo@google.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/bpf_iter.c')
0 files changed, 0 insertions, 0 deletions