diff options
author | JP Kobryn <[email protected]> | 2023-03-22 12:47:53 -0700 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-03-22 15:11:06 -0700 |
commit | 830154cdc57971b06f81d4ffc39b868e3d7693de (patch) | |
tree | 49341537b04bcedddfc578730e56fe3167589932 /kernel/bpf/stackmap.c | |
parent | d9d93f3b61434bc18ec905eaad224407cce1a9e2 (diff) |
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 <[email protected]>
Tested-by: Eduard Zingerman <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'kernel/bpf/stackmap.c')
0 files changed, 0 insertions, 0 deletions