diff options
author | Stanislav Fomichev <sdf@google.com> | 2022-04-26 01:04:48 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2022-04-26 03:03:57 +0300 |
commit | d9d31cf88702ae071bec033e5c8714048aa71285 (patch) | |
tree | 914c59d71150ae88802cc8b10d6d5d0d532fec6c /tools/firmware | |
parent | 246bdfa52f33ecfa52546ed67287de4eab165b2e (diff) | |
download | linux-d9d31cf88702ae071bec033e5c8714048aa71285.tar.xz |
bpf: Use bpf_prog_run_array_cg_flags everywhere
Rename bpf_prog_run_array_cg_flags to bpf_prog_run_array_cg and
use it everywhere. check_return_code already enforces sane
return ranges for all cgroup types. (only egress and bind hooks have
uncanonical return ranges, the rest is using [0, 1])
No functional changes.
v2:
- 'func_ret & 1' under explicit test (Andrii & Martin)
Suggested-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Stanislav Fomichev <sdf@google.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20220425220448.3669032-1-sdf@google.com
Diffstat (limited to 'tools/firmware')
0 files changed, 0 insertions, 0 deletions