diff options
author | JP Kobryn <inwardvessel@gmail.com> | 2023-03-22 22:47:53 +0300 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-03-23 01:11:06 +0300 |
commit | 830154cdc57971b06f81d4ffc39b868e3d7693de (patch) | |
tree | 49341537b04bcedddfc578730e56fe3167589932 /kernel/bpf/bpf_task_storage.c | |
parent | d9d93f3b61434bc18ec905eaad224407cce1a9e2 (diff) | |
download | linux-830154cdc57971b06f81d4ffc39b868e3d7693de.tar.xz |
bpf/selftests: coverage for bpf_map_ops errors
These tests expose the issue of being unable to properly check for errors
returned from inlined bpf map helpers that make calls to the bpf_map_ops
functions. At best, a check for zero or non-zero can be done but these
tests show it is not possible to check for a negative value or for a
specific error value.
Signed-off-by: JP Kobryn <inwardvessel@gmail.com>
Tested-by: Eduard Zingerman <eddyz87@gmail.com>
Link: https://lore.kernel.org/r/20230322194754.185781-2-inwardvessel@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'kernel/bpf/bpf_task_storage.c')
0 files changed, 0 insertions, 0 deletions